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

@hachej/boring-ui-cli

v0.1.81

Published

Turn an agent into an app

Readme

@hachej/boring-ui-cli

License: MIT npm

Turn an agent into an app — in one command. Start a full IDE-style workbench pointed at a folder: chat, file tree, editor, command palette, plugins. No clone, no database, no config.

npx @hachej/boring-ui-cli

The binary is boring-ui.


Quick start

# Open the current folder as a workspace (browser opens at localhost:5200)
npx @hachej/boring-ui-cli

# Open a specific folder
npx @hachej/boring-ui-cli ~/projects/foo

# Custom port / host
npx @hachej/boring-ui-cli --port 8080 --host 127.0.0.1

# Exposing beyond loopback requires an explicit unsafe local-bridge opt-in
npx @hachej/boring-ui-cli --host 0.0.0.0 --allow-insecure-local-bridge

The CLI does not take an API key flag. On first run, if no LLM provider is configured it prints a guide: in another terminal run pi (or npx @earendil-works/pi-coding-agent) and use /login to add an API key or sign in to a subscription (Claude Pro/Max, ChatGPT Plus, Copilot). Credentials are saved at ~/.pi/agent/auth.json; refresh the browser afterward.

Invoke scheduled automations

Folder mode exposes a loopback-only due-operation endpoint. It evaluates only the current cron minute and never starts a background timer or daemon:

curl --fail --silent --show-error -X POST \
  http://127.0.0.1:5200/api/v1/boring-automation/due

Configure that command in user-owned cron/systemd while boring-ui is already running. Missed minutes are intentionally not backfilled. The endpoint is unavailable in workspaces mode and hosted deployments.


Commands

boring-ui [folder] [options]            Open a single folder as a workspace (folder mode)
boring-ui workspaces                    Start the multi-workspace hub (workspaces mode)
boring-ui workspaces add <folder>       Register a folder as a saved workspace
boring-ui workspaces list               List saved workspaces
boring-ui workspaces remove <id>        Remove a saved workspace
boring-ui workspaces rename <id> <name> Rename a saved workspace
boring-ui plugin <subcommand> …         Plugin authoring (delegates to boring-ui-plugin)

boring-ui plugin … forwards to @hachej/boring-ui-plugin-cli; run boring-ui plugin with no subcommand for its usage.

Options

| Flag | Default | Description | |------|---------|-------------| | -p, --port <port> | 5200 (or $PORT) | HTTP port | | --host <host> | 127.0.0.1 (or $HOST) | Listen host. Non-loopback hosts require --allow-insecure-local-bridge because the standalone CLI uses unauthenticated local-only bridge browser auth. | | -m, --mode <mode> | local | local (no sandbox, full network) or local-sandbox (bwrap-isolated, no network, Linux only) | | -h, --help | | Show help |

Environment variables

| Variable | Description | |----------|-------------| | PORT, HOST | Fallbacks for --port / --host | | BORING_MODE | Fallback for --mode | | BORING_AGENT_WORKSPACE_ROOT | Overrides the folder argument in folder mode | | BORING_UI_ALLOW_INSECURE_LOCAL_BRIDGE | 1/true/yes to allow non-loopback binding with the unauthenticated local CLI bridge auth | | BORING_UI_WORKSPACES_PATH | Path to the workspaces registry (default ~/.boring-ui/workspaces.yaml) | | BORING_USE_LOCAL_PACKAGES | 1 to resolve the bundled plugin-cli runtime from the local monorepo checkout |


Installation

No install needed — npx @hachej/boring-ui-cli. Or install globally:

npm install -g @hachej/boring-ui-cli   # or: pnpm add -g @hachej/boring-ui-cli
boring-ui

From source

git clone https://github.com/hachej/boring-ui.git
cd boring-ui && pnpm install
pnpm --filter @hachej/boring-ui-cli build:full   # builds front bundle + server
node packages/cli/dist/index.js

build:full is required from source: the server refuses to start without a built frontend under public/.


Two modes

  • Folder mode (boring-ui [folder]) — one folder, one workspace. The fast editor-launcher path, like code ..
  • Workspaces mode (boring-ui workspaces) — a persistent local hub serving multiple folder-backed workspaces, with a workspace switcher in the UI. The registry is a user-local YAML file, not a database.

Both run a Fastify server that serves the prebuilt React/Vite SPA plus the agent and workspace API routes against your real filesystem. There is no database.

Plugins

The CLI discovers plugins from Pi-shaped roots — ~/.pi/agent/extensions/* (global) and <workspace>/.pi/extensions/* (workspace-local) — plus CLI-bundled defaults (e.g. @hachej/boring-ask-user, @hachej/boring-diagram). Authoring is handled by the bundled boring-ui-plugin CLI:

boring-ui-plugin create <name> --path plugins   # npm-package plugin (build step)
boring-ui-plugin scaffold <name>                 # workspace runtime plugin (.pi/extensions, hot-reload)
boring-ui-plugin verify [name]
boring-ui-plugin test <name>

See @hachej/boring-ui-plugin-cli for the full plugin authoring workflow.


Documentation


About Contributions: Please don't take this the wrong way, but I do not accept outside contributions for any of my projects. I simply don't have the mental bandwidth to review anything, and it's my name on the thing, so I'm responsible for any problems it causes; thus, the risk-reward is highly asymmetric from my perspective. Feel free to submit issues, and even PRs if you want to illustrate a proposed fix, but know I won't merge them directly. Instead, I'll have Claude or Codex review submissions via gh and independently decide whether and how to address them. Bug reports in particular are welcome. Sorry if this offends, but I want to avoid wasted time and hurt feelings.


License

MIT