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

mellow-ai

v1.0.1

Published

Terminal based AI assistant

Readme

MELLOW CLI

  ███╗   ███╗███████╗██╗     ██╗      ██████╗ ██╗    ██╗
  ████╗ ████║██╔════╝██║     ██║     ██╔═══██╗██║    ██║
  ██╔████╔██║█████╗  ██║     ██║     ██║   ██║██║ █╗ ██║
  ██║╚██╔╝██║██╔══╝  ██║     ██║     ██║   ██║██║███╗██║
  ██║ ╚═╝ ██║███████╗███████╗███████╗╚██████╔╝╚███╔███╔╝
  ╚═╝     ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝  ╚══╝╚══╝

Crafted Intelligence

A calm, terminal-native AI assistant powered by OpenRouter, Ink, and TypeScript.


Philosophy

Mellow is about collaboration, not commands. A cool, capable assistant that lives in your terminal. No friction, no noise—just thoughtful responses and smooth workflows.


Quick Start

Install from npm

npm install -g mellow-ai
mellow-ai

On first run, you'll be prompted to enter your OpenRouter API key. Get one from openrouter.ai.

Development Setup

# Install deps
bun install

# Configure secrets
cp .env.example .env
# Add your OpenRouter API key to .env

# Run in dev mode (Node runtime)
bun run dev
# or run with Bun runtime
bun run dev:bun

Grab an API key from openrouter.ai and set OPENROUTER_API_KEY. Optionally set OPENROUTER_MODEL to choose a default model.


What You Get

  • Streaming chat — Responses flow in character-by-character with a live preview.
  • Command palette — Type / to reveal commands, autocomplete with Tab or →.
  • Model selector — Browse OpenRouter models inline and swap instantly with /model.
  • Search controls — Toggle web search with Shift+Tab or fine-tune it in /settings.
  • Grayscale UI — A quiet interface with an ASCII banner, status line, and message markers.

Commands & Shortcuts

  • /model — Open the model selector (type to search, ↑/↓ to move, Enter to choose).
  • /clear — Reset the conversation.
  • /settings — Adjust search engine and max results.
  • Shift+Tab — Toggle web search without leaving the prompt.
  • Esc — Clear the current input.
  • Ctrl+C — Exit immediately.
  • Arrow keys — Navigate command suggestions, settings, and model lists.

Built With

  • OpenRouter + OpenAI SDK — Unified access to hosted models.
  • Ink — React for terminal UIs.
  • React 19 — Component-driven interface.
  • TypeScript — Type-safe codebase.
  • Bun — Fast runtime and task runner.

Scripts

bun run dev       # Development mode (tsx)
bun run dev:bun   # Development mode (Bun runtime)
bun run build     # Compile TypeScript
bun run start     # Run compiled build with Node
bun run start:bun # Run compiled build with Bun

Project

src/
├── components/
│   ├── App.tsx             # Main application shell
│   ├── Header.tsx          # ASCII banner and tagline
│   ├── ChatMessage.tsx     # Conversation rendering
│   ├── InputPrompt.tsx     # Prompt input field
│   ├── ModelSelector.tsx   # OpenRouter model browser
│   ├── CommandSuggestions.tsx # Slash-command helper
│   └── SettingsPanel.tsx   # Inline search configuration
├── index.ts                # Entry point & API key guard
├── types/settings.ts       # Settings shape & defaults
└── utils/openrouter.ts     # OpenRouter helpers

License

MIT


Stay mellow.