perfectassistant-2api-cfwork

Cloudflare Worker 单文件部署 | 无需 Cookie 自动会话管理 | 伪流式 SSE 引擎 (Pseudo-Streaming) | HTTP 请求代理 + 请求头伪装 | 自动生成 chatId 无状态设计 | OpenAI 标准 API 适配 | 内置开发者 Web UI 测试面板 | CORS 跨域支持 | 多模型映射与路由 | 一键部署无需依赖

A new way for AI to search for data
View on GitHub
60GitHub stars
6commits on main
56forks

Rust 68.4%, JavaScript 31.3%, Batchfile 0.3% · created 2025-11-22 · last push 2026-10-03

What XERJ indexed

Snapshot

25 files · 168.5 KB

The whole repository at commit 93548b2d02 (2026-10-03). main is 2 commits ahead.

Selected work

“双形态 2API(Cloudflare + 本地 Rust),修复上游契约并扩展至 62 工具”. 20 files, 3,300 lines in local, the project root, scripts.

Licence

The repository

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

The author agreed by email on 2026-10-11. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for lza6/perfectassistant-2api-cfwork on 2026-10-31, and the LICENSE file at commit 93548b2d02 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Chinese-tingfeng (@lza6) has 1 selected repository on the hub.

Using XERJ with perfectassistant-2api-cfwork

The prompt

Paste it into your AI agent. It clones lza6/perfectassistant-2api-cfwork at the pinned commit and indexes it on your machine.

Search the GitHub repository lza6/perfectassistant-2api-cfwork with XERJ (https://hub.xerj.org/corpus/lza6--perfectassistant-2api-cfwork).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/lza6/perfectassistant-2api-cfwork perfectassistant-2api-cfwork && git -C perfectassistant-2api-cfwork checkout 93548b2d025da9b944d9cb772c543378786cf92c
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./perfectassistant-2api-cfwork --url http://127.0.0.1:9200 --prefix perfectassistant-2api-cf --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.