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

hmanlab

v0.2.4

Published

hmanlab — a terminal UI for chatting with Ollama, z.ai, Ollama Cloud, and OpenCode Go from your shell.

Readme

hmanlab

A terminal UI for chatting with local Ollama models — plus BYOK providers (z.ai, Ollama Cloud, OpenCode Go) — built in Rust with ratatui.

# Global install
npm install -g hmanlab

# Run once without installing
npx hmanlab

# Per-project (e.g. add to a repo's dev deps)
npm install --save-dev hmanlab
npx hmanlab

Quick start

After installing, run:

hmanlab

On first launch, hmanlab asks for an API key. Register a free account at hmanlab.senireka.my → API keys, paste the bai_… key when prompted, and you're in. The TUI itself is free.

Who provides the LLM?

You do. hmanlab is a frontend — it doesn't host or proxy any model. Plug in either:

  • Your local Ollama — runs entirely on your machine, no traffic leaves your network. Default and fully free.
  • Your own provider key (BYOK) — z.ai, Ollama Cloud, or OpenCode Go. hmanlab stores the key locally (mode 0600) and talks to the provider directly; the hmanlab backend never sees it.

What does the hmanlab API key do?

It authenticates the TUI to the hmanlab.senireka.my backend that stores your chat sessions so you can resume them later (/sessions, /load, /more, cross-device history). Without a key the TUI still runs against your local Ollama / BYOK provider — you just lose saved-session sync.

Features

  • Streaming replies, agentic tool calls (read_file, edit_file, run_command, git, find), foldable <think> blocks
  • BYOK providers: z.ai (subscription + usage), Ollama Cloud, OpenCode Go
  • Session persistence via hmanlab-api, with /sessions, /load, /more
  • Workspace sidebar with click-to-expand folders, scroll, click-to-open file viewer
  • /compact slash command + automatic compaction at high context tokens; compactions are persisted to <workspace>/.hmanlab/memory/compact-current.md so the model can resume across sessions
  • Memory store at ~/.hmanlab/memory/ (user-scope) and <workspace>/.hmanlab/memory/ (project-scope), surfaced to the model every turn

Supported platforms

Prebuilt binaries ship for:

  • linux-x64, linux-arm64 (musl, statically-linked)
  • darwin-x64, darwin-arm64
  • win32-x64

On other platforms, npm install will succeed but hmanlab will print a friendly "no prebuilt binary" message and exit. Build from source via cargo install --git https://github.com/hmanlab/hmanlab.

Where does .hmanlab/ live?

Wherever you launch hmanlab from — that becomes the workspace:

  • Project install: npx hmanlab from a project dir → <project>/.hmanlab/
  • Global install: cd ~/myrepo && hmanlab~/myrepo/.hmanlab/. cd ~ && hmanlab~/.hmanlab/

User-scope state (cross-project preferences, identity) always lives at ~/.hmanlab/.

License

MIT. See https://github.com/hmanlab/hmanlab for source.