Git Product home page Git Product logo

opencatd-open's Introduction

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
... ...

快速上手

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

opencatd-open's People

Contributors

sakurasan avatar littlecjun avatar chinyajie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.