Git Product home page Git Product logo

notion-mind's Introduction

notion mind

  1. synchronize with your notion.
  2. notion doc -> md -> mind html
  3. custom mindmap in notion

example:

Deploy

Deploy with Vercel

on server:

cp .env.example .env
# edit .env
yarn start

usage

  1. select page to you integrations
  2. copy page id
  3. create link
    • mind page: <you site url>/markmap/<page id>
      • you can disable cache with query ?disableCache=true
    • api: <you site url>/api/page2md?pageId=<page id>

Env

# notion Integration Secret
NOTION_TOKEN=xx
# cache dir
CACHE_FILE_DIR='cache/dir'
# file top division
CACHE_FILE_DIVISION="----##==========-----info-----==========##----"
# cache enable 1 hour
CACHE_DURATION=36000000

Cache File

examples.md

----##==========-----info-----==========##----
expired: 1709084988674
timestamp: 1709048988674
----##==========-----info-----==========##----

# demo

- this is a demo page

Getting Started

run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Base On

Create Notion Token

  1. https://www.notion.so/my-integrations
  2. create integrations

example in notion

image

notion-mind's People

Contributors

theone1006 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.