This script allows you to quickly create new Notion pages for your databases.
Example: I use a Notion database as a task tracker for my business. With Rofi-Notion and some key bindings, I can quickly create a new entry in my Notion database without the hassle of waiting and navigating the slow Notion interface.
demo.mp4
- Python >= 3.7
- A Notion integration with read and write access to the desired databases.
yay -S rofi-notion
pip install rofi-notion
Check if the installation was successful
rofi-notion -h
Get your API_SECRET
by creating a new Notion integration.
rofi-notion set-creds
# Then paste your creds
rofi-notion link
# Follow instructions
rofi-notion run $YOUR_DB_NAME
Simply add a similar line to your i3 config file.
bindsym $mod+Insert exec rofi-notion run $YOUR_DB_NAME
Default config destination is $XDG_CONFIG_HOME/rofi-notion
or $HOME/.config/rofi-notion
if $XDG_CONFIG_HOME
is not set.
Use this command to run the CLI locally.
python3 stub.py
Do not forget to bump versions in pyproject.toml
and PKGBUILD
.
Run make
to publish a new version.
Git tag the new version and push it. Then publish the automatically created Draft release.
git tag vX.X.X
git push --tags
First publish new release on GitHub, then run make aur
.