pansou
PanSou是一款高性能的网盘资源搜索API服务,支持TG频道和插件搜索。系统设计以性能和可扩展性为核心,支持多频道多插件并发搜索、结果智能排序和网盘类型分类。docker集成前后端,一键启动,开箱即用。仅供学习研究,请勿以各种形式用于盈利目的。
A Go-based API service that searches multiple Chinese cloud storage platforms (Baidu Pan, Aliyun, Quark, and more) simultaneously and returns ranked results from a single query.
PanSou is a search API service written in Go for finding files stored on Chinese cloud storage platforms. It queries multiple platforms at the same time, including Baidu Pan, Aliyun Pan, Quark, UC Pan, 115, PikPak, and Xunlei, as well as Telegram channels that share links to those platforms. All searches run concurrently, and results are ranked by a scoring algorithm that weighs the plugin source priority, how recently the result was posted, and how well the keyword matches.
Plugins extend where the service looks. The README lists several official plugins for specific sources, and the plugin system is documented separately for developers who want to add new search targets. Telegram channels are configured with a comma-separated environment variable, so adding or removing a channel requires only a config change and a restart.
The service ships as a Docker image, so the fastest way to run it is a single docker run command. A combined image bundles a web frontend and the backend API together for users who want a ready-to-use interface. Running from source requires Go 1.18 or later.
Optional JWT-based authentication can restrict API access to specific users. When enabled, callers log in through a dedicated endpoint to receive a token, which they include in the header of all subsequent requests. By default, authentication is disabled.
This is a Chinese-language project, and all documentation and the web interface are in Chinese. It is aimed at users who want to search across Chinese cloud storage services from a single query.
Where it fits
- Search across multiple Chinese cloud storage platforms with a single API call instead of querying each one separately.
- Deploy a self-hosted file search service in minutes using the pre-built Docker image.
- Add JWT authentication to restrict API access to specific users.
- Extend search coverage by writing a plugin for a new storage platform or Telegram channel.