GitPHP / Docs / 🚀 Remote Updates & Downloads
⚡️ REST API v1

The GitPHP guide 🚀

Comprehensive open-source documentation: Self-hosting, Personal Access Tokens, Git & SSH, pull requests, and REST API.

🚀 Remote Updaters & CI/CD Token Architecture (upd_*)

NEW

Authorizes automated CLI installers (such as antigravity-installer-linux), headless servers, and CI/CD pipelines to download repository releases and source code archives directly without interactive browser prompts.

Personal Account upd_* Token

Every member gets an isolated permanent token starting with upd_... that can be copied or regenerated at any time.

Full cURL & Wget Compatibility

Pass the token via the X-Update-Token header or the query parameter ?token=upd_*.

Short-Link Anti-Scraping Shield

Unauthorized raw download requests automatically redirect to the verified short-link download gateway.

Automation & Shell Examples:

# 1. Download release assets via X-Update-Token header (Recommended):
curl -sSL -H "X-Update-Token: upd_YOUR_PERSONAL_TOKEN" \
     "https://git.ysnapp.com/username/repository/releases/download/v1.0.0/app.tar.gz" -o app.tar.gz

# 2. Download repository source archives directly:
curl -sSL -H "X-Update-Token: upd_YOUR_PERSONAL_TOKEN" \
     "https://git.ysnapp.com/username/repository/archive/main.zip" -o source.zip

# 3. Using direct query token with Wget:
wget "https://git.ysnapp.com/d/SHORT_CODE/get?token=upd_YOUR_PERSONAL_TOKEN" -O package.zip
🚀 Get Your Token: Navigate to Settings → Remote Updates or open /settings/updates.

☁️ Unified Download Portal & Broken Link Reporting (/d/* Gateway)

NEW

An ultra-fast, security-audited portal for all shared platform assets, binaries, and repository archives with real-time integrity verification.

Automated SHA-256 Checksum

Automatic cryptographic hash computation with one-click copy to verify file integrity prior to installation.

Broken Link Reporting System

Visitors can immediately report corrupt, missing, or slow downloads with automatic logging to the admin dashboard.

Responsive Large-Screen Sidebar

Desktop-optimized sidebar presenting live cluster activity, verification badges, and file specifications.