mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-14 16:07:13 +08:00
feat: add app GPT4Free
This commit is contained in:
20
README.md
20
README.md
@@ -160,6 +160,26 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td width="100%" align="center">
|
||||||
|
|
||||||
|
<a href="./apps/gpt4free/README.md">
|
||||||
|
<img src="./apps/gpt4free/logo.png" width="60" height="60" alt="GPT4Free">
|
||||||
|
<br><b>GPT4Free</b>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
🚀 免费的GPT-4和其他大语言模型API接口
|
||||||
|
|
||||||
|
<kbd>0.5.7.0</kbd> • [官网链接](https://github.com/xtekky/gpt4free)
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<!-- <td width="33%" align="center"> -->
|
||||||
|
</td>
|
||||||
|
<!-- <td width="33%" align="center"> -->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
#### 📝 文档与内容管理
|
#### 📝 文档与内容管理
|
||||||
|
|||||||
24
apps/gpt4free/0.5.7.0-slim/data.yml
Normal file
24
apps/gpt4free/0.5.7.0-slim/data.yml
Normal file
@@ -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
|
||||||
20
apps/gpt4free/0.5.7.0-slim/docker-compose.yml
Normal file
20
apps/gpt4free/0.5.7.0-slim/docker-compose.yml
Normal file
@@ -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
|
||||||
4
apps/gpt4free/0.5.7.0-slim/scripts/init.sh
Normal file
4
apps/gpt4free/0.5.7.0-slim/scripts/init.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chown -R 1000:1000 har_and_cookies
|
||||||
|
chown -R 1000:1000 generated_media
|
||||||
35
apps/gpt4free/0.5.7.0/data.yml
Normal file
35
apps/gpt4free/0.5.7.0/data.yml
Normal file
@@ -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
|
||||||
22
apps/gpt4free/0.5.7.0/docker-compose.yml
Normal file
22
apps/gpt4free/0.5.7.0/docker-compose.yml
Normal file
@@ -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
|
||||||
4
apps/gpt4free/0.5.7.0/scripts/init.sh
Normal file
4
apps/gpt4free/0.5.7.0/scripts/init.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chown -R 1200:1201 har_and_cookies
|
||||||
|
chown -R 1200:1201 generated_media
|
||||||
46
apps/gpt4free/README.md
Normal file
46
apps/gpt4free/README.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# GPT4Free
|
||||||
|
|
||||||
|
GPT4Free是一个开源项目,提供免费的GPT-4和其他大语言模型API接口。它支持多种模型,如GPT-4、Claude、Gemini等,让用户可以免费访问这些强大的AI模型。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 功能特点
|
||||||
|
|
||||||
|
- 支持多种大语言模型,包括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)
|
||||||
41
apps/gpt4free/README_en.md
Normal file
41
apps/gpt4free/README_en.md
Normal file
@@ -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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## 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)
|
||||||
27
apps/gpt4free/data.yml
Normal file
27
apps/gpt4free/data.yml
Normal file
@@ -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
|
||||||
35
apps/gpt4free/latest/data.yml
Normal file
35
apps/gpt4free/latest/data.yml
Normal file
@@ -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
|
||||||
22
apps/gpt4free/latest/docker-compose.yml
Normal file
22
apps/gpt4free/latest/docker-compose.yml
Normal file
@@ -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
|
||||||
4
apps/gpt4free/latest/scripts/init.sh
Normal file
4
apps/gpt4free/latest/scripts/init.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
chown -R 1200:1201 har_and_cookies
|
||||||
|
chown -R 1200:1201 generated_media
|
||||||
BIN
apps/gpt4free/logo.png
Normal file
BIN
apps/gpt4free/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Reference in New Issue
Block a user