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

omnigate-ai

v1.0.3

Published

Privacy-first, self-hosted LLM API Gateway and Proxy for tracking token usage.

Readme

OmniGate AI 🌌

Version License

The Privacy-First LLM API Gateway for Developers & AI Agents

OmniGate AI is a self-hosted, local proxy server designed to sit between your code editors (like VS Code, Roo Code, Cline) and your LLM providers (OpenAI, DeepSeek, Anthropic). It intercepts API requests to securely inject your real API keys, count tokens, and calculate costs in real-time—all without your secret keys ever leaving your machine.


🚀 Quick Start

No complex installations required. If you have Node.js installed, simply run:

npx omnigate-ai

This will instantly download and start the proxy server on port 8080.

💻 The Dashboard

Once the server is running, open your web browser and navigate to: http://localhost:8080/dashboard

You will be greeted by a beautiful, glassmorphic UI where you can:

  1. Secure Your Gateway: Create a local "Gateway Secret Key" to lock down your proxy.
  2. Add API Keys: Securely store your real OpenAI or DeepSeek API keys locally.
  3. Track Usage: Watch real-time gauges spin as your tokens are consumed, showing you exact costs and RPM (Requests Per Minute).
  4. Audit Logs: View a live feed of every single request your AI tools are making behind the scenes.

🛠️ Integrating with VS Code / AI Agents

Continue Extension (VS Code)

Replace your ~/.continue/config.yaml with the following:

name: OmniGate Local Config
version: 1.0.0
schema: v1

models:
  - name: DeepSeek (via OmniGate)
    provider: openai
    model: deepseek-v4-pro
    apiBase: http://localhost:8080/v1/
    apiKey: your-gateway-secret-key
    roles:
      - chat
      - edit
      - apply
    requestOptions:
      headers:
        X-Gateway-Key: your-gateway-secret-key
        X-Gateway-User-ID: your-name
        X-Gateway-Project-ID: your-project-name

Important: Continue v2.0+ requires name (not title), roles, and the top-level schema: v1 field. Without these, you'll see a "config error" in the VS Code status bar.

Roo Code / Cline / Other Agents

  1. Set the Provider to OpenAI Compatible.
  2. Set the Base URL to http://localhost:8080/v1.
  3. Set the API Key to your Gateway Secret Key (the one you created in the dashboard, not your real OpenAI key).

Now, start coding! OmniGate AI will silently intercept the requests, inject your real API key, forward it to the provider, and track your tokens on the dashboard.

🤖 Routing Your Custom AI Apps (Python & Node.js)

Are you building your own AI apps? You can easily route them through OmniGate AI to track their token usage too! Just change the base URL in your official OpenAI SDK to point to your local proxy.

Python Example:

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8080/v1", # Point to your proxy
    api_key="your-gateway-secret-key"    # Use your local secret
)

Node.js Example:

import OpenAI from 'openai';

const openai = new OpenAI({
    baseURL: "http://localhost:8080/v1", // Point to your proxy
    apiKey: "your-gateway-secret-key"    // Use your local secret
});

✨ Features

  • 🔒 100% Local Privacy: Your real API keys are saved locally. Cloud-based AI tools never see them.
  • 💸 Token & Cost Tracking: Accurate token counting and real-time cost estimation for OpenAI and DeepSeek models.
  • 🛡️ Rate Limit Protection: Monitor your RPM to prevent accidental massive API bills from rogue agents.
  • 📡 Live Audit Log: Total transparency into what your automated agents are actually sending to the LLMs.
  • ⚡ Zero Configuration: Starts instantly with a single npx command.

🌐 Website

Visit our Landing Page for more information.

📄 License

MIT License