{"id":17026547,"url":"https://github.com/stackclash/exobrain-util","last_synced_at":"2026-05-05T02:34:08.182Z","repository":{"id":65742789,"uuid":"598687628","full_name":"Stackclash/exobrain-util","owner":"Stackclash","description":"A CLI tool to help automate my second brain","archived":false,"fork":false,"pushed_at":"2023-02-07T16:13:41.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T19:16:41.497Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stackclash.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-02-07T16:04:21.000Z","updated_at":"2023-02-07T16:07:38.000Z","dependencies_parsed_at":"2023-02-19T20:01:42.657Z","dependency_job_id":null,"html_url":"https://github.com/Stackclash/exobrain-util","commit_stats":null,"previous_names":["stackclash/exobrain-util"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Stackclash/exobrain-util","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stackclash%2Fexobrain-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stackclash%2Fexobrain-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stackclash%2Fexobrain-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stackclash%2Fexobrain-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stackclash","download_url":"https://codeload.github.com/Stackclash/exobrain-util/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stackclash%2Fexobrain-util/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32633271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T07:33:23.049Z","updated_at":"2026-05-05T02:34:08.161Z","avatar_url":"https://github.com/Stackclash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# exobrain-util\n\nThis project is a command line utility to help automate parts of my second brain (exobrain) in Notion.\n\n## Usage\nThe CLI requires a Notion integration secret to connect to Notion through the API. You can create one [here](https://www.notion.so/my-integrations).\n\n`node exobrain-util.js [options] [command]`\n\n```bash\nUsage: exobrain-util [options] [command]\n\nCLI to help automate aspects of my exobrain in Notion\n\nOptions:\n  -V, --version                               output the version number\n  -n, --notion-secret \u003csecret-value\u003e          Required: Notion integration secret (env: NOTION_SECRET)\n  --reviews-id \u003cReviews DB ID\u003e                Required: The Notion database id of the Reviews database (env: REVIEWS_DB_ID)\n  --daily-tracking-id \u003cDaily Tracking DB ID\u003e  Required: The Notion database id of the Daily Tracking database (env: DAILY_TRACKING_DB_ID)\n  -h, --help                                  display help for command\n\nCommands:\n  daily [options] [date]                      Create a new record in Daily Tracking\n  review [options] [date]                     Create a weekly, monthly, and quarterly review if they do not exist\n  help [command]                              display help for command\n```\n\n## Available Actions\nCurrently there are two available commands: `daily` and `review`.\nBoth of these commands will not create new records if it finds that one already exists.\n\n### Daily Command\nThe `daily` command takes a date argument and creates a record in the Daily Tracking Notion Database. After the new record is created or an existing one is found for the given date It connects it to the appropriate Weekly Review record. If a Weekly Review record is not found one is created.\n\n```bash\nUsage: exobrain-util daily [options] [date]\n\nCreate a new record in Daily Tracking\n\nArguments:\n  date         Date string formatted as YYYY-MM-DD (default: \"2023-02-06T17:37:13.955Z\")\n\nOptions:\n  --no-review  Skip connecting weekly review to new Daily Tracking Record\n  -h, --help   display help for command\n```\n\n### Review Command\nThe `review` command sets up the hierarchy of Reviews in my Notion workspace. There are three different types: `weekly`, `monthly`, and `quarterly`. This command creates Review records of the type you specify unless one is already found. It then connects them together as `weekly-\u003emonthly-\u003equarterly`. If you need to connect two records together ie. weekly and monthly, but they already exists run: `node exobrain-util.js review [date] -t weekly monthly` and it will find these two records and connect them.\n\n```bash\nUsage: exobrain-util review [options] [date]\n\nCreate a weekly, monthly, and quarterly review if they do not exist\n\nArguments:\n  date                  Date string formatted as YYYY-MM-DD (default: \"2023-02-06T17:42:16.931Z\")\n\nOptions:\n  -t, --type [type...]  The type of Review to create (choices: \"weekly\", \"monthly\", \"quarterly\", default: [\"weekly\",\"monthly\",\"quarterly\"])\n  -h, --help            display help for command\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackclash%2Fexobrain-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackclash%2Fexobrain-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackclash%2Fexobrain-util/lists"}