notion-toolset

command module
v0.0.0-...-18e72ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 23 Imported by: 0

README

Notion Toolset

A set of tools to automate my Notion workflow using Notion API and GitHub Action.

Build with dstotijn/go-notion.

Setup

  • Follow the official guide 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:
    • 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL