3,701 prompts from top AI collections
← Back to Market
[UNTESTED] [gumieri/nenya] 2 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,154 characters
Status: [UNTESTED] Endpoints found: http://localhost:8080/v1/chat/completions http://localhost:8080/v1/models Source: https://github.com/gumieri/nenya <img alt="nenya" src="https://github.com/user-attachments/assets/bd518ded-2b65-42f9-866e-5a670cf9dbb1" /> # Nenya AI Gateway ![go-version] ![License][license] ![zero-deps] ![CI][ci] ![CodeQL][codeql] ![Release][release] ![Sponsor][sponsor] AI coding clients transmit your source code, prompts, and credentials to cloud LLM providers on every request. Nenya is the gatekeeper in between: a lightweight, zero-dependency API gateway that redacts secrets before they leave your machine, keeps context payloads small, and routes across providers with fallback, caching, and transparent SSE streaming, plus an opt-in anti-poisoning stack that detects prompt injection and controls egress. Security-hardened: non-root execution, mlock for secrets, seccomp + no-new-privileges. **Compatible with any provider that implements the OpenAI Or Anthropic Chat Completions API.** For 23 providers we ship built-in adapters with specialized handling. <img alt="Nenya demo: secrets are redacted before reaching the upstream provider" src="docs/demo.gif" width="100%"> ## Quick Start ### Run with Podman Create minimal config and secrets: ```bash mkdir -p config secrets cat > config/config.json << 'EOF' { "server": { "listen_addr": ":8080" }, "agents": { "default": { "strategy": "fallback", "models": ["gemini-2.5-flash"] } } } EOF cat > secrets/provider_keys.json << 'EOF' { "provider_keys": { "gemini": "AIza..." } } EOF cat > secrets/client.json << EOF { "client_token": "nk-$(openssl rand -hex 32)" } EOF ``` Note: the last heredoc is unquoted on purpose, so `$(openssl rand -hex 32)` expands once while the file is written and your token is unique. Run the container (the same flags work with `docker run`): ```bash podman run -d \ --name nenya \ -p 8080:8080 \ -v ./config:/etc/nenya:ro \ -v ./secrets:/run/secrets/nenya:ro \ -e NENYA_SECRETS_DIR=/run/secrets/nenya \ --cap-drop=ALL \ --cap-add=IPC_LOCK \ --security-opt=no-new-privileges:true
Download .txt