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

@ktvdung1606/tproxy

v0.1.25

Published

npm wrapper for the tproxy AI gateway binary — includes system tray and auto-start

Readme

@ktvdung1606/tproxy

npm CLI wrapper for the tproxy AI gateway.

Install

npm install -g @ktvdung1606/tproxy

The package includes native gateway binaries for macOS (Apple Silicon and Intel), Linux (x64 and ARM64), and Windows (x64 and ARM64). Node.js 18 or newer is required.

First login

On the first gateway start, the local dashboard password is initialized to 123123 and stored as a salted verifier. Change it immediately in Settings. For any dashboard access outside loopback, configure a strong TPROXY_MANAGEMENT_SECRET instead.

Automated releases

Pushing a version tag such as v0.1.15 runs the GitHub Actions release workflow. It verifies that the tag matches package.json, cross-compiles the bundled binaries, and publishes to npm. Add an npm granular token with publish access as the repository Actions secret named NPM_TOKEN before creating the tag.

Usage

# Foreground gateway
tproxy --config ~/.tproxy/config.yaml

# System tray (menu bar / notification area) — like 9Router
tproxy --tray
# or
tproxy tray

Tray menu

| Item | Action | |------|--------| | TProxy (Port …) | Status (read-only) | | Open Dashboard | Opens http://127.0.0.1:<port>/dashboard/ | | Enable Auto-start / ✓ Auto-start Enabled | Toggle launch at login | | Quit | Stop gateway and exit |

Auto-start at login

tproxy autostart enable    # LaunchAgent / Startup / XDG autostart
tproxy autostart disable
tproxy autostart status

You can also toggle auto-start from the tray menu. On enable, the OS starts:

node <path-to-tproxy.js> --tray
  • macOS: ~/Library/LaunchAgents/com.tproxy.autostart.plist
  • Windows: Startup folder tproxy.vbs
  • Linux: ~/.config/autostart/tproxy.desktop

Logs (macOS autostart): ~/.tproxy/logs/.

Notes

  • The launcher runs its bundled binary, so it does not depend on a separately installed tproxy executable or Go toolchain.
  • To override the bundled binary for development, set TPROXY_BINARY to an absolute path you trust.
  • First tray run on macOS/Linux may install systray2 into ~/.tproxy/runtime/ (one-time).
  • Windows tray uses PowerShell NotifyIcon (no native binary).
  • Default config is created at ~/.tproxy/config.yaml if missing.
  • On first launch, TPROXY_MASTER_KEY and TPROXY_MANAGEMENT_SECRET are generated automatically and stored in ~/.tproxy/.env (mode 0600). Real environment variables take precedence over this file. Back it up — the master key protects stored provider credentials, and losing it makes them undecryptable.