Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhuochun/notion-toolset
🔩 A set of Notion automation tools using the Notion API
https://github.com/zhuochun/notion-toolset
notion notion-ai notion-api notion-automation notion-integrations
Last synced: 13 days ago
JSON representation
🔩 A set of Notion automation tools using the Notion API
- Host: GitHub
- URL: https://github.com/zhuochun/notion-toolset
- Owner: zhuochun
- License: mit
- Created: 2022-05-07T04:11:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T02:41:53.000Z (3 months ago)
- Last Synced: 2024-08-27T04:10:35.409Z (3 months ago)
- Topics: notion, notion-ai, notion-api, notion-automation, notion-integrations
- Language: Go
- Homepage:
- Size: 72.3 KB
- Stars: 29
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Notion Toolset
A set of tools to automate my [Notion](https://www.notion.so/) workflow using [Notion API](https://developers.notion.com/reference) and GitHub Action.
Build with [dstotijn/go-notion](https://pkg.go.dev/github.com/dstotijn/go-notion).
## Setup
- Follow [the official guide](https://developers.notion.com/docs/getting-started) to create your own Notion integration.
- Take note of your Notion API token somewhere.
- Share your databases with the integration afterwards.
- Create a new GitHub repo:
- Setup your Notion API token:
- Go `Settings` > `Secrets` > `Actions`.
- Create a `New repository secret`, using the name `NOTION_TOKEN` and the value of the actual token.
- Setup your GitHub Actions:
- Follow [the official guide](https://docs.github.com/en/actions/quickstart).
- Refer to `example/workflow/` for examples.
- Setup your notion-toolset Configs:
- You need to create yaml config files for each tool and use them with `--config=path/to/config.yml`.
- Refer to `example/configs/` for examples.## Tools
- `--cmd=daily-journal`: Create empty daily pages (YYYY-MM-DD) in a database
- `--cmd=weekly-journal`: Create empty weekly pages (YYYY-MM-DD/YYYY-MM-DD) in a database
- `--cmd=duplicate`: Find duplicated pages with a same titles in a database, and write them inside a block
- `--cmd=flashback`: Resurface some random pages in a database, and write them inside a block/or today's journal page
- `--cmd=collector`: Find new pages that have not been collected, and write them inside a block
- `--cmd=export`: Export/backup pages in a database to markdown files (text and images)
- `--cmd=llm`: Run a GPT prompt on a page content