usage: second_brain.py [-h] [--today] [--days DAYS] [--reschedule] [--force]
options:
-h, --help show this help message and exit
--today start scheduling events today
--days DAYS number of days to schedule events
--reschedule reschedule events if already scheduled
--force don't ask for confirmation before rescheduling events
- Python 3.7+ (tested with python 3.11)
- installation of requirements
pip install -r reqirements.txt
- bashrc with API integration setup
# File: ~/.bashrc
standard file contents...
...
export GOOGLE_CREDENTIALS_BASE_DIR="/home/user/.second_brain_credentials"
export NOTION_API_KEY="<< notion api key>>"
export NOTION_TASK_LIST="<< notion task list id >>"
export NOTION_PROJECTS_LIST="<< list of notion projects >>"
export SCHEDULING_CALENDAR_ID="<< schedule calendar id >>"
export WORK_CALENDAR_ID="<< work calendar id >>"
- Notion API Integration
- G-Cal API Integration
- Notion/G-Cal Sync
- Add events formatted using worl block as title and content as event description
- Adding Calendar Events from Notion that are not in google (gcal id is empty)
- Rescheduling events option
- Ability to choose start/end range for days
- Dont schedule in the past
- Beter Optimization
- Finding better start times?
- Gradient Descent using old calendar data?
- Total number of hours can be split up into blocks?
- Arbitrary timezones