Codync
免費、開源的 1:1 替代方案,取代 Grok Bot 與 Muse。從 iPhone、Mac 或 Linux 桌面將 Claude Code、Codex、Cursor 與 40+ 程式碼代理人作為持續機器人傳訊。群組聊天、主題串…
AI 翻譯
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Your package hub. Proxy, cache, and host.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A self-hosted smart proxy and cache for package registries. It sits between your build tools and the internet, caches artifacts after the first download, and enforces access-control rules before any package reaches a developer or CI pipeline.
git clone https://github.com/batlehub/batlehub
cd batlehub/deploy/compose/min
BATLEHUB_ADMIN_TOKEN=$(openssl rand -hex 32) docker compose up -d # or podman compose
The server listens on http://localhost:8080, and npm is proxied at /proxy/npm/. deploy/compose/base adds an OIDC login (Dex) and deploy/compose/max adds Valkey and S3 storage — see Docker Compose.
Prerequisites: Rust 1.87+, Node 24+, PostgreSQL
# Backend
cargo build --release -p batlehub-server
# Frontend (optional — embeds the SPA into the server)
cd ui && pnpm install --frozen-lockfile && pnpm run build && cd ..
# Generate the OpenAPI spec and TypeScript client
cargo run -p batlehub-server -- --config config.example.toml dump-spec > ui/openapi.json
cd ui && pnpm run generate && pnpm run build && cd ..
# Run
./target/release/batlehub --config config.toml
Or use the Task shortcuts:
task compose:db # start only postgres
task run # cargo run with example config
task ui:dev # vite dev server (proxies /api and /proxy to :8080)
task test # cargo test --workspace
| Document | Contents |
|---|---|
| Supported Registry | List of supported Registries and how to use them |
| Installation | Choosing a method: Docker Compose, container image, binary, source, Helm |
| Helm chart | Kubernetes: three complete values files — basic, S3, production-ready |
| Administration | Administration: config, auth, S3, health, package management |
| User guide | User guide: client setup and publishing for all registry types |
| Configuration | Full TOML reference, permissions, worked examples |
| Configuration § Registry modes | Private registry modes (local / hybrid) |
| Private upstreams | Upstream auth (Bearer / Basic / header) and custom CA certificates |
| Publishing | Step-by-step guide for publishing packages (npm, Cargo, VSIX, Go modules, gems, Maven artifacts, Terraform modules/providers, PyPI wheels, conda packages) |
| SBOM | SBOM configuration, format reference, API endpoints, and export guide |
| Adding a registry |
task build # cargo build --workspace
task test # cargo test --workspace
task lint # cargo clippy --workspace
task fmt # cargo fmt --all
task dump-spec # regenerate ui/openapi.json
task ui:generate # regenerate TypeScript client from openapi.json
task coverage # generate HTML coverage report (requires PostgreSQL + RustFS)
task coverage-check # enforce ≥80% line coverage (fails the build if below threshold)
CONTRIBUTING.md — contributor guide (points to Contributing guide)ROADMAP.md for the full list of planned features, or browse the Roadmap page on the documentation site.SECURITY.md — supported versions and how to report a vulnerabilityLICENSE — Apache License 2.0| Step-by-step guide for implementing a new registry adapter |
/swagger-ui/ (runtime) | Interactive API docs |