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

ai-provider-helper

v14.2.0

Published

Local AI helper for the AI Provider Library Foundry VTT module. Loopback proxy on 8090/8091: key vault, OAuth device flows, provider probes, chat, vision, and image calls.

Readme

AI Provider Helper runs on your computer alongside Foundry. It keeps the keys, connects to providers, and serves the AI tools used by modules such as Hex Atlas Survey and Imaginary Tiles. The AI Provider Library connects those modules to this helper. Start it before opening their AI tools and leave its window running while you play.

The helper listens on your computer rather than exposing your keys through the Foundry host. It uses two local ports:

  • 8090 app: health, catalog, vault, OAuth, probes, chat, vision, images
  • 8091 control: start/stop/status

The Foundry tab does not contact AI providers directly. For the exact HTTP contract and security model, see the server reference.

Get started

Windows

  1. Open the latest GitHub release.
  2. Download AI-Helper-windows.zip.
  3. Unzip it anywhere you like.
  4. Double-click AI Helper.bat and leave the window open.

If Foundry is hosted on The Forge, Molten, Foundry Server, or another service, run AI Helper (hosted).bat instead. The helper guide covers that setup.

macOS, Linux, and command-line users

Needs Python 3.11+ on PATH (or APL_PYTHON pointing at it). First run creates a venv inside the package and installs requirements:

npx ai-provider-helper
# options
npx ai-provider-helper --port 8090 --ctl-port 8091 --hosted

--hosted adds CORS for Forge-class hosts. Ctrl+C stops both servers.

From a checkout

cd backend
uv venv && uv pip install -r requirements.txt
uv run uvicorn app.main:app --host 127.0.0.1 --port 8090

Linux systemd units: dev/install-backend.sh in the module repo, or run the control server as a child like the npm entry does.

For contributors

Build the Windows zip with:

python companion/pack_windows.py

Produces companion/dist/AI-Helper-windows.zip: embeddable CPython, the backend, and the launchers. No PATH, no venv dance for the GM.

Run tests with:

cd backend && pytest

No live provider spend.

Safety

  • Loopback bind by default. No 0.0.0.0 until v2 has a control token.
  • Hosted CORS only for the explicit origin list, never *.
  • /v1/fetch-image rejects localhost, 0.0.0.0, ::1, and *.local.
  • Vault keys are AES-256-GCM at rest, token files are mode 0600.
  • Keys are never logged and never returned to consumers.