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

coder-link

v0.3.0

Published

Coder Link: connect coding tools to any model/provider

Readme

Coder Link (coder-link)

A CLI that links coding tools to models from multiple providers.

Features

  • Multi-Provider Support: GLM Coding Plan (Global/China), Kimi 2.5, OpenRouter, NVIDIA, LM Studio (local), Alibaba, ZenMux, and Xiaomi Token Plan
  • Interactive Wizard: Friendly onboarding guidance on first launch
  • Tool Management: Automatically configures CLI tools with your API credentials
  • Quick Launch: Run any configured tool directly with coder-link run <tool>
  • MCP Configuration: Easily manage Model Context Protocol services
  • Local Storage: All settings stored securely on your machine
  • Internationalization: Chinese and English bilingual interface
  • Status & Health Check: View current configuration and diagnose issues quickly

Screenshots

Main Menu

Main Menu

Provider Configuration

Provider Configuration

Coding Tools

Coding Tools

Supported Coding Tools

  • Claude Code
  • OpenCode
  • Crush
  • Factory Droid
  • Kimi (native)
  • AMP Code
  • Pi CLI

Quick Start

Prerequisite: Node.js 18 or later

Install and Launch

Option 1: Run directly with npx

npx coder-link

Option 2: Install globally with npm

npm install -g coder-link
coder-link

Option 3: Install globally with bun

bun add -g coder-link
coder-link

Complete the Wizard

Once you enter the wizard UI, use Up/Down arrow keys to navigate and press Enter to confirm each action, following the guided initialization flow.

The wizard will help you complete:

  1. Select UI language (English or Chinese)
  2. Choose a provider (GLM Coding Plan Global/China, Kimi 2.5, OpenRouter, NVIDIA, Alibaba, ZenMux, Xiaomi, or LM Studio)
  3. Enter your API key
  4. Select tools to manage
  5. Automatically configure selected tools
  6. Manage MCP services (optional)

Command List

Show help

coder-link -h
coder-link --help

Show version

coder-link -v
coder-link --version

Run the initialization wizard

coder-link init

Language management

coder-link lang show              # Display the current language
coder-link lang set zh_CN         # Switch to Chinese
coder-link lang set en_US         # Switch to English
coder-link lang --help            # Show help for language commands

API key management

coder-link auth                              # Interactively set key
coder-link auth glm_coding_plan_global <token>   # Choose Global plan and set key
coder-link auth glm_coding_plan_china <token>   # Choose China plan and set key
coder-link auth kimi <token>                    # Set Kimi API key
coder-link auth openrouter <token>              # Set OpenRouter API key
coder-link auth nvidia <token>                 # Set NVIDIA API key
coder-link auth xiaomi <token>                 # Set Xiaomi Token Plan API key
coder-link auth revoke                       # Delete the saved key
coder-link auth reload <tool>                # Reload config into a tool
coder-link auth --help                        # Show help for auth commands

Tool management

coder-link tools list             # List all supported tools and their status
coder-link tools install <tool>   # Install a coding tool
coder-link tools uninstall <tool> # Uninstall a coding tool

Run a tool directly

Launch any configured coding tool without entering the interactive menu:

coder-link run droid              # Launch Factory Droid with your configured provider
coder-link run claude             # Launch Claude Code
coder-link run opencode           # Launch OpenCode
coder-link run crush              # Launch Crush
coder-link run kimi               # Launch Kimi
coder-link run pi                 # Launch Pi CLI
coder-link run codex              # Launch Codex CLI
coder-link run mastra             # Launch Mastra Code
coder-link run ob1                # Launch OB1 CLI

Options:

coder-link run droid --new-window     # Launch in a new terminal window (Windows only)
coder-link run droid --same-window    # Launch in this terminal
coder-link run droid --skip-config    # Skip provider config sync, just launch
coder-link run droid --model <model>  # Override model to use
coder-link run droid --plan <plan>    # Use a specific provider plan
coder-link run droid --api-key <key>  # Use a specific API key
coder-link run droid --json           # Output as JSON for programmatic use

Tool aliases: You can use short names like droid for factory-droid, claude for claude-code, and mastracode for mastra.

MCP management

coder-link mcp list               # List available MCP services
coder-link mcp installed          # List installed MCP services
coder-link mcp install <service>  # Install an MCP service
coder-link mcp uninstall <service> # Uninstall an MCP service

Health check

coder-link doctor                 # Inspect system configuration and tool status

Configuration File

The configuration file is stored at ~/.coder-link/config.yaml:

lang: zh_CN                    # UI language
plan: glm_coding_plan_global   # Plan type: glm_coding_plan_global, glm_coding_plan_china, or kimi
api_key: your-api-key-here     # API key

Provider Details

GLM Coding Plan (Global)

  • Base URL: https://api.z.ai/api/anthropic (Claude Code) or https://api.z.ai/api/coding/paas/v4 (others)
  • Models: GLM-5, GLM-4.7, GLM-4.6, GLM-4.5-air
  • Get your API key from Z.AI Open Platform

GLM Coding Plan (China)

  • Base URL: https://open.bigmodel.cn/api/anthropic (Claude Code) or https://open.bigmodel.cn/api/coding/paas/v4 (others)
  • Models: GLM-5, GLM-4.7, GLM-4.6, GLM-4.5-air
  • Get your API key from Z.AI Open Platform

OpenRouter

  • Base URL: https://openrouter.ai/api/v1
  • Models: Various LLMs including Claude, GPT, and more
  • Get your API key from OpenRouter.ai

NVIDIA

Xiaomi Token Plan (Singapore)

  • OpenAI Base URL: https://token-plan-sgp.xiaomimimo.com/v1
  • Anthropic Base URL: https://token-plan-sgp.xiaomimimo.com/anthropic
  • Configure with coder-link auth xiaomi <token> or through Provider Setup.

How It Works

The tool uses a manager pattern where each coding tool has its own manager class that knows how to:

  1. Read and write the tool's configuration file
  2. Inject the appropriate API credentials and endpoints
  3. Detect existing configurations
  4. Manage MCP (Model Context Protocol) services

When you run coder-link auth <plan> <token> or use the wizard, the tool:

  1. Saves your API key and plan type to ~/.coder-link/config.yaml
  2. For each selected tool, calls its manager's loadConfig() method
  3. The manager writes the appropriate configuration to the tool's config file
  4. MCP services can be installed to extend tool capabilities

MCP Services

MCP (Model Context Protocol) allows coding tools to access external services. Built-in MCP services include:

  • filesystem: File system operations
  • github: GitHub integration

You can also install custom MCP services through the tool's own marketplace (Claude Code) or manually configure them.

Development

# Clone the repository
git clone https://github.com/HenkDz/coder-link.git
cd coder-link

# Install dependencies
bun install

# Build
bun run build

# Run in development mode
bun run dev

# Lint
bun run lint

Contributing

We welcome contributions! Please feel free to submit issues or pull requests.

License

MIT