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

@aiden2209/fencode

v0.1.24

Published

FenCode is a coding agent runtime that runs locally on your computer.

Readme

FenCode

FenCode is a coding agent runtime that runs locally on your computer.

It includes:

  • App Server (default 32188)
  • Web UI (default 25874)
  • One CLI launcher: fencode

This package is published as @aiden2209/fencode.

Install

npm i -g @aiden2209/fencode

Quick Start

fencode start
fencode status

Open Web UI at http://localhost:25874.

CLI Commands

fencode start [--ap <port>] [--ui <port>]
fencode stop
fencode restart [--ap <port>] [--ui <port>]
fencode status
fencode logs [--tail <lines>]
fencode check
fencode update
fencode autostart --true
fencode autostart --false
fencode version
fencode --version
fencode -v
fencode help

Defaults:

  • --ap 32188
  • --ui 25874

Auth Modes (Important)

FenCode supports two authentication modes:

1) OAuth Mode

  • Uses OAuth tokens from FenCode auth file.
  • Intended for OpenAI ChatGPT/Codex account flow.
  • Runtime uses OAuth token (tokens.access_token) and Codex-compatible backend behavior.
  • Provider base URL is treated as managed/locked by OAuth flow in settings.

2) API Key Mode

  • Uses OPENAI_API_KEY.
  • Supports custom OpenAI-compatible base URLs.
  • Best for custom provider/router setups.

Auth File Location

FenCode reads/writes auth in active FenCode home:

  • Dev/source runtime: ~/.fencode-dev/auth.json
  • Installed/npm runtime: ~/.fencode/auth.json
  • If FENCODE_HOME is set, that path is used instead.

OAuth Import

You can import existing OAuth data from ~/.codex/auth.json from Settings, but it is optional. FenCode runtime still uses its own active auth file.

Storage Paths

Default home directory:

  • Dev/source checkout: ~/.fencode-dev
  • Installed/npm package: ~/.fencode

Inside home:

  • config.json (runtime config)
  • auth.json (auth state)
  • data/ (DB/state)
  • runtime/ (launcher state + logs)

Update

Check updates:

fencode check

Upgrade:

npm i -g @aiden2209/fencode@latest

Or use:

fencode update

fencode update will:

  • stop running FenCode services
  • upgrade global package to latest
  • start services again with previous/default ports
  • print updated version and runtime URLs

When started from the UI, FenCode starts the update in the background, polls health/version every 5 seconds, tolerates temporary downtime during restart, then reloads the page after the active version matches the latest version.

Windows Autostart

Enable:

fencode autostart --true

Disable:

fencode autostart --false

This writes/removes: HKCU\Software\Microsoft\Windows\CurrentVersion\Run\FenCode

Notes

  • fencode start runs a hidden supervisor process.
  • Supervisor manages app server + web UI child processes.
  • Runtime state file:
    • .../runtime/launcher-state.json
  • Logs:
    • .../runtime/app-server.out.log
    • .../runtime/web-ui.out.log