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

@myrialabs/clopen

v0.0.8

Published

All-in-one web workspace for Claude Code & OpenCode — chat, terminal, git, browser preview, checkpoints, and real-time collaboration

Readme

🎯 Clopen

All-in-one web workspace for Claude Code & OpenCode

License: MIT Built with Bun

Clopen provides a modern web interface for AI-assisted development, supporting both Claude Code and OpenCode as AI engines. It runs as a standalone web application — manage multiple Claude Code accounts, use built-in git source control, preview your app in a real browser, edit files, collaborate in real-time, and never lose progress with git-like checkpoints.


✨ Features

  • 👤 Multi-Account Claude Code - Manage multiple accounts (personal, work, team) and switch instantly per session, isolated under ~/.clopen/claude/user/ without touching system-level Claude config
  • 🔀 Multi-Engine Support - Switch between Claude Code and OpenCode
  • 💬 AI Chat Interface - Streaming responses with tool use visualization
  • 🔄 Background Processing - Chat, terminal, and other processes continue running even when you close the browser — come back later and pick up where you left off
  • 🌿 Git-like Checkpoints - Multi-branch undo/redo system with file and folder snapshots
  • 🌐 Real Browser Preview - Puppeteer-based Chromium rendering with WebCodecs streaming (80-90% bandwidth reduction), full click/type/scroll/drag interaction
  • 💻 Integrated Terminal - Multi-tab terminal with full PTY control
  • 📁 File Management - Directory browsing, live editing, and real-time file watching
  • 🗂️ Git Management - Full source control: staging, commits, branches, push/pull, stash, log, conflict resolution
  • 👥 Real-time Collaboration - Multiple users can work on the same project simultaneously
  • 🚇 Built-in Cloudflare Tunnel - Expose local projects publicly for testing and sharing

🚀 Quick Start

Prerequisites

Installation

bun add -g @myrialabs/clopen

This installs dependencies, builds the frontend, and makes the clopen command available globally.

Usage

clopen

On first run, Clopen creates .env from .env.example, verifies the build, and starts the server on http://localhost:9141.

Configuration — edit .env to customize:

PORT=9141              # Server port
NODE_ENV=production    # Environment mode

🛠️ Development

git clone https://github.com/myrialabs/clopen.git
cd clopen
bun install
bun run dev     # Start development server
bun run check   # Type checking

📚 Architecture

| Layer | Technology | |-------|-----------| | Runtime | Bun.js | | Frontend | Svelte 5 (runes) + Vite | | Backend | Elysia + WebSocket | | Styling | Tailwind CSS v4 | | Database | SQLite with migrations | | Terminal | bun-pty | | AI Engines | Claude Code + OpenCode |

Engine Architecture

Clopen uses an engine-agnostic adapter pattern — the frontend and stream manager are not tied to any specific AI tool:

┌─────────────────────────────────────────┐
│              Stream Manager             │
└──────────────┬──────────────────────────┘
               │
       ┌───────┴───────┐
       ▼               ▼
 ClaudeCodeEngine  OpenCodeEngine

Both engines normalize output to Claude SDK message format, ensuring a consistent experience regardless of which engine is selected.


🛣️ Planned Features

  • [ ] Configurable MCP Servers - Add, remove, enable, and disable Model Context Protocol servers through the UI
  • [ ] Built-in Database Management - Adminer/TablePlus-like interface
  • [ ] Additional Preview Platforms - Android, iOS, and Desktop app preview
  • [ ] Enhanced Collaboration - User authentication and permissions
  • [ ] Plugin System - Extensible architecture for community plugins

📖 Documentation


🤝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run bun run check to ensure code quality
  5. Commit your changes (git commit -m 'Add amazing feature')
  6. Push to the branch (git push origin feature/amazing-feature)
  7. Open a Pull Request

🐛 Troubleshooting

Port 9141 Already in Use

Use a different port:

clopen --port 9150

Or kill the existing process:

# Unix/Linux/macOS
lsof -ti:9141 | xargs kill -9

# Windows
netstat -ano | findstr :9141
taskkill /PID <PID> /F

Claude Code Not Found

# macOS / Linux / WSL
curl -fsSL https://claude.ai/install.sh | bash

# Windows PowerShell
irm https://claude.ai/install.ps1 | iex

# Verify
claude --version

For complete installation instructions, visit the official setup guide.

OpenCode Not Found

# macOS / Linux / WSL
curl -fsSL https://opencode.ai/install | bash

# Bun
bun add -g opencode-ai

# Verify
opencode --version

For complete installation instructions, visit the official documentation.

Browser Preview Issues

Browser sessions are automatically managed via Puppeteer's APIs and cleaned up when the preview is closed, the application exits, or the session times out.


📄 License

MIT License - see LICENSE for details.


🙏 Acknowledgments


🔗 Links