├── LICENSE ├── README.md ├── config.json └── docker-compose.yml /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 我秦始皇 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Fuclaude 2 | 啥也不是 3 | -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { 2 | "bind": "127.0.0.1:8181", 3 | "timeout": 600, 4 | "proxy_url": "", 5 | "real_logout": false, 6 | "site_password": "", 7 | "cookie_secret": "1234567890abcdefghijklmnopqrstuv", 8 | "openai_base_url": "https://api.openai.com/v1", 9 | "openai_api_key": "sk-xxx", 10 | "moderation_model": "omni-moderation-latest", 11 | "moderation_enabled": false, 12 | "signup_enabled": false 13 | } 14 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | 3 | services: 4 | fuclaude: 5 | image: pengzhile/fuclaude 6 | ports: 7 | - "127.0.0.1:8181:8181" 8 | environment: 9 | - TZ=Asia/Shanghai 10 | - FUCLAUDE_BIND=0.0.0.0:8181 11 | - FUCLAUDE_TIMEOUT=600 12 | - FUCLAUDE_PROXY_URL= 13 | - FUCLAUDE_REAL_LOGOUT=false 14 | - FUCLAUDE_SITE_PASSWORD= 15 | - FUCLAUDE_COOKIE_SECRET=1234567890abcdefghijklmnopqrstuv 16 | - FUCLAUDE_OPENAI_BASE_URL=https://api.openai.com/v1 17 | - FUCLAUDE_OPENAI_API_KEY=sk-xxx 18 | - FUCLAUDE_MODERATION_ENABLED=false 19 | - FUCLAUDE_SIGNUP_ENABLED=false 20 | - FUCLAUDE_SHOW_SESSION_KEY=false 21 | restart: unless-stopped 22 | --------------------------------------------------------------------------------