Skip to main content

Rofi-Notion

wakatime Maintainability PyPi version

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.

https://user-images.githubusercontent.com/37625778/172062053-0332ab05-2782-482b-97ee-98d33854e58d.mp4

Requirements

  • Python >= 3.7
  • A Notion integration with read and write access to the desired databases.

Installation

For archlinux users (AUR package)

yay -S rofi-notion

AUR package details

For everyone else

pip install rofi-notion

Pypi package details

Setup

Check if the installation was successful

rofi-notion -h

1. Add your Bot Notion secret

Get your API_SECRET by creating a new Notion integration.

rofi-notion set-creds
# Then paste your creds

2. Link your first database

rofi-notion link
# Follow instructions

3. Run rofi-notion

rofi-notion run $YOUR_DB_NAME

Note: When filling in fields, press Escape to skip optional fields. Required fields (like title) cannot be skipped.

Add i3 bindings

Simply add a similar line to your i3 config file.

bindsym $mod+Insert exec rofi-notion run $YOUR_DB_NAME

Config

Default config destination is $XDG_CONFIG_HOME/rofi-notion or $HOME/.config/rofi-notion if $XDG_CONFIG_HOME is not set.

Development

Use this command to run the CLI locally.

python3 stub.py

Publish

Do not forget to bump versions in pyproject.toml and PKGBUILD.

PyPi

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

AUR

First publish new release on GitHub, then run make aur.

Metadata

Release files for rofi-notion 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rofi-notion 2.1.2
File Size Uploaded
rofi_notion-2.1.2.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rofi-notion 2.1.2
File Interpreter ABI Platform
rofi_notion-2.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / rofi_notion-2.1.2.tar.gz

Download URL rofi_notion-2.1.2.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
22fc3797cd6fda6f4bd13bdeb4a5e10408754c7a30d0368da85229e0b59c91b7
BLAKE2b-256 checksum
How to use checksums
dd4a00c64359ff011d48b52d5a1a5643e9ec8216a9f5073e5bb69ba940f008e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / rofi_notion-2.1.2-py3-none-any.whl

Download URL rofi_notion-2.1.2-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05b4ec5d05248ea17e7bb124125f2922d42b4a58800686af1d98de2fa80965d7
BLAKE2b-256 checksum
How to use checksums
cfa99455273e7d81a5c2daae25ad177d6e279adbb0419951b4f97dbff0188af3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page