{"id":15019684,"url":"https://github.com/mindeng/notion-async","last_synced_at":"2025-04-09T19:50:32.653Z","repository":{"id":255444105,"uuid":"852138178","full_name":"mindeng/notion-async","owner":"mindeng","description":"A notion sync tool, in `async` style.","archived":false,"fork":false,"pushed_at":"2024-10-07T04:01:44.000Z","size":230,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T21:45:51.017Z","etag":null,"topics":["notion","notion-api","notion-cli","notion-client","notion-sdk","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mindeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-04T09:38:02.000Z","updated_at":"2025-02-19T19:47:43.000Z","dependencies_parsed_at":"2025-02-15T18:42:05.750Z","dependency_job_id":null,"html_url":"https://github.com/mindeng/notion-async","commit_stats":null,"previous_names":["mindeng/notion-async"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindeng%2Fnotion-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindeng%2Fnotion-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindeng%2Fnotion-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindeng%2Fnotion-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mindeng","download_url":"https://codeload.github.com/mindeng/notion-async/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103848,"owners_count":21048241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notion","notion-api","notion-cli","notion-client","notion-sdk","rust"],"created_at":"2024-09-24T19:53:53.250Z","updated_at":"2025-04-09T19:50:32.630Z","avatar_url":"https://github.com/mindeng.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# notion-async\n\nA notion sync tool, in `async` style.\n\n![screenshot](images/screenshot.png)\n\n## Usage\n\nJust set the following environment variables (`.env` file is also supported):\n\n- `NOTION_TOKEN`: Your notion integration token, can get from: [notion\n  integrations](https://www.notion.so/my-integrations)\n- `NOTION_ROOT_ID`: The root notion page/database ID which you want to sync.\n  The tool will sync all children pages/databases/comments into a sqlite db\n  file, *recursively*. You can get the ID from any notion page/database link.\n  \nThen run `cargo run sync`, everything under the `NOTION_ROOT_ID` will be\nsynchronized into `notion.db` (can be changed by command line argument).\n\nYou can also set the token \u0026 id in the command line arguments, please refer to\nthe help message.\n\n```\nUsage: notion-async [OPTIONS] \u003cCOMMAND\u003e\n\nCommands:\n  sync  Sync all pages/databases/comments into db, recursively\n  help  Print this message or the help of the given subcommand(s)\n\nOptions:\n      --token \u003cTOKEN\u003e  Notion integration token, can get from: https://www.notion.so/my-integrations. If it's not set, will read from env var NOTION_TOKEN\n      --db \u003cFILE\u003e      Sqlite database file path [default: notion.db]\n  -h, --help           Print help\n  -V, --version        Print version\n```\n\n## Roadmap\n\nThe features will be implemented one by one in order.\n\n- [x] Basic notion async API (`notion-async-api` crate)\n- [x] Sync into sqlite database\n- [ ] Download files/images in notion pages\n- [ ] Simple query\n- [ ] Full-Text search\n- [ ] Export as markdown files\n- [ ] Dockerize\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindeng%2Fnotion-async","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindeng%2Fnotion-async","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindeng%2Fnotion-async/lists"}