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

@shimpeiws/mumbl

v1.1.1

Published

A terminal journaling app where AI just listens - powered by Ollama for fully local, private LLM processing

Downloads

33

Readme

A terminal journaling app where AI just listens. Write what you feel — the AI acknowledges without advice, judgment, or therapy.

Powered by Ollama for fully local, private LLM processing.

Install

npm install -g @shimpeiws/mumbl

Prerequisites

Ollama Setup

Install Ollama:

# macOS
brew install ollama

# Linux
curl -fsSL https://ollama.ai/install.sh | sh

Start the server and pull the recommended model:

ollama serve
ollama pull llama3.1:8b

Usage

mumbl

mumbl has three modes:

List Mode (default)

Browse your journal entries organized by date. Each entry shows a preview and the AI's reaction below it.

| Key | Action | |-----|--------| | j / | Next entry | | k / | Previous entry | | Enter | View full entry | | Tab | Write new entry | | c | Config | | q | Quit |

Write Mode

Press Tab to write a new entry. Type freely — press Enter to save, Escape to cancel.

Config Mode

Press c to view LLM settings and manage wordgrain vocabulary files.

| Key | Action | |-----|--------| | a | Add wordgrain file | | d | Remove selected file | | r | Reload files | | Escape | Back to list |

How It Reacts

mumbl's AI follows a "pluto mode" philosophy — distant but listening. Reactions are intentionally minimal:

  • Read receipt (~25%): · — just acknowledgment
  • Single word (~25%): cool, mood, real
  • Short phrase (~45%): that's rough, felt that, hearing you
  • Short sentence (~5%): only for major emotional moments

The AI never gives advice, never asks "are you okay?", and never reframes your feelings. Silence is okay.

Wordgrain (Vocabulary Customization)

Wordgrain files (.wg.json) let you infuse the AI's reactions with your own vocabulary and style.

{
  "name": "my-vocab",
  "grains": [
    { "word": "wavy", "context": "cool, good vibes", "tags": ["style"] },
    { "word": "real", "context": "authentic, legit", "tags": ["affirmation"] }
  ]
}

Register files in Config mode (ca) or in the config file:

{
  "wordgrainFiles": ["/path/to/vocab.wg.json"]
}

When loaded, the AI weaves your vocabulary into reactions: "not wavy", "that's fly", "real".

Creating wordgrain files with barscan

barscan can generate .wg.json files from song lyrics. Analyze an artist's vocabulary and export it directly:

pip install barscan
barscan analyze "Kendrick Lamar" --format wordgrain --output kendrick.wg.json

Then register the file in mumbl's Config mode or config file.

Configuration

Config file: ~/.config/mumbl/config.json

{
  "model": "llama3.1:8b",
  "baseUrl": "http://localhost:11434",
  "wordgrainFiles": []
}

Environment variables (override config file):

| Variable | Description | |----------|-------------| | MUMBL_MODEL | Model name | | MUMBL_BASE_URL | Ollama server URL |

CLI flags (override everything):

mumbl --model llama3.1:8b

Claude Code Integration

mumbl integrates with Claude Code via hooks to show agent activity and generate contextual callout messages.

Add the following to ~/.claude/settings.json:

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "printf 'thinking:claude-code' > /tmp/mumbl-agent-status"
          }
        ]
      }
    ],
    "PermissionRequest": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "printf 'idle:claude-code' > /tmp/mumbl-agent-status"
          }
        ]
      }
    ],
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "printf 'idle:claude-code' > /tmp/mumbl-agent-status"
          },
          {
            "type": "command",
            "command": "mumbl generate-callout"
          }
        ]
      }
    ]
  }
}

What each hook does

| Hook | Action | |------|--------| | PreToolUse | Sets agent status to thinking — mumbl shows the activity indicator | | PermissionRequest | Sets agent status to idle — agent is waiting for user input | | Stop | Sets agent status to idle and runs generate-callout to create a check-in message from recent journal entries |

Agent Status Display

mumbl watches /tmp/mumbl-agent-status and shows real-time agent activity in the terminal title. The file format is status:agent-name (e.g., thinking:claude-code).

Supported agents: claude-code, gemini-cli, cursor, windsurf.

Callout Messages

mumbl generate-callout reads your recent journal entries and generates a short contextual message, written to /tmp/mumbl-message. It has a 5-minute cooldown to avoid repeated calls.

You can also run it standalone:

mumbl generate-callout
cat /tmp/mumbl-message

Development

git clone https://github.com/shimpeiws/mumbl.git
cd mumbl
pnpm install
pnpm dev

Scripts

| Command | Description | |---------|-------------| | pnpm dev | Run in development mode | | pnpm build | Build for production | | pnpm test | Run tests (watch mode) | | pnpm type-check | TypeScript type checking | | pnpm lint | Run Biome linter | | pnpm ci:all | Full CI check (types + lint + tests) |

Tech Stack

  • TypeScript, React, Ink (terminal UI)
  • Ollama via LangChain.js
  • SQLite (better-sqlite3) for local storage
  • Vitest for testing (70%+ coverage required)
  • Biome for linting and formatting

License

MIT