Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pomo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pomo

Command-line timer, useful for Pomodoros.

Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
8
100%
Maintainers
1
Weekly downloads
 
Created
Source

Pomo.js

$ npm install -g pomo
$ pomojs --help

Screenshot

Build Status NPM version

Get started

$ pomojs                              # Start a timer
$ pomojs "Conquer the world"          # Reason (great if you're logging)
$ pomojs -w 30                        # --work for 30 minutes
$ pomojs -b 12                        # --break for 12 minutes
$ pomojs --help

Features

  • Ridiculously simple (just type pomojs)
  • Configurable work and break durations (pomojs --work 10 --break 2)
  • Announces via text-to-speech ("5 minutes to go!")
  • Growls (via growlnotify)
  • No support for long breaks (this is a feature. problem?)
  • Tmux support (status bar integration)
  • Optional logging

Requirements

  • node.js and OSX
  • growlnotify

Tips

Tmux integration

Just add this to ~.tmux.conf: (works almost exactly like in pomo.rb)

 set-option -g status-right '#(cat ~/.pomo_stat)'

...then invoke it with pomojs -t.

Logging

Invoke it with pomojs -l ~/.pomo.log to log any pomodoros. Log file looks like this:

[2013-06-17 mon]
6:14am - 6:44am = work on things (25m + 5m)
7:05am - 7:32am = do great stuff (25m + 2m, stopped)

[2013-06-18 tue]
6:14am - 6:44am = eat pizza (25m + 5m)

Saving your settings

Add this to your shell config, so that the next time you can invoke pomojs with preset settings:

# ~/.bash_profile
alias pomo="pomojs --log ~/.pomo.log --tmux"

Even add more presets:

# long-break pomodoro
alias longpomo="pomo -b 20"

# 10-minute pomodoro
alias minipomo="pomo -w 10"

Also see

Acknowledgements

MIT

Keywords

timer

FAQs

Package last updated on 19 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts