# Oh My CPA

> Oh My CPA is a self-hosted, open-source web console for managing CLIProxyAPI, an AI gateway. Single Go binary with embedded React UI, SQLite, and CPA management key auth.

- **Category:** API Management
- **Licence:** MIT
- **Latest version:** v0.3.16
- **Open source:** oss
- **Languages:** Typescript, Go, JavaScript
- **Platforms:** Docker Compose, Linux, Build from Source
- **Tags:** SQLite, Dashboard, Proxy, Mcp Server, Llm Observability, Observability, LLM, Ai Gateway, Playground, Cost Tracking, Telemetry, Docker, React, Golang, Self Hosted, Cliproxyapi, AI Provider Management, OAuth Management, Cpa

## Description

Oh My CPA is a self-hosted control plane and observability console for CLIProxyAPI, an AI gateway that handles protocol adaptation, credential storage, and request proxying for LLM providers. It manages providers, credentials, and configuration while recording usage and cost per request. The software runs as a single Go binary with an embedded React console and local SQLite database. It authenticates using CPA's management key. Capabilities include managing AI providers with credentials, model options, retry policies, and enable switches; OAuth management for multiple providers with quota tracking; client API key creation and revocation; a model catalog from upstream providers; a playground for testing routed models with streaming responses; a plugin store and trusted plugin pages; a dashboard showing metrics like request counts, token rates, cache efficiency, and expenses over time; live routing visualization; request records with full-text search and detail drawers; background usage collection; logs and audit trail; request-time cost snapshots using an OpenRouter price book with custom overrides and channel multipliers; dual-mode configuration editor (forms or YAML); automatic encrypted config backups; encryption at rest for credentials and payloads; audited sensitive actions; offline operation with embedded assets; personalization with four languages, light/dark themes, custom palettes, and fonts; an MCP server for external AI agents; and a model playground. Deployment options include Docker Compose (with or alongside CPA), native executables for macOS, Windows, Linux, and FreeBSD (amd64/arm64), and building from source. The console listens on port 8080 by default and serves under the /omc/ sub-path. It requires CPA v8.0.0 or later.

## Links

- [Homepage](https://github.com/wiziscool/oh-my-cpa)
- [Website](https://omc-demo.junze.dev)
- [Docker](wiziscool/oh-my-cpa)
- [Demo](https://omc-demo.junze.dev)
- [Documentation](https://github.com/WizisCool/oh-my-cpa/tree/master/docs)
- [GitHub Repository](https://github.com/WizisCool/oh-my-cpa)
- [Releases](https://github.com/WizisCool/oh-my-cpa/releases)
- [Docker Hub](https://hub.docker.com/r/wiziscool/oh-my-cpa)

---
Source: https://selfhost.directory/project/oh-my-cpa