Notion Gardener is a minimalist tool designed to help you manage your Notion to-do lists with ease. This Rust-based application automates the pruning of completed tasks, keeping your digital garden clean and tidy.
Ensure you have Rust installed on your machine. If you don't, follow the official Rust installation guide.
- Clone this repository to your local machine.
- Navigate into the cloned directory.
- Run
cargo build --release
to build the project.
Run the application using the command: cargo run --release
PAGE_ID
: The ID of the Notion page you want to use.API_TOKEN
: Your Notion integration token.DELETE_MARKER
: The marker used to identify which to-dos should be deleted (e.g., "🗑️").
The Notion Gardener queries your specified Notion page for to-do items. It checks each item for two things:
- The item is marked as completed
- The item contains the delete marker
If it finds both of these to be true, the item will be pruned from the list, keeping your workspace tidy and focused.
Happy gardening! 🌱