A system that aims to sync a markdown file on the file system with a notion document
- Create an internal for your workspace trough integration https://www.notion.so/my-integrations.
- Get the secret
- Create a page in your workspace
- Add your earlier created integration to the page
- Get the page id by the url
notion.so/${title}-${page_id}?{query_params}
cargo run -- notion_token ${token} notion_page_id ${page_id} watch_path ${path_to_file} ext ${ext1} ext ${ext2}
e.g.
cargo run -- notion_token secret_Loijfs123jhpaw notion_page_id 189fabe13b2a watch_path /home/user/notes ext md ext txt