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 🙏

© 2025 – Pkg Stats / Ryan Hefner

chronoscribe

v0.1.2

Published

A unified local-dev log aggregator

Readme

Chronoscribe

npm version npm downloads License: MIT Node.js Version GitHub

A Unified Local-Dev Log Aggregator

The Gap: When running a modern stack locally (e.g., docker-compose with frontend, backend, database, and Redis), your terminal becomes a chaotic "wall of text." Debugging race conditions across services is a nightmare of scrolling.

The Solution: A lightweight web-based dashboard that aggregates logs from multiple local sources into a single, filterable timeline.

Chronoscribe Architecture

Features

  • Unified Timeline: See logs from all services interleaved chronologically
  • Powerful Filtering: Filter by source, log level, or text search
  • Source Color Coding: Each source gets a distinct color for easy identification
  • Regex Alerting: Get sound or browser notifications when patterns match
  • Virtualized List: Handle thousands of logs without performance issues
  • Dark Theme: Easy on the eyes for long debugging sessions

Quick Start

1. Run with npx (No Installation Required)

Start the dashboard server:

npx chronoscribe --serve
# Opens http://localhost:3211

2. Pipe Your Logs

In other terminal windows, pipe your application logs to Chronoscribe:

# Frontend
npm start | npx chronoscribe --name frontend

# Docker container
docker logs -f db | npx chronoscribe --name database --color "#FF6B6B"

3. Watch Logs Flow

Go to the dashboard and see your logs aggregated in real-time!


Installation (Optional)

You can install Chronoscribe globally for easier access:

npm install -g chronoscribe

Then use it directly:

chronoscribe --serve
npm start | chronoscribe --name my-app

CLI Usage

chronoscribe [options]

Options:
  -S, --serve              Start the Chronoscribe server and dashboard
  --no-open                Do not open the dashboard in the browser automatically
  -n, --name <name>        Source identifier (required for piping)
  -s, --server <url>       Server URL (default: ws://localhost:3210)
  -c, --color <color>      Preferred badge color (CSS value)
  --level-pattern <regex>  Custom log level detection pattern
  -V, --version            Show version
  -h, --help               Show help

Examples

# Start server
chronoscribe --serve

# Pipe logs
npm start | chronoscribe -n frontend
docker logs -f redis | chronoscribe -n redis -c "#FF6B6B"
tail -f /var/log/app.log | chronoscribe -n backend

Dashboard Features

Filtering

  • By Source: Click source badges to toggle visibility
  • By Level: Click DEBUG/INFO/WARN/ERROR to set minimum level
  • By Text: Use the search box for substring matching
  • Clear All: Reset all filters with one click

Alerting

  1. Enter a regex pattern in the alert bar (e.g., ERROR|Exception)
  2. Toggle Sound for audio alerts
  3. Toggle Notify for browser notifications
  4. Enable alerts with the Active button

Auto-Scroll

  • Log view auto-scrolls to show new logs
  • Scroll up to pause auto-scroll
  • Click "Resume auto-scroll" to catch up

Development

Project Structure

chronoscribe/
├── packages/
│   ├── shared/      # Shared types and WebSocket protocol
│   ├── server/      # WebSocket + Static Asset Server
│   ├── cli/         # CLI tool for piping logs & starting server
│   └── dashboard/   # React web dashboard

Building

# Build all packages
npm run build

The build process bundles the CLI with tsup, then builds the React dashboard to the dist folder, providing a standalone experience via npx chronoscribe --serve.

📄 License

MIT


Built with ❤️ for developers who are tired of terminal chaos.