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

@sivnsh7/blink

v1.0.0

Published

Local-first Linux host telemetry, kernel security audit & process manager in the Sivnsh7 Field Dossier design system.

Readme

Blink // Field Dossier — Linux Host Telemetry & Process Controller

npm version License: MIT Node.js Linux

A local-first, low-overhead Linux host telemetry, kernel security audit, and process management dashboard. Built with React 19, Vite, Express, and WebSocket, sampling Linux virtual filesystems (/proc, /sys) with zero external charting bloat, brutalist precision, and classified redaction.


Quick Start (Run Instantly)

Run without installation via npx:

npx @sivnsh7/blink

Or install globally:

npm install -g @sivnsh7/blink
blink

Open your browser to http://127.0.0.1:3002.


Aesthetic Identity: Sivnsh7 "Field Dossier" Design Language

Blink is designed around the tactile Sivnsh7 "Field Dossier" visual language—departing from modern SaaS flat design and neo-cyberpunk tropes to deliver an authoritative, investigative instrument:

  • Brutalist Structure & Zero-Blur Elevation: Hard black 2.5px borders with crisp offset directional drop-shadows (3px, 6px, 9px) and zero blur, simulating physical stacked cards on a workbench.
  • Paper Skeuomorphism: Ivory linen (#F1EBDC) light canvas transitioning to pitch-black AMOLED (#000000) dark mode, procedural dual radial-gradient paper grain, and skeuomorphic folded corner cards (.card--fold).
  • Tactile Clay & Lacquer Controls: Signature lacquer-red CTA plates with inset bevel highlights and active press depressions.
  • Classified Redaction Motif: Redaction bars (.redact[data-note]) masking sensitive PIDs, system hostnames, and network addresses, backed by a global reveal registry and screen-reader accessibility filters.
  • 3D Struck-Brass Hero Masthead: Real-time pointer parallax tilt, Euclidean proximity lift, and asynchronous Katakana scramble glitch loop running on pure CSS transforms and lightweight requestAnimationFrame.
  • Typographic Discipline: Strict three-tier hierarchy combining Bricolage Grotesque (editorial display mastheads), Space Grotesk (body and subheads), and IBM Plex Mono (tabular metadata, proof strips, coordinates, and status stamps).

Capabilities & Architecture

graph TD
    subgraph Host["Linux Kernel Interfaces"]
        P1["/proc/stat & /proc/cpuinfo"]
        P2["/proc/meminfo"]
        P3["/proc/diskstats & /sys/block"]
        P4["/proc/mounts & statfs"]
        P5["/proc/net/dev & /sys/class/net"]
        P6["/proc/pressure (CPU, Memory, I/O)"]
        P7["/proc/[pid]/stat & /proc/[pid]/statm"]
        P8["/proc/sys/kernel (ASLR, Entropy)"]
    end

    subgraph Server["Blink Local Daemon (Node.js)"]
        C["Metrics Sampler (1.2s Cadence)"]
        A["Pure Audit Evaluator (getHostAudit)"]
        K["Safe Process Signaling (process.kill)"]
        WS["WebSocket Server (64KB Capped)"]
        REST["REST Endpoints (/api/*)"]
    end

    subgraph Client["Field Dossier Frontend (React 19)"]
        UI1["Overview Dossier (IsoBars & Ring3D)"]
        UI2["Process Registry & Kill Controls"]
        UI3["Subsystem Dossiers (CPU, Mem, Disk, Net)"]
        UI4["Security & PSI Stall Audit"]
        RED["Redaction Context & Sanitized Export"]
    end

    Host --> Server
    Server -->|WebSocket Stream & REST| Client

1. Linux Pressure Stall Information (PSI)

Real-time monitoring of /proc/pressure/cpu, /proc/pressure/memory, and /proc/pressure/io. Tracks avg10, avg60, avg300, and cumulative stall microseconds. Accurately reports supported: false on kernels lacking PSI compilation without fabricating misleading NOMINAL states.

2. Physical Disks vs Filesystems Separation

Physical block storage devices (/sys/block entries like sda, nvme0n1, vda) and mounted filesystem partitions (/proc/mounts) are partitioned into independent data models. Eliminates capacity double-counting and identifies the primary root filesystem (isRoot: true).

3. Truthful Memory Instrumentation

Memory utilization is computed as MemTotal - MemAvailable, correctly accounting for reclaimable page cache and slab memory. Virtual address space commitments (Committed_AS and CommitLimit) are tracked independently.

4. Process Registry & Safe Termination

Monitors the top 100 active tasks sampled from /proc/[pid]/stat. Provides interactive process termination with:

  • System PID 1 & Non-Positive PID Protection: Terminating init/systemd (PID 1) or non-positive PIDs is strictly prohibited.
  • Daemon Self-Protection: Terminating the Blink server process itself is rejected.
  • Kernel Task Immunity: Detects PF_KTHREAD flags and kthreadd (PPID 2) parentage to block termination attempts against kernel threads.
  • Strict Signal Whitelist: Supports SIGTERM (Graceful), SIGKILL (Force), and SIGINT.
  • Cross-Site Request Forgery (CSRF) Guard: Validates the browser Origin header against allowedOrigins on mutating HTTP calls.

5. Presentation Redaction & Sanitized Exports

Global masking toggle has strict authority over per-item reveals. When exporting telemetry snapshots to .json, Blink automatically sanitizes hostnames, scrubs non-kernel process identifiers to proc-[pid], redacts command lines, and masks MAC addresses.


Security & Operational Scope

[!IMPORTANT] Read-Only Default & Local-First Monitoring: Blink is designed for local developer workstation observability and Linux performance analysis.

  • Loopback Isolation: The server binds to 127.0.0.1 by default. While HOST can be overridden via environment variables, endpoints do not implement enterprise authentication. Exposing Blink on public networks without an authenticating reverse proxy (like Nginx, Caddy, or WireGuard) is strongly discouraged.
  • Zero Shell Spawning: Telemetry collectors never spawn shell commands (execSync, sh, awk, grep) during polling loops. All reads are performed directly on /proc and /sys virtual filesystems.
  • Presentation-Layer Redaction: Redaction features prevent accidental over-the-shoulder disclosure and unscrubbed file sharing; they do not represent cryptographic boundary isolation.

API Endpoints

| Method | Path | Description | Safety Constraints | |---|---|---|---| | GET | /api/health | Agent health, capabilities, and schema metadata | Open | | GET | /api/snapshot | Complete host telemetry snapshot (CPU, memory, storage, network, processes, PSI) | Read-only | | GET | /api/audit | Pure heuristic security & stability scorecard without mutating sampling baselines | Read-only | | POST | /api/processes/:pid/kill | Send POSIX signals (SIGTERM, SIGKILL, SIGINT) to a process | Origin-checked, PID 1 & Kernel protected | | WS | /ws | Real-time continuous telemetry stream (1.2s interval) | Exact Origin checked, 64 KB payload cap |


Development & Build

Prerequisites

  • Linux OS with kernel 4.20+ (Arch Linux, Ubuntu, Debian, Fedora, RHEL, etc.)
  • Node.js 20+ and npm

Local Development Setup

git clone https://github.com/sivnsh7/blink.git
cd blink
npm install
npm run dev

Vite dev server will start on http://127.0.0.1:5173 with proxying to the backend daemon on 127.0.0.1:3002.

Production Build & Verification

# Run unit test suite
npm test

# Build client production bundle into server/public
npm run build

# Start production server
npm start

Contributors & Acknowledgements

Blink was engineered and audited through a multi-model collaborative development effort:

  • Sivnsh7 — Creator, Lead Architect & Author of the Sivnsh7 "Field Dossier" Design Language.
  • Google Antigravity — Advanced Agentic AI Engineering, Deep Audit Remediation, Core Linux Collectors & Safety Guardrails.
  • Claude (Anthropic) — Reverse Engineering, Brutalist UI Implementation & Typographic Structure.
  • NVIDIA Nemotron — High-Performance Host Telemetry & Hardware Systems Optimization.
  • Agnes — Security Review, Linux PSI Kernel Calibration & Quality Assurance.
  • Open Source Community — Linux kernel sysfs/procfs documentation, testing, and feedback.

License

MIT License © 2026 Sivnsh7 and Blink contributors.