094230a2930678c5ce54c859aa233304f28d34a1
- Rename routes: /dashboard/tokens → /dashboard/apikeys, /dashboard/manager/keys → /dashboard/manager/channels - Add KeyPlain field to store plaintext API keys for re-viewing - API key list shows masked key (sk-ot-123456****abcd) with eye toggle to reveal - Copy button with 2s feedback on key list - TokenNew shows full key + copy after creation - Increase key prefix display to 12 characters - Fix SQLite driver: replace gorm.io/driver/sqlite with ncruces/go-sqlite3/gormlite - Fix user.status === 'active' checks across frontend views - Add channel store for new channels API - Update Makefile frontend build to work reliably BREAKING CHANGE: Existing API keys created before this change will not show their plaintext value (only prefix visible).
opencatd-open OpenTeam
本项目即将更名,后续请关注 👉🏻 https://github.com/mirrors2/openteam
opencatd-open is an open-source, team-shared service for OpenAI-compatible LLM APIs — route clients to any provider through a single endpoint, share costs, and track usage across your team.
OpenCat for Team的开源实现
基本实现了opencatd的全部功能
(openai附属能力:whisper,tts,dall-e(text to image)...)
Extra Support:
| 🎯 | 🚧 | Extra Provider |
|---|---|---|
| OpenAI | ✅ | Azure, Github Marketplace |
| Claude | ✅ | VertexAI |
| Gemini | ✅ | |
| ... | ... |
快速上手
docker run -d --name opencatd -p 80:80 -v /etc/opencatd:/app/db mirrors2/opencatd-open
docker-compose
version: '3.7'
services:
opencatd:
image: mirrors2/opencatd-open
container_name: opencatd-open
restart: unless-stopped
ports:
- 80:80
volumes:
- /etc/opencatd:/app/db
or
wget https://github.com/mirrors2/opencatd-open/raw/main/docker/docker-compose.yml
支持的命令
获取 root 的 token
docker exec opencatd-open opencatd root_token
重置 root 的 token
docker exec opencatd-open opencatd reset_root
导出 user info -> user.json (docker file path: /app/db/user.json)
docker exec opencatd-open opencatd save
导入 user.json -> db
docker exec opencatd-open opencatd load
Q&A
关于证书?
- docker部署会白白占用掉VPS的80,443很不河里,建议用Nginx/Caddy/Traefik等反代并自动管理HTTPS证书.
没有服务器?
使用Nginx + Docker部署
pandora for team
如何自定义HOST地址? (仅OpenAI)
- 需修改环境变量,优先级递增(全局配置谨慎修改)
- Cloudflare AI Gateway地址
AIGateWay_Endpoint=https://gateway.ai.cloudflare.com/v1/123456789/xxxx/openai/chat/completions - 自定义的endpoint
OpenAI_Endpoint=https://your.domain/v1/chat/completions
设置主页跳转地址?
- 修改环境变量
CUSTOM_REDIRECT=https://your.domain
获取更多信息
赞助
License
Languages
Go
89.6%
Vue
5.5%
Makefile
1.7%
CSS
1.4%
Dockerfile
1%
Other
0.8%