- Fetches quotes directly from your Notion database using the Notion API
- Supports multiple categories (tabs) and widget sizes
- Customizable widget parameters for category, size, and quote selection
- Uses color pairs from local JSON for styling
- Refreshes quotes hourly or daily
- Open
NotionQuotes.jsin Scriptable. - Replace
YOUR_NOTION_INTEGRATION_TOKENandYOUR_NOTION_DATABASE_IDwith your own values. - (Optional) Add a
.source/dark_theme_color_pairs.jsonfile for custom color themes.
- Category: Choose a category (e.g.,
zen,kafka,gita, etc.) - Size:
s(small),m(medium),l(large) - Index: Show a specific quote by index (e.g.,
3)
Example parameter:
zen,m,5 (shows the 5th quote from the zen category in medium size)
- Add a Scriptable widget to your Home Screen.
- Select the
NotionQuotes.jsscript. - Set the widget parameter as desired.
- Make sure your Notion integration is shared with your database.
- Double-check your token and database ID.
- If no quotes appear, verify your Notion property names match those in the script's
NOTION_PROPERTY_MAP.
For advanced configuration, see comments at the top of the script.