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

@unturf/unfirehose-router

v1.0.6

Published

Lightweight daemon that watches Claude Code JSONL and forwards to unfirehose.com

Downloads

641

Readme

@unturf/unfirehose-router

Lightweight daemon that watches Claude Code JSONL session files and forwards new events to a cloud unfirehose instance.

Tracks cursor positions per file so it never re-sends data, even after restarts.

Install

npm install -g @unturf/unfirehose-router

Setup

Create a config file at ~/.unfirehose.json:

{
  "api_key": "unfh_YOUR_KEY_HERE",
  "endpoint": "https://api.unfirehose.org/api/ingest",
  "watch_paths": ["~/.claude/"],
  "batch_size": 100,
  "flush_interval_ms": 5000
}

Usage

# Start the router daemon
unfirehose-router

# Show current config and cursor state
unfirehose-router --status

# Help
unfirehose-router --help

How it works

~/.claude/projects/**/*.jsonl
        │
        ▼
  [file scanner]         finds new/changed JSONL files
        │
        ▼
  [cursor tracker]       reads only new bytes since last run
        │                (~/.unfirehose-cursors.json)
        ▼
  [batch sender]         POST to cloud endpoint
        │                with exponential backoff retry
        ▼
  unfirehose.com API     cloud dashboard

The router:

  1. Scans watch paths for .jsonl files
  2. Reads new lines since last cursor position
  3. Batches lines and flushes at configured intervals
  4. Persists cursors to ~/.unfirehose-cursors.json
  5. Retries failed sends with exponential backoff

Configuration

| Field | Default | Description | |---|---|---| | api_key | required | API key (must start with unfh_) | | endpoint | https://api.unfirehose.org/api/ingest | Cloud ingest endpoint | | watch_paths | ["~/.claude/"] | Directories to scan for JSONL | | batch_size | 100 | Lines per batch | | flush_interval_ms | 5000 | Flush interval in milliseconds |

Override config path with UNFIREHOSE_CONFIG env var. Override cursor path with UNFIREHOSE_CURSORS env var.

Part of the unfirehose monorepo

| Package | Description | |---|---| | @unturf/unfirehose | Core data layer | | @unturf/unfirehose-schema | unfirehose/1.0 spec — JSON Schema, TypeScript types | | @unturf/unfirehose-router | CLI daemon (this package) | | @unturf/unfirehose-ui | Shared React components |

License

AGPL-3.0-only