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 🙏

© 2026 – Pkg Stats / Ryan Hefner

hydroloop

v0.1.3

Published

Hydroloop - a developer-friendly hydration tracker for the terminal

Readme

Hydroloop 💧

A developer-friendly hydration tracker for the terminal. Stay hydrated while you code.

npm install -g hydroloop

Why Hydroloop?

  • Quick logging — Log water in seconds without leaving the terminal
  • Background reminders — Get notified to drink water at your preferred interval
  • Streak tracking — Build consistency with daily streaks
  • Fully offline — All data stored locally, no account needed
  • Customizable sounds — Choose from 8 different notification sounds

Quick Start

# Set your daily goal
hydroloop goal 2500

# Log water intake
hydroloop add 250

# Check your progress
hydroloop status

# Start background reminders
hydroloop start

Commands

Logging Water

# Log water (supports ml and L)
hydroloop add 250        # 250ml
hydroloop add 500ml      # 500ml
hydroloop add 1L         # 1000ml
hydroloop add 1.5L       # 1500ml

Viewing Progress

# Today's status with progress bar
hydroloop status

# Daily summary report
hydroloop summary

# View streaks
hydroloop streak

Example output:

Hydration Status
----------------
Goal: 2500ml
Consumed: 1200ml
Remaining: 1300ml

Progress:
█████████░░░░░░░░░░░ 48%

Settings
--------
Reminder: every 30 minutes
Sound: Drop 2 (ON)
Service: Running ✓

Setting Goals

# Set daily goal
hydroloop goal 3000

# Get personalized recommendation based on weight
hydroloop recommend

Reminders

# Start background reminders (survives terminal close)
hydroloop start

# Stop reminders
hydroloop stop

# Set reminder interval (in minutes)
hydroloop reminder 30

When reminders are running, you'll get:

  • Desktop notifications
  • Sound alerts
  • The service runs in the background until you stop it

Sound Configuration

# List all available sounds
hydroloop sound list

# Set reminder sound
hydroloop sound set hydroloop_special

# Test a sound
hydroloop sound test
hydroloop sound test hydroloop_goal

# Set test duration (in seconds)
hydroloop sound duration 10

# Enable/disable sounds
hydroloop sound on
hydroloop sound off

Available sounds:

  • hydroloop_1 through hydroloop_5 — Water drop variations
  • hydroloop_goal, hydroloop_goal_2 — Goal reached celebrations
  • hydroloop_special — Special notification

Data Storage

All data is stored locally:

| OS | Location | |----|----------| | macOS | ~/Library/Preferences/hydroloop-nodejs/config.json | | Linux | ~/.config/hydroloop-nodejs/config.json | | Windows | %APPDATA%/hydroloop-nodejs/config.json |

Stored data:

  • Daily goal and logs
  • Streak history
  • Sound preferences
  • Reminder interval
  • Weight (for recommendations)

Requirements

  • Node.js 18+
  • macOS, Linux, or Windows

Platform Notes

macOS (Apple Silicon)

For desktop notifications, install:

brew install terminal-notifier

Windows

For sound playback, install one of these audio players and add to PATH:

  • mpg123 (recommended)
  • Or sounds will fall back to terminal bell

Linux

Most distros have audio players pre-installed (aplay, mpg123, etc.).

Examples

Morning routine

hydroloop goal 2500
hydroloop reminder 45
hydroloop start

Quick check

hydroloop status

End of day

hydroloop summary
hydroloop stop

Troubleshooting

Reminders not showing notifications?

On macOS Apple Silicon, install the native notifier:

brew install terminal-notifier

No sound playing?

Make sure your system audio is working and sounds are enabled:

hydroloop sound on
hydroloop sound test

Check if reminders are running

hydroloop status
# Look for: Service: Running ✓

Links