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

@thomasrumas/llm-manager

v1.2.0

Published

A TUI to manage LLM powered by Llama.cpp

Readme

@thomasrumas/llm-manager

Interactive TUI to manage llama.cpp — install, search models, configure and monitor llama-server.

Why

Ollama and LM Studio are convenient but ship patched forks of llama.cpp that lag behind upstream and break compatibility with certain GGUF architectures. This manager runs against the real llama-server binary so every model that llama.cpp supports works here too.

Requirements

  • Node.js 22+
  • macOS (Homebrew for the install helper) — Linux support planned
  • llama-server on $PATH, or let the manager install it via Homebrew

Install

npm install -g @thomasrumas/llm-manager

Usage

llm-manager

The TUI launches in your terminal. Navigate with arrow keys, confirm with Enter, go back with Esc.

Features

Install / Check llama.cpp

  • Detects whether llama-server is already available on $PATH
  • Shows the installed version
  • Offers a one-key install via brew install llama.cpp if it's missing
  • Streams Homebrew output live

Search & Download Models (Hugging Face)

  • Full-text search against the Hugging Face Hub
  • Filters results to GGUF-format files only
  • Shows quantization level, file size, and download count per file
  • Live download progress bar
  • Authenticates with your HF token for gated models

My Models

  • Scans your configured models directory for .gguf files
  • Shows file size, last modified date, and whether a configuration is saved
  • Actions per model: Launch, Configure, Delete

Configure & Launch

Configure any llama-server flag through a form — no flag memorisation needed:

| Parameter | Flag | Default | | --------------- | --------------------- | -------------- | | Alias | --alias | model filename | | Temperature | --temp | 0.6 | | Top-P | --top-p | 0.95 | | Top-K | --top-k | 20 | | Min-P | --min-p | 0.0 | | Port | --port | 8001 | | Context size | --ctx-size | 131072 | | KV Unified | --kv-unified | on | | Cache type K/V | --cache-type-k/v | q8_0 | | Flash Attention | --flash-attn | on | | FIT | --fit | on | | Extra flags | (raw text appended) | — |

Multiple named configurations per model (e.g. default, quality, fast). Resolution order: model config → global defaults → hardcoded fallback.

Server Monitor

  • Live CPU %, RAM, VRAM, process-level CPU and RAM
  • Scrollable log output streamed directly from llama-server stdout/stderr
  • Start / stop the server without leaving the TUI

REST API Server (optional)

Enable an embedded HTTP API in Settings to let the @thomasrumas/llm-client control the manager from another machine on your local network.

| Endpoint | Description | | ---------------------------------- | ------------------------------------------- | | GET /api/models | List models that have a saved configuration | | POST /api/models/:filename/start | Launch a model ({ config?: string }) | | GET /api/status | Running server state | | POST /api/stop | Stop the running model |

Binds to 0.0.0.0 so it is reachable on your LAN. Disabled by default.

Settings

  • Models directory (default ~/.local-llm-manager/models/)
  • Global defaults for port and context size
  • Hugging Face token
  • API server toggle + port

Daemon / Background Service

Run the API server as a persistent background service (no terminal window needed) using the OS-native service manager — launchd on macOS, systemd on Linux.

# From the TUI: navigate to Service (5 from the dashboard)
# Or directly from the command line:
llm-manager service install    # write the service file and enable at login
llm-manager service start      # start it now
llm-manager service stop       # stop it
llm-manager service status     # show running state and PID
llm-manager service uninstall  # remove the service file
llm-manager service logs       # tail the daemon log

The Service screen in the TUI shows the live status in the header bar and provides the same install / start / stop / uninstall actions with a single keypress.

The daemon only runs the API server — it does not auto-launch a model. Models are still started through the TUI or via llm-client start.

Files created by the service:

| Platform | Service file | Log directory | | -------- | ----------------------------------------------------------- | ---------------------------- | | macOS | ~/Library/LaunchAgents/com.local-llm-manager.daemon.plist | ~/.local-llm-manager/logs/ | | Linux | ~/.config/systemd/user/local-llm-manager.service | via journalctl --user |

No sudo required — both service managers run at user level.

Configuration file

Stored at ~/.local-llm-manager/config.json:

{
  "modelsDirectory": "~/.local-llm-manager/models",
  "defaults": { "port": 8001, "ctxSize": 131072 },
  "apiServer": { "enabled": false, "port": 3333 },
  "configurations": {
    "Qwen3-8B-Q4_K_M.gguf": {
      "default": { "alias": "Qwen3-8B", "temp": 0.6, "topP": 0.95 },
    },
  },
}

Keyboard reference

| Key | Action | | -------- | --------------------- | | ↑ ↓ | Navigate / scroll | | ← → | Adjust value / toggle | | Enter | Select / confirm | | Esc | Back | | Ctrl+S | Save | | Ctrl+L | Save & Launch | | 15 | Dashboard shortcuts | | q | Quit |

License

ISC