Skip to content

A tool to record your activities into Notion db via CLI

License

Notifications You must be signed in to change notification settings

Tardigrada777/focus-tracker

Repository files navigation

Focus Tracker CLI

Notion setup

Create table with next columns:

  1. Task (title)
  2. Area (select)
  3. Activities (select)
  4. Minutes (number)
  5. Hours (formula based on minutes) (optional)
  6. ... (optional)

Env setup

  1. Go to notion developers website and create new integration. Copy secret key.
  2. Copy database id

Create and fill .env

cp .env.sample .env
# .env
DATABASE_ID=<datablase id>
NOTION_SECRET_KEY=<your secret key>

Install deps and build

yarn
yarn build

Log focus session command

# start
./bin/run task activity="Activity name" area="Area name"

#...time...

# stop
./bin/run task activity="Activity name" area="Area name"

About

A tool to record your activities into Notion db via CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published