78
apps/astrbot-napcat/4.8.95/data.yml
Normal file
78
apps/astrbot-napcat/4.8.95/data.yml
Normal file
@@ -0,0 +1,78 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/astrbot-napcat"
|
||||
edit: true
|
||||
envKey: ASTRBOT_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 6185
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 6195
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WECOM
|
||||
labelZh: 企业微信 WebHook
|
||||
labelEn: WeCom WebHook
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 11451
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_WECHAT
|
||||
labelZh: 个人微信 WebHook
|
||||
labelEn: WeChat WebHook
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 6199
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_QQ_WH
|
||||
labelZh: QQ WebHook
|
||||
labelEn: QQ WebHook
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 6196
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_QQ_API
|
||||
labelZh: QQ API
|
||||
labelEn: QQ API
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 6099
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_NAPCAT
|
||||
labelZh: NapCat 端口
|
||||
labelEn: NapCat port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "02:42:ac:11:00:02"
|
||||
edit: true
|
||||
envKey: NAPCAT_MAC_ADDRESS
|
||||
labelZh: NapCat 容器 MAC 地址
|
||||
labelEn: NapCat container MAC address
|
||||
required: true
|
||||
type: text
|
||||
- default: 1000
|
||||
edit: true
|
||||
envKey: NAPCAT_UID
|
||||
labelZh: NapCat 容器 UID
|
||||
labelEn: NapCat container UID
|
||||
required: true
|
||||
type: number
|
||||
- default: 1000
|
||||
edit: true
|
||||
envKey: NAPCAT_GID
|
||||
labelZh: NapCat 容器 GID
|
||||
labelEn: NapCat container GID
|
||||
required: true
|
||||
type: number
|
||||
49
apps/astrbot-napcat/4.8.95/docker-compose.yml
Normal file
49
apps/astrbot-napcat/4.8.95/docker-compose.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
napcat:
|
||||
image: mlikiowa/napcat-docker:v4.8.95
|
||||
container_name: napcat-${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_NAPCAT}:6099
|
||||
mac_address: ${NAPCAT_MAC_ADDRESS:-02:42:ac:11:00:02}
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${ASTRBOT_ROOT_PATH}/data:/AstrBot/data
|
||||
- ${ASTRBOT_ROOT_PATH}/ntqq:/app/.config/QQ
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- MODE=astrbot
|
||||
- NAPCAT_UID=${NAPCAT_UID:-1000}
|
||||
- NAPCAT_GID=${NAPCAT_GID:-1000}
|
||||
astrbot:
|
||||
image: soulter/astrbot:v3.5.23
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:6185
|
||||
- ${PANEL_APP_PORT_QQ_WH}:6199
|
||||
- ${PANEL_APP_PORT_QQ_API}:6196
|
||||
- ${PANEL_APP_PORT_WECOM}:6195
|
||||
- ${PANEL_APP_PORT_WECHAT}:11451
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ${ASTRBOT_ROOT_PATH}/data:/AstrBot/data
|
||||
- ${ASTRBOT_ROOT_PATH}/ntqq:/app/.config/QQ
|
||||
- ${ASTRBOT_ROOT_PATH}/napcat/config:/app/napcat/config
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
2
apps/astrbot-napcat/4.8.95/envs/default.env
Normal file
2
apps/astrbot-napcat/4.8.95/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
apps/astrbot-napcat/4.8.95/envs/global.env
Normal file
2
apps/astrbot-napcat/4.8.95/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
17
apps/astrbot-napcat/4.8.95/scripts/init.sh
Normal file
17
apps/astrbot-napcat/4.8.95/scripts/init.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/astrbot-napcat/4.8.95/scripts/uninstall.sh
Normal file
10
apps/astrbot-napcat/4.8.95/scripts/uninstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
17
apps/astrbot-napcat/4.8.95/scripts/upgrade.sh
Normal file
17
apps/astrbot-napcat/4.8.95/scripts/upgrade.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
46
apps/astrbot-napcat/README.md
Normal file
46
apps/astrbot-napcat/README.md
Normal file
@@ -0,0 +1,46 @@
|
||||
# AstrBot
|
||||
|
||||
AstrBot 是一个松耦合、异步、支持多消息平台部署、具有易用的插件系统和完善的大语言模型(LLM)接入功能的聊天机器人及开发框架。
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 安装说明
|
||||
|
||||
> 默认用户名: `astrbot`
|
||||
>
|
||||
> 默认密码: `astrbot`
|
||||
|
||||
## 特性
|
||||
|
||||
### 大语言模型对话
|
||||
|
||||
支持各种大语言模型,包括 OpenAI API、Google Gemini、Llama、Deepseek、ChatGLM 等,支持接入本地部署的大模型,通过
|
||||
Ollama、LLMTuner。具有多轮对话、人格情境、多模态能力,支持图片理解、语音转文字(Whisper)。
|
||||
|
||||
### 多消息平台接入
|
||||
|
||||
支持接入 QQ(OneBot、QQ 官方机器人平台)、QQ
|
||||
频道、企业微信、微信公众号、飞书、Telegram、钉钉、Discord、KOOK、VoceChat。支持速率限制、白名单、关键词过滤、百度内容审核。
|
||||
|
||||
### Agent
|
||||
|
||||
原生支持部分 Agent 能力,如代码执行器、自然语言待办、网页搜索。对接 Dify 平台,便捷接入 Dify 智能助手、知识库和 Dify
|
||||
工作流。
|
||||
|
||||
### 插件扩展
|
||||
|
||||
深度优化的插件机制,支持开发插件扩展功能,极简开发。已支持安装多个插件。
|
||||
|
||||
### 可视化管理面板
|
||||
|
||||
支持可视化修改配置、插件管理、日志查看等功能,降低配置难度。集成 WebChat,可在面板上与大模型对话。
|
||||
|
||||
### 高稳定性、高模块化
|
||||
|
||||
基于事件总线和流水线的架构设计,高度模块化,低耦合。
|
||||
|
||||
---
|
||||
|
||||

|
||||
14
apps/astrbot-napcat/data.yml
Normal file
14
apps/astrbot-napcat/data.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
additionalProperties:
|
||||
key: astrbot
|
||||
name: AstrBot
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: 多平台大模型机器人基础设施
|
||||
shortDescEn: The Multi-Platform LLM Bot Infrastructure
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://astrbot.app/
|
||||
github: https://github.com/AstrBotDevs/AstrBot/
|
||||
document: https://astrbot.app/
|
||||
BIN
apps/astrbot-napcat/logo.png
Normal file
BIN
apps/astrbot-napcat/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
13
apps/astrbot-napcat/logo.svg
Normal file
13
apps/astrbot-napcat/logo.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 90 KiB |
Reference in New Issue
Block a user