npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

pomodoro-intrusive

v0.0.3

Published

Intrusive commandline pomodoro utility that locks you out of your screen!

Downloads

9

Readme

pomodoro-intrusive

NOTE: This is a work in progress. Please check back for when there is a release.

Sgt. Pomodoro

pomodoro-intrusive is a cross-platform utility that enforces the pomodoro discipline rather forcefully: by locking up your screen! Currently, it is available for Linux, OSX and Windows.

Overview

Here's what it does:

  1. On starting pomodoro-intrusive, it forks off a background process called the pomodoro-nag.
  2. pomodoro-nag waits for a specified time time of work (default: 25 mins)
  3. It then locks your screen! (Basically, shows a full screen window that is always on top of other windows.) You could try closing this, but...
  4. During the duration of the break period (default: 5 mins), it repeatedly re-launches the lock screen window if it is closed. Hey, it's not called intrusive for nothing!
  5. After the break period, it opens up your screen. But that's not all...
  6. After unlocking your screen, it keeps monitoring for mouse/keyboard activity. If it doesn't detect any, it is most probably because you left your workstation (and are wasting time checking your Twitter feed using your phone). So helpfully, pomodoro-nag periodically plays a sound alerting you to GET BACK TO WORK!
  7. Once it detects a few keystrokes/mouse activity, it closes the screen lock and resumes the work timer.
  8. Rinse and repeat cycle.

Motivation

  • Studies show that sitting for prolonged periods of time has a terrible effect on your lifespan. Taking frequent breaks by getting up and moving around significantly alleviates the harms of sitting.
  • This was especially significant in my case, since I was struggling with back issues. Frequent breaks were made mandatory by my physio.
  • An ideal work discipline that helps with this is the 'pomodoro' technique.
  • Most pomodoro workflow utilities are non-intrusive... to the point where you forget about them. This was a deal breaker for me since I just tune out the subtle notifications in my taskbar telling me to go take a break.
  • Moreover, these pomodoro utilities need to be manually restarted when you resume work. Most of the time, I just used to forget to do that.
  • pomodoro technique is awesome, but the tools available to enforce this were far from adequate.
  • This tool is an attempt at solving these problems and enforcing a proper pomodoro discipline.

Installation

Pre-requisites

  • node(v4.7+) with npm (On Ubuntu: sudo apt-get install nodejs)

Download app from npm

npm install -g pomodoro-intrusive

Running

pomodoro-intrusive start            # Starts the pomodoro nag process
pomodoro-intrusive stop             # Terminates the pomodoro nag process
pomodoro-intrusive status           # Prints current pomodoro nag status

In the Pipeline but not yet implemented

pomodoro-intrusive restart:work     # Restarts the work time
pomodoro-intrusive restart:break    # Restarts the break time

Configuration

  • Configuration of the parameters such as the pomodoro activity intervals can be done by editing <installation_dir>/dist/pomodoroConfig.json.

Roadmap

  • Standalone installers/zip packages for Windows and OSX.
  • Systray icon and menu to perform the various actions currently accessible only from commandline.
  • GUI to configure options rather than having to edit the configuration files manually.

Credits

  • Sgt.Pomodoro graphic designed by Radhika Ayyangar