Notion Gen

Notion CLI utility for generating pages using notion api.

https://github.com/burhanrashid52/notion-gen

What problem does this solve?

Last year I started bullet journaling in notion. So if I want to plan something for a week or month then I need to create pages with date names and set each date manually in the Date column. This was a repetitive and boring task for me hence I create this CLI utility.

Installation

npm install @burhanrashid52/notion-gen@0.0.2

Setup

First, use init command to setup your notion secret token. It’s save token locally.

notion-gen init

Generate Dates

notion-gen generate-dates <startDate> <endDate>

To generate dates we need to provide dates in yyyy-mm-dd format. After running this command it will ask for databaseid and date column name.

Site Footer