Focus
Focus is the tiny cli pomodoro application. After pomodoro has eaten, your OS fires the notification. (Mac OS tested).
Read more about tech in wikipedia
Installation
npm install -g focusapp-cli
Usage
Run focus
to start. You can change configuration in ~/.focus.json
Configuration file will create after first launch. Configuration path is ~/.focus.js
Database saves in ~/.focus.db
.
Options:
- --help, -h
- report
- list
- --version, -v
shell
Example # Report information about today, week and month $ focus report# It's time for work! $ focus# Get last 10 focuses $ focus list
Roadmap
- Report show today tasks
- Report show heatmap of tasks of the month
- Set configaration through the args, not only config file
- Autocomplete tasks title
For Developers
Preparing...
- fork this repo
- yarn
- node.js main.js
Run tests npm test
Run linting: npm run lint
or xo
Thank you.
Use inside tmux session
When using focus within a tmux session, Mac OS notifications doesn't work. This can be solved by following the steps described in this comment: https://github.com/julienXX/terminal-notifier/issues/115#issuecomment-104214742