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

xling

v0.11.2

Published

Unified CLI for AI tools: settings management, API proxy with load balancing, multi-model discussions

Readme

xling

Unified CLI for launching AI tooling, routing prompts, and managing settings across Claude Code, Codex, and Gemini CLI.

What's in a Name? The Story of xling

The name xling was carefully chosen to represent the project's philosophy, blending modern tech symbolism with a rich, dual-meaning core.

The x Factor

The prefix x is a nod to its primary functions in the world of software development. It stands for:

  • eXecute: xling is built to run tasks with speed and precision.
  • eXtensible: The tool is designed from the ground up to be adaptable, with a plugin-friendly architecture that grows with your needs.

The Soul of the Command: ling

At the heart of the name is ling, a concept with two harmonious faces rooted in Chinese pinyin:

  1. 令 (lìng): This means "command" or "order." It represents the tool's heritage as a command-line interface—unwavering, precise, and powerful.
  2. 灵 (líng): This translates to "intelligence," "spirit," or "agility." It embodies the AI engine that gives xling its smarts, allowing it to understand natural language, anticipate intent, and perform complex tasks with a touch of magic.

Together, xling is more than just a tool; it's an intelligent partner that amplifies your ability to command your digital world.

Features

  • Unified Interface: Launch AI CLIs, route prompts, and manage settings with one tool
  • Prompt Router: xling p fan-outs requests across providers with fallback and streaming support
  • Model Council: xling council cross-judges answers across models and synthesizes a winner
  • Multi-Model Roundtable: xling discuss runs multi-agent debates via CLI or Web UI
  • OpenAI-Compatible Proxy: xling proxy exposes a load-balanced, key-rotated API gateway
  • React 19 Web UI: discuss --ui / council --ui serve a Vite-built React 19 + Tailwind 4 interface on port 3000
  • Quick Launcher: Just type xling x to start Claude Code instantly with yolo mode
  • Command Shortcuts: Define custom aliases for frequently used commands with sx
  • Multiple Scopes: Support for user, project, local, and system-level configurations
  • Profile/Variant Switching: Swap Codex profiles or Claude settings variants safely
  • JSON Output: Machine-readable output for scripting
  • Type Safe: Built with TypeScript for reliability

Installation

# Install dependencies
bun install

# Build the project
bun run build

# Link globally (optional)
npm link

Platform Requirements

Windows Users:

  • PowerShell 7+ is required for shell shortcuts (sx command with shell type)
  • Install from: https://github.com/PowerShell/PowerShell/releases

All Platforms:

  • Node.js >= 20.19.0
  • Git (for git-related commands)

Usage

xling bundles a quick launcher, configuration helpers, and git productivity commands. Detailed usage, flag tables, and examples live in docs/README.md and the per-command Markdown files under docs/. The summary below mirrors the docs so you can skim everything in one place.

Command Overview

  • x: Launch Claude Code, Codex, or Gemini CLI with resume flags, yolo toggle, and passthrough args.
  • p: Route prompts across configured providers or delegate to codex/claude/gemini CLIs with yolo defaults.
  • discuss: Run a multi-model roundtable via CLI or Web UI with topic, model, and strategy controls.
  • council: Ask multiple models the same question, have them cross-judge, and return the winning or synthesized answer.
  • proxy: Start an OpenAI-compatible proxy with load balancing, API key rotation, and optional access key protection.
  • sx: Execute command shortcuts/aliases defined in xling config.
  • settings:list|get|set|switch|inspect|sync|auth: Inspect, edit, switch, sync, and manage Codex auth profiles across scopes.
  • git:prc|prr|prv: Create, checkout, and view GitHub pull requests with automatic gh/git fallbacks.
  • git:wta|wtl|wtp|wtr|wts: Manage git worktrees (add/list/prune/remove/switch) with guard rails and subshell support.
  • version: Print the installed xling version.

Web UI (React 19)

  • discuss --ui and council --ui serve a React 19 + React DOM 19 interface built with Vite 7 and Tailwind CSS 4 from dist/ui (port 3000 by default).
  • Build the bundle with bun run build (runs build:ui) or bun run build:ui after frontend changes so the CLI can find dist/ui.
  • For live UI development, run bunx vite dev --config vite.config.ts --host --port 3000 from the repo root; keep the port aligned with the discuss server default.

Command Documentation (inline excerpt)

Launching AI tools

Prompting & discussion

Proxy gateway

Settings management

  • settings:list: summarize which config files exist per tool/scope (JSON or table view).
  • settings:get: print the raw config (or a specific Claude variant) for auditing and backups.
  • settings:set: open the target config in your editor of choice; handles variant creation.
  • settings:switch: flip active profiles (Codex) or Claude variants with safety checks.
  • settings:inspect: deep-dive into parsed settings with validation output.
  • settings:sync: sync Codex and Claude config.toml files with diff/backup support.
  • settings:auth: save, delete, restore, or list Codex auth profiles.

Git worktree helpers

Pull request helpers

Utilities

  • version: print the installed xling version (also available via xling --version).

Supported Tools

Claude Code

  • Scopes: user, project, local
  • Config Files:
    • User: ~/.claude/settings.json
    • Project: .claude/settings.json
    • Local: .claude/settings.local.json

Codex

  • Scopes: user
  • Config Files:
    • User: ~/.codex/config.toml
  • Features: Profile switching

Gemini CLI

  • Scopes: user, project, system
  • Config Files:
    • User: ~/.gemini/settings.json
    • Project: .gemini/settings.json
    • System: Platform-dependent

Xling Prompt Router

  • Scopes: user
  • Config Files:
    • User: ~/.claude/xling.json
  • Features: Provider registry and defaults for xling p and xling discuss