Skip to content

mirrors2/opencatd-open

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencatd-open

GitHub Workflow Status

opencatd-open is an open-source, team-shared service for ChatGPT API that can be safely shared with others for API usage.


OpenCat for Team的开源实现

基本实现了opencatd的全部功能

(openai附属能力:whisper,tts,dall-e(text to image)...)

Extra Support:

任务 完成情况
Azure OpenAI
Claude
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证书.

没有服务器?

  • 可以白嫖一些免费的容器托管服务:如:

修改openai的endpoint地址?使用任意上游地址(套娃代理)

  • 设置环境变量 openai_endpoint

使用Nginx + Docker部署

pandora for team

License

GNU General Public License v3.0