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

mirafold

v0.5.0

Published

A faithful browser re-skin of the terminal coding agent you already use — Claude Code, Codex, or Gemini CLI — with generative UI layered on top.

Readme

Mirafold

Mirafold is a browser interface for the terminal coding agent you already use—Claude Code, Codex, OpenCode, or Gemini CLI—with generative UI layered on top. The agent still runs on your machine with its own engine, credentials, configuration, and permission model.

Mirafold is in public beta. Bug reports and rough edges are welcome in the issue tracker.

Mirafold showing a repository overview, a test-and-fix turn, an interactive shell command, and a pinned chart

Highlights

  • Faithful integrations with Claude Code, Codex, OpenCode, and Gemini CLI—one adapter per agent, with no generic replacement agent in the middle.
  • Streamed markdown plus live tables, charts, diffs, task lists, diagrams, images, and other interactive components generated through Model Context Protocol (MCP) tools.
  • Persistent sessions, multiple attached browser views, and a mission-control view for supervising several sessions at once.
  • Read-only workspace browsing and Git change review beside the conversation.
  • A real pseudo-terminal (PTY) for ! commands, including interactive programs and password prompts, inside shell-owned UI.
  • Optional remote browser and phone access through an end-to-end-encrypted relay; provider credentials remain on the machine running Mirafold.

Mirafold drives a real coding agent with access to your filesystem and shell. Review permission prompts, use it only in directories you are prepared to give an agent access to, and read the security policy before exposing or pairing a session.

Install

Mirafold requires Node.js 22 or newer.

Install it globally, move into the project you want the agent to work in, and start the daemon:

npm install --global mirafold
mirafold

The command binds a local server to loopback, opens the browser, and uses the current directory as the default workspace. Useful launcher options:

mirafold --help
mirafold --no-open
mirafold --verbose

Use npx mirafold only inside a project you already trust: npm exposes project-local executables to commands launched through npx. The global install avoids that package-shadowing path; it does not make an unfamiliar checkout safe.

First run

Onboarding asks for a supported agent, one of its detected backends, and a working directory. Mirafold uses the selected agent's native engine and any supported authentication it detects. If no usable live backend is available, the session runs the built-in scripted demo so the entire interface can be explored without model traffic.

Optional Mirafold settings are documented in .env.example and summarized by mirafold --help. Local and hosted open-model setups are covered in docs/local-models.md.

Inside a session:

  • Type ordinary prompts in the command box.
  • Prefix a command with ! to run it in Mirafold's interactive shell.
  • Open / for mission control and /s/<session-id> for a session viewport.
  • Use the Files and Changes workspaces to inspect the current directory and its Git working-tree changes.

Development

The repository is one TypeScript package. It uses Yarn 1.22.22 and requires Node.js 22 or newer.

git clone https://github.com/mirafold/mirafold.git
cd mirafold
corepack enable
yarn install
yarn dev

Open http://localhost:5173. The Vite development server proxies the local daemon, and a credential-free agent choice uses the scripted demo backend.

Build and exercise the packaged path with:

yarn build
node bin/mirafold.js

The main verification commands are:

| Command | What it checks | | --- | --- | | yarn typecheck | TypeScript across the server, web client, and tests | | yarn test | Unit tests | | yarn test:server | Real daemon and WebSocket integration tests using mock agents | | yarn test:e2e | Production build and end-to-end browser tests | | yarn test:ui | Managed-browser compatibility and visual baselines | | yarn test:live | Opt-in tests against installed agent binaries and local models |

See CONTRIBUTING.md for contribution rules and the required test tier for a change.

Architecture

The local daemon adapts each agent's native event stream into the shared protocol in server/protocol.ts. A session registry owns the warm agent sessions, replay history, and browser attachments. The React client keeps shell-owned controls separate from the agent-controlled output zone, where validated registry components and sandboxed artifacts render.

Read docs/ARCHITECTURE.md for the system model, core contracts, trust boundaries, key flows, and repository map. Adapter authors should also read the normative adapter specification.

Documentation

| Document | Purpose | | --- | --- | | Architecture | Runtime structure, contracts, flows, and constraints | | Adapter specification | Requirements and checklist for agent integrations | | Local models | Ollama, LM Studio, vLLM, and compatible hosted providers | | Security policy | Safe operation, disclosure process, and known trust decisions | | Contributing | Developer Certificate of Origin sign-off and verification expectations | | Glossary | Shared product and interface vocabulary | | Plan | Current work and roadmap; completed history is in PLAN-ARCHIVE.md | | Release guide | Branching and release procedure |

License

Mirafold's own code is licensed under the MIT License. Integrated agent engines and third-party packages retain their own licenses; bundled web dependencies are listed in THIRD-PARTY-NOTICES.md.

Claude Code, Codex, OpenCode, and Gemini CLI are trademarks of their respective owners. Mirafold is not affiliated with or endorsed by Anthropic, OpenAI, the OpenCode project, or Google.