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

qwen-code-webui

v0.2.0

Published

Web-based interface for the Qwen Code CLI with streaming chat interface

Readme

🌐 Qwen Code Web UI

npm Version License GitHub Release

A modern web interface for Qwen Code CLI - Transform your command-line coding experience into an intuitive web-based chat interface

📱 Screenshots

| Desktop Interface | Mobile Experience | | ----------------- | ----------------- | | Chat-based coding interface with instant responses and ready input field | Mobile-optimized chat experience with touch-friendly design |


📑 Table of Contents


✨ Why Qwen Code Web UI?

Transform the way you interact with Qwen Code

Instead of being limited to command-line interactions, Qwen Code Web UI brings you:

| CLI Experience | Web UI Experience | | ----------------------------- | ---------------------------- | | ⌨️ Terminal only | 🌐 Any device with a browser | | 📱 Desktop bound | 📱 Mobile-friendly interface | | 📝 Plain text output | 🎨 Rich formatted responses | | 🗂️ Manual directory switching | 📁 Visual project selection |

🎯 Key Features

  • 📋 Permission Mode Switching - Toggle between normal, plan, auto-edit, and yolo modes
  • 🔄 Real-time streaming responses - Live Qwen Code output in chat interface
  • 📁 Project directory selection - Visual project picker for context-aware sessions
  • 💬 Conversation history - Browse and restore previous chat sessions
  • 🛠️ Tool permission management - Granular control over Qwen's tool access
  • 🎨 Dark/light theme support - Automatic system preference detection
  • 📱 Mobile-responsive design - Touch-optimized interface for any device

🚀 Quick Start

Get up and running in under 2 minutes:

Option 1: npm Package (Recommended)

# Install globally via npm
npm install -g qwen-code-webui

# Start the server
qwen-code-webui

# Open browser to http://localhost:8080

Option 2: Development Mode

# Clone repository
git clone https://github.com/ivycomputing/qwen-code-webui.git
cd qwen-code-webui

# Backend (choose one)
cd backend && npm run dev      # Node.js runtime

# Frontend (new terminal)
cd frontend && npm run dev

# Open browser to http://localhost:3000

Prerequisites

  • Qwen CLI installed and authenticated (Get it here)
  • Node.js >=20.0.0 (for npm installation)
  • Modern browser (Chrome, Firefox, Safari, Edge)

⚙️ CLI Options

The backend server supports the following command-line options:

| Option | Description | Default | | ---------------------- | --------------------------------------------------------- | ----------- | | -p, --port <port> | Port to listen on | 8080 | | --host <host> | Host address to bind to (use 0.0.0.0 for all interfaces) | 127.0.0.1 | | --qwen-path <path> | Path to qwen executable (overrides automatic detection) | Auto-detect | | -d, --debug | Enable debug mode | false | | -h, --help | Show help message | - | | -v, --version | Show version | - |

Environment Variables

  • PORT - Same as --port
  • DEBUG - Same as --debug

Examples

# Default (localhost:8080)
qwen-code-webui

# Custom port
qwen-code-webui --port 3000

# Bind to all interfaces (accessible from network)
qwen-code-webui --host 0.0.0.0 --port 9000

# Enable debug mode
qwen-code-webui --debug

# Custom Qwen CLI path
qwen-code-webui --qwen-path /path/to/qwen

🚨 Troubleshooting

Qwen CLI Path Detection Issues

If you encounter errors, this typically indicates Qwen CLI path detection failure.

Quick Solution:

qwen-code-webui --qwen-path "$(which qwen)"

Debug Mode: Use --debug flag for detailed error information:

qwen-code-webui --debug

🔧 Development

Setup

# Clone repository
git clone https://github.com/ivycomputing/qwen-code-webui.git
cd qwen-code-webui

# Install dependencies
cd backend && npm install
cd ../frontend && npm install

Development Commands

# Start backend
cd backend && npm run dev

# Start frontend (new terminal)
cd frontend && npm run dev

🔒 Security Considerations

Important: This tool executes Qwen CLI locally and provides web access to it.

✅ Safe Usage Patterns

  • 🏠 Local development: Default localhost access
  • 📱 Personal network: LAN access from your own devices

⚠️ Security Notes

  • No authentication: Currently no built-in auth mechanism
  • System access: Qwen can read/write files in selected projects
  • Network exposure: Configurable but requires careful consideration

❓ FAQ

Yes, you need the Qwen CLI tool installed and authenticated. The web UI is a frontend for the existing Qwen CLI.

Yes! The web interface is fully responsive and works great on mobile devices when connected to your local network.

Yes, everything runs locally. No data is sent to external servers except Qwen's normal API calls through the CLI.


🤝 Contributing

We welcome contributions! Please feel free to:

  • 🐛 Report bugs
  • ✨ Suggest features
  • 📝 Improve documentation
  • 🔧 Submit pull requests

📄 License

MIT License - see LICENSE for details.


Made with ❤️ for the Qwen Code community

⭐ Star this repo🐛 Report issues