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

kodexlink

v0.1.8

Published

KodexLink desktop agent CLI

Readme

KodexLink

Your local Codex, paired to your phone.

KodexLink starts on your desktop, opens a local pairing panel, and connects the KodexLink mobile app to your local Codex runtime. Scan once from iPhone or Android, then keep the same Codex-backed workflow available away from your desk.

The mobile app is required for pairing. KodexLink is not a standalone desktop GUI.

Why Developers Install It

  • Start on desktop, continue on mobile
  • Pair through one QR scan from a local browser panel
  • Inspect relay, service, and runtime state from one page
  • Refresh pairing or reset identity when local state drifts

60-Second Setup

  1. Install the desktop CLI:
npm install -g kodexlink
  1. Start KodexLink:
kodexlink start
  1. Open the KodexLink mobile app and scan the pairing QR code shown in the terminal or local panel.

Mobile App

KodexLink pairing requires the mobile companion app:

  • iPhone app (App Store): https://apps.apple.com/us/app/kodexlink-codex-mobile-chat/id6761055159?uo=4
  • Android app (Google Play): https://play.google.com/store/apps/details?id=com.kodexlink.android

What Opens When You Start

Every time you run kodexlink start, KodexLink:

  1. Checks your local Codex runtime prerequisites.
  2. Starts the desktop agent in the platform-appropriate mode.
  3. Opens the local panel in your browser.
  4. Prints the local panel URL in the terminal.
  5. Prints a pairing QR code for the KodexLink mobile app.
  6. Prints a mobile app download reminder so first-time users know what to scan.

Platform Support

  • macOS: managed background service
  • Windows / Linux: foreground manual mode

Requirements

  • Node.js 18 or later
  • A working codex command in your shell
  • A local Codex session that has already completed codex login

Install

npm install -g kodexlink

If you only want the pairing QR code in the terminal and do not want to open the browser automatically:

kodexlink pair --no-open

Local Panel

The local panel is the browser-based companion page opened by KodexLink during kodexlink start. It provides:

  • Pairing QR code and manual pairing payload
  • Identity reset and fresh QR regeneration when pairing state is stale
  • Relay status and current relay source
  • Background service status
  • Background service restart actions
  • Recent local paths for logs and runtime state

Common Commands

kodexlink start
kodexlink pair --no-open
kodexlink status
kodexlink doctor
kodexlink service-install
kodexlink service-status
kodexlink service-stop
kodexlink service-remove

Relay Override

KodexLink uses the built-in relay by default:

wss://free.codexmobileapp.com/v1/connect

You can override it with a command flag:

kodexlink start --relay https://your-relay.example.com/

Or with an environment variable:

KODEXLINK_RELAY_URL=https://your-relay.example.com/ kodexlink start

KodexLink normalizes relay inputs such as https://.../ and converts them to the correct WebSocket endpoint internally.

Background Service

KodexLink currently supports managed background service mode on macOS only.

  • macOS: per-user launchd agent
  • Windows / Linux: keep kodexlink start running in the terminal for now

Useful commands:

kodexlink service-install
kodexlink service-status
kodexlink service-stop
kodexlink service-remove

Known Limitations

  • Windows and Linux currently run in foreground manual mode and do not yet support system-managed background service.
  • KodexLink expects the local codex command to already be installed and authenticated.
  • The current release focuses on pairing, status, local panel access, and relay connectivity. It is not a full desktop GUI client.
  • --show-pairing is still accepted for compatibility, but start already shows pairing by default.

Troubleshooting

Use:

kodexlink status
kodexlink doctor

If you need to switch relays, start by checking the currently active relay source in the local panel or kodexlink status.