I got banned from GitHub for 2 weeks. Here’s what I learned about single-platform dependency
说明与用途
作者创建了五个独立的下载渠道,以降低 GitHub 被封禁导致代码不可访问的风险。
问题
Relying solely on GitHub for code distribution exposed the project to sudden inaccessibility and hindered independent verification.
结果
By diversifying distribution channels, the project remained accessible even after a GitHub ban, enabling continuous verification and reducing single‑point failure risk.
工作流
- 1. Host the source on GitHub and publish NPM packages.
- 2. Mirror NPM packages on jsDelivr and unpkg CDNs.
- 3. Deploy an origin server (marketnow.site) to host tarballs directly.
- 4. Create a public GitHub org (alicelabs-llc) for visibility.
- 5. Write an install script that queries each channel in order and uses the first successful download.
证据
55 public repos instantly returned HTTP 404 to anonymous visitors.
All 5 channels serve byte‑identical tarballs (SHA‑256 verified).
The installer script tries all 5 channels in order and uses the first one that works.
- 记录日期: 2026-09-05T15:31:36.786Z