Notionelli
Javascript script to prefill your Week database.
Install / Use
/learn @alessandrobelli/NotionelliREADME
PREFILL YOUR WEEK DATABASE 🗓️
Use this to create your week and months pages in your Notion database. This is meant to fill the calendar for you to just create the daily pages.
Requirements
- Node Js installed in your computer.
- Create a Notion Integration
- Your Year database must have next year already created.
- You don't need to have the months created in advance, the script will create them for you.
- Create a .env file, or use the empty copy provided, customizing the following
- NOTION_DATABASE_WEEKS* : the id of your empty weeks database
- NOTION_DATABASE_MONTHS* : the id of your months database
- NOTION_KEY* : your notion secret
- ICON : the url of the icon you want to use
- LAST_WEEK_2021_ID : the last week of 2021
- DATES_NAME* : the name of the dates property in your week and month database
- WEEK_BEFORE_NAME : the name of the "week before" property in your week database - not mondatory
- MONTH_NAME* : the name of the month property in your week database
- EMOJI : the emoji you want to use in the week database. ICON must be empty for this to work.
- YEAR_NAME: the name of the year property in your month database
- DATABASE_YEARS_ID: the id of your years database
- Months database with prefilled months in the format "Month name + year" (January 2023). The script tries to create missing months and attached it to the next year. You need to create the year in advance.
- Weeks database with the following properties:
dateswith the type datemonthas a relationship to your month databaseweek beforeas a relationship to the week database itself
* MANDATORY
Usage
- open terminal on macOS or power-shell on Windows.
npm installnpm startwill work if everything is setup correctly. You'll start to see the weeks popup! ✨
Security
If you discover any security related issues, please email alessandrobelli90@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Skills
notion
345.4kNotion API for creating and managing pages, databases, and blocks.
feishu-drive
345.4k|
things-mac
345.4kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
345.4kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
