Git Federation Searcher — Git Federation 搜索er
v4搜索 across multiple self-hosted Git instances including Gitea, Forgejo, GitLab, and Codeberg. 聚合s 搜索 结果s from Codeberg.org, Gitea.com, OpenDev, NotABug, and Gitdab. Supports API-based 搜索 with fallback to 网页 搜索 via SearXNG. Allows 添加ing custom private instances with API 令牌 support.
运行时依赖
安装命令
点击复制技能文档
Git Federation 搜索er
搜索 across multiple self-hosted Git instances in parallel.
Overview
This 工具 搜索es across various Git hosting 平台s (not just GitHub/GitLab) including:
Codeberg Gitea.com NotABug Gitdab Self-hosted instances Features Multi-Instance 搜索: 搜索 5+ instances at once Auto-Discovery: 检测s if instances are reachable 添加 Custom Instances: 添加 your own Gitea/GitLab instances Fallback to 网页: Uses SearXNG if API 搜索 fAIls Type 检测ion: Auto-检测s Gitea vs GitLab vs Forgejo 结果s by Stars: 排序ed by popularity Default Instances Instance Type URL Codeberg Gitea https://codeberg.org Gitea.com Gitea https://gitea.com OpenDev Gitea https://opendev.org NotABug Gogs https://notabug.org Gitdab Forgejo https://gitdab.com Usage Command Line # 搜索 all instances python3 git_federation_搜索er.py "whisper"
# 列出 配置d instances python3 git_federation_搜索er.py --列出
# 添加 custom instance python3 git_federation_搜索er.py --添加 MyGitea https://git.example.com gitea
# 移除 instance python3 git_federation_搜索er.py --移除 MyGitea
Telegram 机器人 /git搜索 whisper # 搜索 all instances /gitinstances # 列出 all 配置d /git添加 Name URL Type # 添加 custom instance
Supported Git Types Type API Notes Gitea ✅ Full Best support Forgejo ✅ Full Gitea fork, same API GitLab ✅ Full Uses v4 API Gogs ✅ Partial Basic 搜索 only Requirements Python 3.7+ curl (for API calls) (Optional) SearXNG for 网页 fallback