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

nonorouter

v2.0.0

Published

Passerelle IA Multi-Providers unifiée avec Dashboard Web & auto-détection d'IA locales (Ollama/LM Studio).

Readme

🚀 NonoRouter v2.0.0 — Passerelle & Administration IA Multi-Providers

npm version License: MIT Node.js Bun

NonoRouter est une passerelle de routage IA haute performance et unifiée, compatible avec la spécification OpenAI REST API. Elle vous permet de centraliser, administrer et router toutes vos requêtes d'intelligence artificielle vers OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Groq, ainsi que vers vos IA locales (Ollama et LM Studio).


✨ Fonctionnalités Principales

  • 🌐 Dashboard Web Ultra-Moderne : Interface en Glassmorphic Dark Theme avec 11 modules (Analytics, Logs en temps réel, Chat Unifié Markdown, Comparateur A/B, Arène Multi-Agents, Assistant Vocal).
  • 💻 Détection Automatique d'IA Locales : Scan en 1-clic d'Ollama (:11434) et LM Studio (:1234) pour utiliser vos modèles locaux (llama3, deepseek-r1:8b, etc.) sans clé API.
  • Exécutable CLI Universel (npx / bunx) : Démarrez la passerelle instantanément sur n'importe quel ordinateur ou dossier sans installation complexe.
  • 🔑 Gestionnaire de Clés API & Testeur de Connexion : Saisissez et modifiez vos clés .env en direct depuis le Dashboard Web avec test de latence.
  • 🛡️ Authentification Sécurisée : Support de l'authentification officielle Google Identity Services (OAuth 2.0) et mot de passe d'administration.
  • 🤖 Compatibilité Drop-in OpenAI : Fonctionne avec tous vos outils préférés (Aider CLI, Continue.dev, Cursor IDE, LangChain, Auto-GPT, SDK Python/Node).
  • 🔄 Mécanisme de Fallback Automatique : Redirection automatique vers un modèle de secours en cas d'erreur ou d'inaccessibilité d'un provider.

🚀 Installation & Démarrage Rapide

Option 1 : Démarrage direct via npx ou bunx (Aucune installation requise)

# Avec NPX (Node.js)
npx nonorouter

# Ou avec Bun
bunx nonorouter

Option 2 : Installation globale via npm

npm install -g nonorouter

# Puis lancez depuis n'importe quel terminal
nonorouter

Option 3 : Cloner le dépôt GitHub (Pour développement)

# 1. Cloner le projet
git clone https://github.com/votre-nom/nonorouter.git
cd nonorouter

# 2. Installer les dépendances
npm install

# 3. Lancer la passerelle
npm start

Rendez-vous ensuite sur http://localhost:3001 pour accéder au tableau de bord !


🛠️ Utilisation avec les Outils CLI & IDE

1. Aider CLI (Assistant de Code Terminal)

aider --openai-api-base http://localhost:3001/v1 \
      --openai-api-key 123456 \
      --model google/gemini-2.0-flash

2. cURL / Terminal (Bash & PowerShell)

curl -X POST "http://localhost:3001/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer 123456" \
  -d '{
    "model": "google/gemini-2.0-flash",
    "messages": [{"role": "user", "content": "Bonjour NonoRouter !"}]
  }'

3. Extension VS Code / Cursor (Continue.dev)

Dans votre fichier ~/.continue/config.json :

{
  "models": [
    {
      "title": "NonoRouter",
      "provider": "openai",
      "model": "google/gemini-2.0-flash",
      "apiKey": "123456",
      "apiBase": "http://localhost:3001/v1"
    }
  ]
}

4. SDK Python (OpenAI Library)

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:3001/v1",
    api_key="123456" # Votre mot de passe NonoRouter
)

response = client.chat.completions.create(
    model="google/gemini-2.0-flash",
    messages=[{"role": "user", "content": "Raconte-moi une blague."}]
)

print(response.choices[0].message.content)

🔐 Variables d'Environnement (.env)

Créez ou modifiez le fichier .env à la racine pour configurer vos clés API :

OPENAI_API_KEY=votre_cle_openai
ANTHROPIC_API_KEY=votre_cle_anthropic
GEMINI_API_KEY=votre_cle_gemini
DEEPSEEK_API_KEY=votre_cle_deepseek
GROQ_API_KEY=votre_cle_groq
NONOROUTER_PASSWORD=123456

📜 Licence

Projet distribué sous la licence MIT.