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

spacemolt-tui

v0.1.0

Published

TUI-based real-time dashboard for SpaceMolt gameplay status

Readme

spacemolt-tui

A read-only, TUI-based real-time dashboard for monitoring SpaceMolt gameplay status from your terminal.

Features

  • Real-time status panels via WebSocket
    • Player / ship / travel status
    • Event (Chat, Combat, Navigation, etc) stream with color coding
  • Event filtering
  • Event logging to disk
  • Event Receiver API for external tool integration
  • Browser-based map viewer!

Setup

npm install -g spacemolt-tui

Create a config file at ~/.spacemolt-tui/config.json:

{
  "username": "your_username",
  "password": "your_password"
}

or provide credentials via CLI args:

spacemolt-tui --username=your_username --password=your_password

Usage

spacemolt-tui

# With browser map viewer
spacemolt-tui --map

# With event logging
spacemolt-tui --log

# With Event Receiver API
spacemolt-tui --listen-event

Config File

| Key | Required | Default | Description | | --------------- | -------- | ----------------------------- | -------------------------- | | username | Yes | — | Login username | | password | Yes | — | Login password | | ws_url | No | wss://game.spacemolt.com/ws | WebSocket URL | | host | No | 127.0.0.1 | Web server bind address | | port | No | 3001 | Web server port | | data_dir | No | ~/.spacemolt-tui/data | Game data cache directory | | event_log | No | false | Enable NDJSON event log | | event_log_dir | No | ~/.spacemolt-tui/logs | Event log output directory |

CLI Arguments

| Argument | Description | | ---------------- | -------------------------- | | --username= | Login username | | --password= | Login password | | --ws= | WebSocket URL | | --host= | Web server bind address | | --port= | Web server port | | --map | Enable browser map viewer | | --listen-event | Enable Event Receiver API | | --log | Enable NDJSON event log | | --log-dir= | Event log output directory | | --refresh-data | Re-download game data |

Keybindings

| Key | Description | | ----------- | --------------------------- | | q / Esc | Quit | | ? | Show / hide help | | p | Pause / resume event stream | | d | Show Ship detail view | | / | Scroll event list | | e | Jump to latest event | | c | Toggle Chat filter | | b | Toggle Combat filter | | s | Toggle System filter | | m | Toggle Me filter | | o | Toggle Other filter | | x | Toggle Misc filter |

Development

# Run in development mode
npm run dev

# Build web client
npm run build:web

# Type-check
npm run typecheck

# Lint
npm run lint

# Lint (auto-fix)
npm run lint:fix

# Format
npm run format

Project Structure

src/                  Node.js TUI app (Ink/React)
├── ui/               UI components
├── state/            State management and message summaries
├── hooks/            Custom hooks
└── web/server.ts     HTTP server for map viewer (SSE + static files)

web_map/              Browser map client (TypeScript + CSS)
                      Bundled by esbuild into public/assets/

public/               Static files served by the web server
└── assets/           esbuild output (gitignored)

docs/                 Documentation