A command line tool to download your Notion's database and save it locally into SQLite.
You need Notion API key and database ID you want to download.
notion-into-sqlite --api-key <NOTION_API_KEY> --database-id <NOTION_DATABASE_ID>
For more detail, $ notion-into-sqlite --help
shows available options.
Using Eget, which enables you to easiliy get pre-built binaries, is the most quick way to install.
eget FujiHaruka/notion-into-sqlite
You can directly download binaries from Releases.
Or you can install via cargo.
cargo install notion-into-sqlite
Release is managed by GitHub Actions. When a new tag is created, workflows for release will be triggered. Cross pre-built binaries will be uploaded to the release page, and a new version of crate will be released.