mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-14 16:07:13 +08:00
feat: add app PanSou
This commit is contained in:
32
README.md
32
README.md
@@ -925,6 +925,38 @@ AI驱动的开源代码知识库与文档协作平台,支持多模型、多数
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td width="33%" align="center">
|
||||||
|
|
||||||
|
<a href="./apps/keepassxc/README.md">
|
||||||
|
<img src="./apps/keepassxc/logo.png" width="60" height="60" alt="KeePassXC">
|
||||||
|
<br><b>KeePassXC</b>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
🔐 跨平台开源密码管理器,支持Web界面和多种平台,安全可靠
|
||||||
|
|
||||||
|
<kbd>2.7.9</kbd> • [官网链接](https://keepassxc.org/)
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td width="33%" align="center">
|
||||||
|
|
||||||
|
<a href="./apps/pansou/README.md">
|
||||||
|
<img src="./apps/pansou/logo.png" width="60" height="60" alt="PanSou">
|
||||||
|
<br><b>PanSou</b>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
🔍 高性能网盘资源搜索API服务,支持TG频道和插件搜索,智能排序和网盘类型分类
|
||||||
|
|
||||||
|
<kbd>latest</kbd> • [官网链接](https://github.com/fish2018/pansou)
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td width="33%" align="center">
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
#### 🐳 容器管理
|
#### 🐳 容器管理
|
||||||
|
|
||||||
|
|||||||
72
apps/pansou/README.md
Normal file
72
apps/pansou/README.md
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
# PanSou 网盘搜索API
|
||||||
|
|
||||||
|
PanSou是一个高性能的网盘资源搜索API服务,支持TG搜索和自定义插件搜索。系统设计以性能和可扩展性为核心,支持并发搜索、结果智能排序和网盘类型分类。
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
## 特性
|
||||||
|
|
||||||
|
- **高性能搜索**:并发执行多个TG频道及异步插件搜索,显著提升搜索速度;工作池设计,高效管理并发任务
|
||||||
|
- **网盘类型分类**:自动识别多种网盘链接,按类型归类展示
|
||||||
|
- **智能排序**:基于插件等级、时间新鲜度和优先关键词的多维度综合排序算法
|
||||||
|
- **异步插件系统**:支持通过插件扩展搜索来源,支持"尽快响应,持续处理"的异步搜索模式,解决了某些搜索源响应时间长的问题。
|
||||||
|
- **二级缓存**:分片内存+分片磁盘缓存机制,大幅提升重复查询速度和并发性能
|
||||||
|
|
||||||
|
|
||||||
|
## 支持的网盘类型
|
||||||
|
|
||||||
|
百度网盘 (`baidu`)、阿里云盘 (`aliyun`)、夸克网盘 (`quark`)、天翼云盘 (`tianyi`)、UC网盘 (`uc`)、移动云盘 (`mobile`)、115网盘 (`115`)、PikPak (`pikpak`)、迅雷网盘 (`xunlei`)、123网盘 (`123`)、磁力链接 (`magnet`)、电驴链接 (`ed2k`)、其他 (`others`)
|
||||||
|
|
||||||
|
|
||||||
|
## MCP服务
|
||||||
|
|
||||||
|
### 功能介绍
|
||||||
|
|
||||||
|
PanSou MCP 服务是一个基于 [Model Context Protocol (MCP)](https://modelcontextprotocol.io) 的工具服务,它将 PanSou 网盘搜索 API 的功能封装为可在支持 MCP 的客户端(如 Claude Desktop)中直接调用的工具。
|
||||||
|
|
||||||
|
通过 PanSou MCP 服务,可以直接在 Claude 等 AI 助手中搜索网盘资源,极大地提升了获取网盘资源的便捷性。
|
||||||
|
|
||||||
|
### 核心功能
|
||||||
|
|
||||||
|
1. **搜索网盘资源 (`search_netdisk`)**:
|
||||||
|
- 支持通过关键词搜索网盘资源。
|
||||||
|
- 可指定搜索来源:Telegram 频道、插件或两者结合。
|
||||||
|
- 可过滤结果,仅显示特定类型的网盘链接(如百度网盘、阿里云盘、夸克网盘等)。
|
||||||
|
- 支持强制刷新缓存以获取最新数据。
|
||||||
|
- 支持传递扩展参数给后端插件。
|
||||||
|
- 结果可按详细信息或按网盘类型分组展示。
|
||||||
|
|
||||||
|
2. **检查服务健康状态 (`check_service_health`)**:
|
||||||
|
- 检查所连接的 PanSou 后端服务是否正常运行。
|
||||||
|
- 获取后端服务的配置信息,如可用的 Telegram 频道列表和插件列表。
|
||||||
|
|
||||||
|
3. **启动后端服务 (`start_backend`)**:
|
||||||
|
- 自动启动本地的 PanSou Go 后端服务(如果尚未运行)。
|
||||||
|
- 等待服务完全启动并可用后才开始处理其他请求。
|
||||||
|
|
||||||
|
4. **获取静态资源信息 (`pansou://` URI scheme)**:
|
||||||
|
- 提供可用插件列表、可用频道列表和支持的网盘类型列表等静态信息资源。
|
||||||
|
|
||||||
|
## 📚 API 文档
|
||||||
|
|
||||||
|
### 搜索 API
|
||||||
|
|
||||||
|
- 接口:`/api/search`
|
||||||
|
- 方法:`POST` / `GET`
|
||||||
|
- 参数:
|
||||||
|
- `kw`:搜索关键词
|
||||||
|
- `channels`:搜索的频道
|
||||||
|
- `cloud_types`:网盘类型过滤
|
||||||
|
- 更多详见[项目文档](https://github.com/fish2018/pansou)
|
||||||
|
|
||||||
|
### 健康检查 API
|
||||||
|
|
||||||
|
- 接口:`/api/health`
|
||||||
|
- 方法:`GET`
|
||||||
|
|
||||||
|
## 🔗 项目地址
|
||||||
|
|
||||||
|
- GitHub: https://github.com/fish2018/pansou
|
||||||
|
- 文档: https://github.com/fish2018/pansou
|
||||||
70
apps/pansou/README_en.md
Normal file
70
apps/pansou/README_en.md
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
# PanSou Cloud Drive Search API
|
||||||
|
|
||||||
|
PanSou is a high-performance cloud drive resource search API service that supports Telegram channel and plugin searches. The system is designed with performance and scalability at its core, supporting concurrent searches, intelligent result sorting, and cloud drive type categorization.
|
||||||
|
|
||||||
|

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

|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **High-Performance Search**: Concurrent execution of multiple Telegram channels and asynchronous plugin searches, significantly improving search speed; worker pool design for efficient concurrent task management
|
||||||
|
- **Cloud Drive Type Classification**: Automatic recognition of various cloud drive links, categorized display by type
|
||||||
|
- **Intelligent Sorting**: Multi-dimensional comprehensive sorting algorithm based on plugin level, time freshness, and priority keywords
|
||||||
|
- **Async Plugin System**: Support for extending search sources through plugins, supporting "quick response, continuous processing" async search mode, solving the problem of long response times from certain search sources
|
||||||
|
- **Two-Level Cache**: Sharded memory + sharded disk cache mechanism, greatly improving repeated query speed and concurrent performance
|
||||||
|
|
||||||
|
## Supported Cloud Drive Types
|
||||||
|
|
||||||
|
Baidu Netdisk (`baidu`), Aliyun Drive (`aliyun`), Quark Drive (`quark`), Tianyi Cloud (`tianyi`), UC Drive (`uc`), Mobile Cloud (`mobile`), 115 Drive (`115`), PikPak (`pikpak`), Xunlei Drive (`xunlei`), 123 Drive (`123`), Magnet Links (`magnet`), eDonkey Links (`ed2k`), Others (`others`)
|
||||||
|
|
||||||
|
## MCP Service
|
||||||
|
|
||||||
|
### Feature Introduction
|
||||||
|
|
||||||
|
PanSou MCP Service is a tool service based on [Model Context Protocol (MCP)](https://modelcontextprotocol.io) that encapsulates PanSou cloud drive search API functionality as tools that can be directly called in MCP-supporting clients (such as Claude Desktop).
|
||||||
|
|
||||||
|
Through PanSou MCP Service, you can directly search for cloud drive resources in AI assistants like Claude, greatly improving the convenience of obtaining cloud drive resources.
|
||||||
|
|
||||||
|
### Core Functions
|
||||||
|
|
||||||
|
1. **Search Cloud Drive Resources (`search_netdisk`)**:
|
||||||
|
- Support searching cloud drive resources by keywords
|
||||||
|
- Can specify search sources: Telegram channels, plugins, or both combined
|
||||||
|
- Can filter results to show only specific types of cloud drive links (such as Baidu Netdisk, Aliyun Drive, Quark Drive, etc.)
|
||||||
|
- Support forced cache refresh to get latest data
|
||||||
|
- Support passing extension parameters to backend plugins
|
||||||
|
- Results can be displayed with detailed information or grouped by cloud drive type
|
||||||
|
|
||||||
|
2. **Check Service Health (`check_service_health`)**:
|
||||||
|
- Check if the connected PanSou backend service is running normally
|
||||||
|
- Get backend service configuration information, such as available Telegram channel lists and plugin lists
|
||||||
|
|
||||||
|
3. **Start Backend Service (`start_backend`)**:
|
||||||
|
- Automatically start local PanSou Go backend service (if not already running)
|
||||||
|
- Wait for service to fully start and become available before processing other requests
|
||||||
|
|
||||||
|
4. **Get Static Resource Information (`pansou://` URI scheme)**:
|
||||||
|
- Provide static information resources such as available plugin lists, available channel lists, and supported cloud drive type lists
|
||||||
|
|
||||||
|
## 📚 API Documentation
|
||||||
|
|
||||||
|
### Search API
|
||||||
|
|
||||||
|
- Endpoint: `/api/search`
|
||||||
|
- Method: `POST` / `GET`
|
||||||
|
- Parameters:
|
||||||
|
- `kw`: Search keywords
|
||||||
|
- `channels`: Search channels
|
||||||
|
- `cloud_types`: Cloud drive type filtering
|
||||||
|
- More details in [Project Documentation](https://github.com/fish2018/pansou)
|
||||||
|
|
||||||
|
### Health Check API
|
||||||
|
|
||||||
|
- Endpoint: `/api/health`
|
||||||
|
- Method: `GET`
|
||||||
|
|
||||||
|
## 🔗 Project Links
|
||||||
|
|
||||||
|
- GitHub: https://github.com/fish2018/pansou
|
||||||
|
- Documentation: https://github.com/fish2018/pansou
|
||||||
33
apps/pansou/data.yml
Normal file
33
apps/pansou/data.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: PanSou
|
||||||
|
tags:
|
||||||
|
- 实用工具
|
||||||
|
- 网盘搜索
|
||||||
|
title: 高性能网盘资源搜索API服务
|
||||||
|
description: PanSou是一个高性能的网盘资源搜索API服务,支持TG频道和插件搜索,系统设计以性能和可扩展性为核心,支持多频道多插件并发搜索、结果智能排序和网盘类型分类。Docker集成前后端,一键启动,开箱即用。
|
||||||
|
additionalProperties:
|
||||||
|
key: pansou
|
||||||
|
name: PanSou
|
||||||
|
tags:
|
||||||
|
- Tool
|
||||||
|
shortDescZh: 高性能网盘资源搜索API服务
|
||||||
|
shortDescEn: High-performance cloud drive search API service
|
||||||
|
description:
|
||||||
|
en: A high-performance cloud drive resource search API service that supports Telegram channel and plugin searches. The system is designed with performance and scalability at its core, supporting concurrent searches across multiple channels and plugins, intelligent result sorting, and cloud drive type categorization. Docker integrates front-end and back-end for one-click startup and out-of-the-box use.
|
||||||
|
ja: 高性能なクラウドドライブリソース検索APIサービス,Telegramチャンネルとプラグイン検索をサポート。性能とスケーラビリティを中心としたシステム設計。
|
||||||
|
ms: Perkhidmatan API carian sumber pemacu awan berprestasi tinggi yang menyokong carian saluran Telegram dan plugin. Sistem direka dengan prestasi dan skalabiliti sebagai teras.
|
||||||
|
pt-br: Serviço de API de pesquisa de recursos de armazenamento em nuvem de alto desempenho que suporta pesquisas de canais Telegram e plugins. Sistema projetado com desempenho e escalabilidade como núcleo.
|
||||||
|
ru: Высокопроизводительный API-сервис поиска ресурсов облачных дисков, поддерживающий поиск по Telegram-каналам и плагинам.
|
||||||
|
ko: Telegram 채널 및 플러그인 검색을 지원하는 고성능 클라우드 드라이브 리소스 검색 API 서비스. 성능과 확장성을 핵심으로 한 시스템 설계.
|
||||||
|
zh-Hant: 高性能的雲端硬碟資源搜索API服務,支持Telegram頻道和插件搜索。系統設計以性能和可擴展性為核心,支持多頻道多插件並發搜索、結果智能排序和雲端硬碟類型分類。
|
||||||
|
zh: PanSou是一个高性能的网盘资源搜索API服务,支持TG频道和插件搜索。系统设计以性能和可扩展性为核心,支持多频道多插件并发搜索、结果智能排序和网盘类型分类。Docker集成前后端,一键启动,开箱即用。
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://github.com/fish2018/pansou
|
||||||
|
github: https://github.com/fish2018/pansou
|
||||||
|
document: https://github.com/fish2018/pansou
|
||||||
|
memoryRequired: 512
|
||||||
|
architectures:
|
||||||
|
- amd64
|
||||||
|
- arm64
|
||||||
18
apps/pansou/latest/data.yml
Normal file
18
apps/pansou/latest/data.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: 45888
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: HTTP Port
|
||||||
|
labelZh: HTTP 端口
|
||||||
|
label:
|
||||||
|
en: HTTP Port
|
||||||
|
ja: ポート
|
||||||
|
ms: Port
|
||||||
|
pt-br: Porta
|
||||||
|
ru: Порт
|
||||||
|
ko: 포트
|
||||||
|
zh: HTTP 端口
|
||||||
|
zh-Hant: HTTP 連接埠
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
43
apps/pansou/latest/docker-compose.yml
Normal file
43
apps/pansou/latest/docker-compose.yml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
services:
|
||||||
|
pansou:
|
||||||
|
image: ghcr.io/fish2018/pansou-web:latest
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
ports:
|
||||||
|
- "${PANEL_APP_PORT_HTTP}:80"
|
||||||
|
environment:
|
||||||
|
# 基础配置
|
||||||
|
- DOMAIN=localhost
|
||||||
|
- PANSOU_PORT=8888
|
||||||
|
- PANSOU_HOST=127.0.0.1
|
||||||
|
|
||||||
|
# Telegram频道配置(镜像已包含这些默认频道,如需自定义可取消注释)
|
||||||
|
# - CHANNELS=tgsearchers3,yunpanxunlei,tianyifc,BaiduCloudDisk,txtyzy,peccxinpd,gotopan,xingqiump4,yunpanqk,PanjClub,kkxlzy,baicaoZY,MCPH01,share_aliyun,bdwpzhpd,ysxb48,jdjdn1111,yggpan,MCPH086,zaihuayun,Q66Share,NewAliPan,ypquark,Oscar_4Kmovies,ucwpzy,alyp_TV,alyp_4K_Movies,shareAliyun,alyp_1,dianyingshare,Quark_Movies,XiangxiuNBB,NewQuark,ydypzyfx,kuakeyun,ucquark,xx123pan,yingshifenxiang123,zyfb123,tyypzhpd,tianyirigeng,cloudtianyi,hdhhd21,Lsp115,oneonefivewpfx,Maidanglaocom,qixingzhenren,taoxgzy,tgsearchers115,Channel_Shares_115,tyysypzypd,vip115hot,wp123zy,yunpan139,yunpan189,yunpanuc,yydf_hzl,alyp_Animation,alyp_JLP,leoziyuan
|
||||||
|
|
||||||
|
# 代理配置(可选)
|
||||||
|
# - PROXY=socks5://127.0.0.1:1080
|
||||||
|
# - PROXY=http://proxy:8080
|
||||||
|
# - PROXY=https://proxy:8080
|
||||||
|
|
||||||
|
# 性能配置(镜像已包含默认值,如需调整可取消注释)
|
||||||
|
# - CACHE_ENABLED=true
|
||||||
|
# - CACHE_TTL=3600
|
||||||
|
# - MAX_CONCURRENCY=200
|
||||||
|
# - MAX_PAGES=30
|
||||||
|
volumes:
|
||||||
|
- ./data/data:/app/data
|
||||||
|
- ./data/logs:/app/logs
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost/api/health"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 40s
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
BIN
apps/pansou/logo.png
Normal file
BIN
apps/pansou/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
Reference in New Issue
Block a user