diff --git a/README.md b/README.md index cb41581..b4689ef 100644 --- a/README.md +++ b/README.md @@ -160,6 +160,26 @@ + + + + + + + + +
+ + +GPT4Free +
GPT4Free +
+ +🚀 免费的GPT-4和其他大语言模型API接口 + +0.5.7.0 • [官网链接](https://github.com/xtekky/gpt4free) + +
#### 📝 文档与内容管理 diff --git a/apps/gpt4free/0.5.7.0-slim/data.yml b/apps/gpt4free/0.5.7.0-slim/data.yml new file mode 100644 index 0000000..6cc825a --- /dev/null +++ b/apps/gpt4free/0.5.7.0-slim/data.yml @@ -0,0 +1,24 @@ +additionalProperties: + formFields: + - default: 8080 + envKey: PANEL_APP_PORT_HTTP + labelEn: Web Interface Port + labelZh: Web界面端口 + label: + en: Web Interface Port + zh: Web界面端口 + zh-Hant: Web界面埠 + required: true + rule: paramPort + type: number + - default: 1337 + envKey: PANEL_APP_PORT_API + labelEn: API Port + labelZh: API接口端口 + label: + en: API Port + zh: API接口端口 + zh-Hant: API接口埠 + required: true + rule: paramPort + type: number diff --git a/apps/gpt4free/0.5.7.0-slim/docker-compose.yml b/apps/gpt4free/0.5.7.0-slim/docker-compose.yml new file mode 100644 index 0000000..4f1afd0 --- /dev/null +++ b/apps/gpt4free/0.5.7.0-slim/docker-compose.yml @@ -0,0 +1,20 @@ +services: + gpt4free: + image: hlohaus789/g4f:0.5.7.0-slim + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + volumes: + - ./har_and_cookies:/app/har_and_cookies + - ./generated_media:/app/generated_media + ports: + - ${PANEL_APP_PORT_HTTP}:8080 + - ${PANEL_APP_PORT_API}:8080 + environment: + - OLLAMA_HOST=host.docker.internal + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/gpt4free/0.5.7.0-slim/scripts/init.sh b/apps/gpt4free/0.5.7.0-slim/scripts/init.sh new file mode 100644 index 0000000..df14afb --- /dev/null +++ b/apps/gpt4free/0.5.7.0-slim/scripts/init.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +chown -R 1000:1000 har_and_cookies +chown -R 1000:1000 generated_media \ No newline at end of file diff --git a/apps/gpt4free/0.5.7.0/data.yml b/apps/gpt4free/0.5.7.0/data.yml new file mode 100644 index 0000000..57e44a5 --- /dev/null +++ b/apps/gpt4free/0.5.7.0/data.yml @@ -0,0 +1,35 @@ +additionalProperties: + formFields: + - default: 8080 + envKey: PANEL_APP_PORT_HTTP + labelEn: Web Interface Port + labelZh: Web界面端口 + label: + en: Web Interface Port + zh: Web界面端口 + zh-Hant: Web界面埠 + required: true + rule: paramPort + type: number + - default: 1337 + envKey: PANEL_APP_PORT_API + labelEn: API Port + labelZh: API接口端口 + label: + en: API Port + zh: API接口端口 + zh-Hant: API接口埠 + required: true + rule: paramPort + type: number + - default: 7900 + envKey: PANEL_APP_PORT_REMOTE + labelEn: Remote Desktop Port + labelZh: 远程桌面端口 + label: + en: Remote Desktop Port + zh: 远程桌面端口 + zh-Hant: 遠程桌面埠 + required: true + rule: paramPort + type: number diff --git a/apps/gpt4free/0.5.7.0/docker-compose.yml b/apps/gpt4free/0.5.7.0/docker-compose.yml new file mode 100644 index 0000000..bbffdbb --- /dev/null +++ b/apps/gpt4free/0.5.7.0/docker-compose.yml @@ -0,0 +1,22 @@ +services: + gpt4free: + image: hlohaus789/g4f:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + shm_size: 2gb + volumes: + - ./har_and_cookies:/app/har_and_cookies + - ./generated_media:/app/generated_media + ports: + - ${PANEL_APP_PORT_HTTP}:8080 + - ${PANEL_APP_PORT_API}:8080 + - ${PANEL_APP_PORT_REMOTE}:7900 + environment: + - OLLAMA_HOST=host.docker.internal + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/gpt4free/0.5.7.0/scripts/init.sh b/apps/gpt4free/0.5.7.0/scripts/init.sh new file mode 100644 index 0000000..90ee9cc --- /dev/null +++ b/apps/gpt4free/0.5.7.0/scripts/init.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +chown -R 1200:1201 har_and_cookies +chown -R 1200:1201 generated_media \ No newline at end of file diff --git a/apps/gpt4free/README.md b/apps/gpt4free/README.md new file mode 100644 index 0000000..5b82626 --- /dev/null +++ b/apps/gpt4free/README.md @@ -0,0 +1,46 @@ +# GPT4Free + +GPT4Free是一个开源项目,提供免费的GPT-4和其他大语言模型API接口。它支持多种模型,如GPT-4、Claude、Gemini等,让用户可以免费访问这些强大的AI模型。 + +![](https://cdn.jsdelivr.net/gh/xiaoY233/PicList@main/public/assets/gpt4free.png) + +![](https://cdn.jsdelivr.net/gh/xiaoY233/PicList@main/public/assets/GPT4Free-Model.png) + +![](https://img.shields.io/badge/Copyright-arch3rPro-ff9800?style=flat&logo=github&logoColor=white) + +## 功能特点 + +- 支持多种大语言模型,包括GPT-4、Claude、Gemini等 +- 提供类似OpenAI的API接口 +- 支持文本生成和图像生成 +- 内置Web界面,方便用户直接使用 +- 支持本地推理和远程API调用 + +## 版本区别 + +- latest:最新稳定版 +- version:当前最新版本号 +- version-slim:当前最新精简版(不包含远程桌面进行模型配置) + +## 使用方法 + +安装完成后,可以通过以下方式访问GPT4Free: + +1. Web界面:访问 `http://您的IP:8080/chat/` 使用内置的聊天界面 +2. API接口:使用 `http://您的IP:1337/v1` 作为API基础URL + +## 环境变量 + +- `OLLAMA_HOST`: Ollama服务器地址,默认为host.docker.internal + +## 端口说明 + +- 8080: Web界面(也可用于API接口) +- 1337: API接口 +- 7900: 远程桌面(用于提供者登录) + +## 更多信息 + +- 官方网站:[g4f.dev](https://g4f.dev/) +- GitHub仓库:[github.com/xtekky/gpt4free](https://github.com/xtekky/gpt4free) +- 文档:[g4f.dev/docs](https://github.com/gpt4free/g4f.dev/blob/main/docs) \ No newline at end of file diff --git a/apps/gpt4free/README_en.md b/apps/gpt4free/README_en.md new file mode 100644 index 0000000..cbc260e --- /dev/null +++ b/apps/gpt4free/README_en.md @@ -0,0 +1,41 @@ +# GPT4Free + +GPT4Free is an open-source project that provides free access to GPT-4 and other large language models. It supports various models such as GPT-4, Claude, Gemini, and more, allowing users to access these powerful AI models for free. + +![](https://cdn.jsdelivr.net/gh/xiaoY233/PicList@main/public/assets/gpt4free.png) + +![](https://cdn.jsdelivr.net/gh/xiaoY233/PicList@main/public/assets/GPT4Free-Model.png) + +![](https://img.shields.io/badge/Copyright-arch3rPro-ff9800?style=flat&logo=github&logoColor=white) + + +## Features + +- Support for multiple large language models including GPT-4, Claude, Gemini, and more +- OpenAI-compatible API interface +- Text and image generation capabilities +- Built-in web interface for easy use +- Support for both local inference and remote API calls + +## Usage + +After installation, you can access GPT4Free through: + +1. Web Interface: Visit `http://your-ip:8080/chat/` to use the built-in chat interface +2. API Interface: Use `http://your-ip:1337/v1` as your API base URL + +## Environment Variables + +- `OLLAMA_HOST`: Ollama server address, defaults to host.docker.internal + +## Port Information + +- 8080: Web interface and API +- 1337: Alternative API port +- 7900: Remote desktop (for provider login) + +## More Information + +- Official Website: [g4f.dev](https://g4f.dev/) +- GitHub Repository: [github.com/xtekky/gpt4free](https://github.com/xtekky/gpt4free) +- Documentation: [g4f.dev/docs](https://github.com/gpt4free/g4f.dev/blob/main/docs) \ No newline at end of file diff --git a/apps/gpt4free/data.yml b/apps/gpt4free/data.yml new file mode 100644 index 0000000..1fb30d5 --- /dev/null +++ b/apps/gpt4free/data.yml @@ -0,0 +1,27 @@ +name: GPT4Free +tags: + - AI / 大模型 +title: 免费的GPT-4和其他大语言模型API接口 +description: GPT4Free是一个开源项目,提供免费的GPT-4和其他大语言模型API接口,支持多种模型如GPT-4、Claude、Gemini等。 +additionalProperties: + key: gpt4free + name: GPT4Free + tags: + - AI + shortDescZh: 免费的GPT-4和其他大语言模型API接口 + shortDescEn: Free API for GPT-4 and other large language models + type: website + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://g4f.dev/ + github: https://github.com/xtekky/gpt4free + document: https://github.com/gpt4free/g4f.dev/blob/main/docs + description: + en: Free API for GPT-4 and other large language models + zh: 免费的GPT-4和其他大语言模型API接口 + zh-Hant: 免費的GPT-4和其他大語言模型API接口 + memoryRequired: 2048 + architectures: + - amd64 + - arm64 diff --git a/apps/gpt4free/latest/data.yml b/apps/gpt4free/latest/data.yml new file mode 100644 index 0000000..57e44a5 --- /dev/null +++ b/apps/gpt4free/latest/data.yml @@ -0,0 +1,35 @@ +additionalProperties: + formFields: + - default: 8080 + envKey: PANEL_APP_PORT_HTTP + labelEn: Web Interface Port + labelZh: Web界面端口 + label: + en: Web Interface Port + zh: Web界面端口 + zh-Hant: Web界面埠 + required: true + rule: paramPort + type: number + - default: 1337 + envKey: PANEL_APP_PORT_API + labelEn: API Port + labelZh: API接口端口 + label: + en: API Port + zh: API接口端口 + zh-Hant: API接口埠 + required: true + rule: paramPort + type: number + - default: 7900 + envKey: PANEL_APP_PORT_REMOTE + labelEn: Remote Desktop Port + labelZh: 远程桌面端口 + label: + en: Remote Desktop Port + zh: 远程桌面端口 + zh-Hant: 遠程桌面埠 + required: true + rule: paramPort + type: number diff --git a/apps/gpt4free/latest/docker-compose.yml b/apps/gpt4free/latest/docker-compose.yml new file mode 100644 index 0000000..bbffdbb --- /dev/null +++ b/apps/gpt4free/latest/docker-compose.yml @@ -0,0 +1,22 @@ +services: + gpt4free: + image: hlohaus789/g4f:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + shm_size: 2gb + volumes: + - ./har_and_cookies:/app/har_and_cookies + - ./generated_media:/app/generated_media + ports: + - ${PANEL_APP_PORT_HTTP}:8080 + - ${PANEL_APP_PORT_API}:8080 + - ${PANEL_APP_PORT_REMOTE}:7900 + environment: + - OLLAMA_HOST=host.docker.internal + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true diff --git a/apps/gpt4free/latest/scripts/init.sh b/apps/gpt4free/latest/scripts/init.sh new file mode 100644 index 0000000..90ee9cc --- /dev/null +++ b/apps/gpt4free/latest/scripts/init.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +chown -R 1200:1201 har_and_cookies +chown -R 1200:1201 generated_media \ No newline at end of file diff --git a/apps/gpt4free/logo.png b/apps/gpt4free/logo.png new file mode 100644 index 0000000..68b2b44 Binary files /dev/null and b/apps/gpt4free/logo.png differ