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

koincode

v1.19.1

Published

An open source local-first terminal coding agent. Peer programming with any frontier model or local/free models to run agentic development.

Readme

koincode

An open source local-first terminal coding agent. Peer programming with any frontier model or local/free models to run agentic development directly in your terminal with two modes — PLAN (read-only analysis) and BUILD (full file editing and bash execution).

No auth. No billing. Bring your own API keys.

Installation

One command, no dependencies — no Bun or Node runtime required at execution time:

# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/KONY05/koincode/main/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/KONY05/koincode/main/install.ps1 | iex

Or install via npm — this pulls down a prebuilt native binary for your platform (no Bun needed):

npm i -g koincode

Also works with other package managers:

bun i -g koincode
pnpm i -g koincode
yarn global add koincode

Or download a binary directly from GitHub Releases.

Setup

Add your API keys directly from the command line:

koincode --anthropic-key <your-key>
koincode --openai-key <your-key>
koincode --gemini-key <your-key>
koincode --openrouter-key <your-key>

Or run koincode and use /setup from the in-app command menu to add keys interactively.

Usage

koincode

This opens the terminal UI. From there you can:

  • Start a new session or resume a previous one
  • Switch between PLAN mode (reads files, no writes) and BUILD mode (edits files, runs bash)
  • Stream responses from your chosen AI model in real time

Supported Models

  • Claude (Anthropic) — default: claude-sonnet-5
  • GPT (OpenAI)
  • Gemini (Google)
  • OpenRouter — including free models
  • Local models via Ollama

How It Works

koincode runs a local server in the background (port 37420 by default) that handles AI orchestration and session persistence. The terminal UI connects to it and executes any tool calls — file reads, writes, edits, bash — locally on your machine.

The server never touches your filesystem. All tool execution happens client-side.

Optional: Browser Tools

Browser tools (automated testing via Playwright) are opt-in:

koincode --enable-browser-tools   # Detects Chrome or prompts to download Chromium
koincode --disable-browser-tools

Or use /enable-browser-tools from the command menu inside a session.

Custom Port

koincode --port 8080

The server defaults to port 37420 if not specified.

Updating

koincode --update

Works regardless of how koincode was installed (curl, npm, or a package manager) — it detects the install method and updates in place.

All Flags

koincode --help

Prints the full list of flags (keys, port, browser tools, update, version).

Open Source

MIT licensed. Contributions welcome.

GitHub