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

@bgtbeigulol-png/approx

v0.1.1

Published

Approx — a brutalist coding-agent TUI on condensed-milk paper

Readme

Approx

简体中文 | English

Approx is a focused coding-agent workspace for the terminal, powered by Pi. It gives you a calm place to chat, plan work, review file changes, and handle the Git work around a project.

Approx v0.1.1 is currently verified on Windows Terminal with PowerShell 7.

Install

Requirements: Windows 10/11 and Node.js 22.19 or newer.

$ErrorActionPreference = 'Stop'
npm install --global @bgtbeigulol-png/approx
approx

Or run from source:

$ErrorActionPreference = 'Stop'
git clone https://github.com/bgtbeigulol-png/Approx.git
Set-Location -LiteralPath .\Approx
npm ci
npm start

First Run

Run approx in the project directory you want to work on. Approx uses Pi's existing provider and model setup. When no model is available, Approx opens its own setup flow so you can connect a provider without leaving the app.

Your credentials stay in Pi's user configuration. Approx does not put API keys in project files, preferences, or conversation text.

Everyday Use

$ErrorActionPreference = 'Stop'
approx --continue      # continue the latest conversation
approx --no-splash     # skip the startup animation
approx --scripted      # run the offline demo
approx update          # install the newest release
approx --version       # print the installed version
approx --help

| Key | Action | | --- | --- | | Enter | Send | | Shift+Enter | New line | | Shift+Tab | Switch Go / Plan | | Ctrl+P | Command palette | | Ctrl+K | Git workbench | | Ctrl+B | Approde skills and prompts | | Ctrl+O | Settings | | Ctrl+G | Quick jump | | Ctrl+S | Saved conversations | | Ctrl+L | Clear context | | Esc | Stop or close | | Ctrl+C | Exit |

Type /help for the complete list. Type /git to open the Git workbench.

Type @ in the composer to reference a workspace file. Approx completes nested project paths, quotes names containing spaces, and preserves the reference as plain prompt text so Pi can read the file only when its contents are needed.

Updates

Run approx update from any terminal to check and install the newest release. A Git checkout follows its configured upstream, requires a clean worktree, and synchronizes npm dependencies after a fast-forward pull. An npm installation checks the package registry and installs the exact newest published version globally. On an interactive terminal, the standalone updater shows its progress in a compact live card and restores the shell cursor when it finishes. The Settings page controls update notices and automatic updates; /update, /update install, and /update hide expose the same workflow in-app.

approx update --help describes the standalone updater without contacting its Git or npm channel.

Plan Mode

Go Mode starts work immediately. Plan Mode lets Approx ask a few focused questions and show a plan before the agent changes files. Approve with Y or Enter; press N to request a revision. Plan state is stored with the session, and edits made while the agent is working restart it from the newest snapshot.

Approde

Open Approde with Ctrl+B or /approde. Its docked sidebar lets you enable or disable discovered Pi skills and prompts without discarding the conversation. You can save named presets, restore the last active set, and review model-requested changes before they are applied.

Status and Effort

/status opens four sheets for context-window pressure, recent token activity, model and effort mix, and cost totals. Usage history is stored locally for up to 90 days. /effort opens a dedicated picker for the current model's supported reasoning levels; changes made during a turn are applied to the next turn.

The effort spectrum runs physically from faster/shallower on the left to deeper reasoning on the right. High adds a silver starlit treatment, XHigh turns the panel into a meteor-lit night sky, and Max extends it into a moving, layered ocean with reflected light. Switching between any levels crossfades from the frame currently on screen, including rapid multi-level jumps. Reduced motion keeps the scenes static. /effort-debug previews all seven scenes without changing the active model, effort, or backend state.

Git Workbench

Open it with Ctrl+K or /git. It shows the current branch, recent commits, working-tree changes, staged changes, net line totals, and the selected diff. From the same view you can stage, unstage, discard with confirmation, refresh, and create a commit. Binary files are labelled, and oversized previews are clipped before they can flood the terminal process.

File edits made during a turn are grouped into a compact change summary in the conversation. Expand it when you need to inspect the details.

Editing an earlier message rewinds the Pi session branch and restores captured Write/Edit file snapshots. One-step redo rejoins the abandoned branch and replays its file state.

Troubleshooting

No model is available

Finish the setup flow shown by Approx. Existing Pi credentials and custom model settings are reused automatically.

approx is not recognized

Restart the terminal after global installation and check the npm global path:

$ErrorActionPreference = 'Stop'
npm prefix --global
Get-Command approx

The screen looks wrong

Use Windows Terminal with UTF-8, Unicode box characters, 24-bit color, and mouse support.

License

MIT