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

clawd-proxy

v1.0.4

Published

LLM API Proxy with web UI - route requests through multiple providers

Readme

Clawd Proxy

English | 中文


English

A lightweight LLM API proxy server with web console. API keys and models are configured on the server side - clients only need an access token.

Features

  • Server-side API Key storage - Real API keys are stored on the proxy server, not exposed to clients
  • Simplified client config - Clients only need to specify provider name (e.g., openrouter), no need for full model path
  • Access Token authentication - Clients use a simple access token instead of real API keys
  • Provider switching commands - /proxy/providers and /proxy/provider/<name> endpoints
  • Per-provider default models - Each provider can have a default model configured
  • SSL/HTTPS support - Upload certificates or specify local paths
  • Bilingual Web UI - English and Chinese interface

Installation

# Install globally
npm install -g clawd-proxy

# Start server
clawd-proxy

Client Configuration (Clawdbot)

{
  "models": {
    "providers": {
      "vps": {
        "baseUrl": "http://YOUR_VPS_IP:1180/v1",
        "apiKey": "your-access-token",
        "api": "openai-completions",
        "models": [
          { "id": "openrouter", "name": "openrouter" }
        ]
      }
    }
  },
  "agents": {
    "model": {
      "primary": "vps/openrouter"
    }
  }
}

That's it! The real API key and default model are configured in the proxy's web console.

Command Endpoints

| Endpoint | Description | |----------|-------------| | GET /proxy/providers | List all available providers | | GET /proxy/provider/<name> | Switch to a provider | | GET /proxy/status | Current status with details | | GET /health | Health check |

Web Console

Access at http://YOUR_IP:1180

Features:

  • Configure API keys for each provider (stored server-side)
  • Set default models for each provider
  • Enable/disable providers
  • Set access token for client authentication
  • View request logs
  • Add custom providers
  • SSL/HTTPS configuration
  • Change server port

中文

轻量级 LLM API 代理服务器,带 Web 控制台。API Key 和模型在服务端配置,客户端只需访问令牌。

特性

  • 服务端存储 API Key - 真实的 API Key 保存在代理服务器,不暴露给客户端
  • 简化客户端配置 - 客户端只需指定 provider 名称(如 openrouter),无需完整 model 路径
  • Access Token 认证 - 客户端使用简单的访问令牌代替真实 API Key
  • Provider 切换命令 - /proxy/providers/proxy/provider/<name> 接口
  • Provider 默认模型 - 每个 provider 可以配置默认使用的模型
  • SSL/HTTPS 支持 - 上传证书或指定本地路径
  • 中英文双语界面

安装

# 全局安装
npm install -g clawd-proxy

# 启动服务器
clawd-proxy

客户端配置 (Clawdbot)

{
  "models": {
    "providers": {
      "vps": {
        "baseUrl": "http://你的VPS_IP:1180/v1",
        "apiKey": "你的访问令牌",
        "api": "openai-completions",
        "models": [
          { "id": "openrouter", "name": "openrouter" }
        ]
      }
    }
  },
  "agents": {
    "model": {
      "primary": "vps/openrouter"
    }
  }
}

就这么简单!真实的 API Key 和默认模型在代理服务器的 Web 控制台配置。

命令接口

| 端点 | 说明 | |------|------| | GET /proxy/providers | 列出所有可用的 providers | | GET /proxy/provider/<name> | 切换到指定 provider | | GET /proxy/status | 当前状态详情 | | GET /health | 健康检查 |

Web 控制台

访问 http://你的IP:1180

功能:

  • 为每个 provider 配置 API Key(服务端存储)
  • 为每个 provider 设置默认模型
  • 启用/禁用 providers
  • 设置客户端访问令牌
  • 查看请求日志
  • 添加自定义 providers
  • SSL/HTTPS 配置
  • 修改服务器端口

License

MIT