🚀 Universal Proxy Service (Express.js v5 + ofetch)

✅ Dual-Service Proxy Server

🐙 GitHub Proxy | 🐳 Docker Registry Proxy | ⚡ Enhanced with ofetch

🚀 Core Features:

🐙 GitHub Proxy Service

📖 Git Clone Usage

git clone http://localhost:3000/https://github.com/user/repo.git

📁 File Download Usage

# Raw files
http://localhost:3000/https://raw.githubusercontent.com/user/repo/main/file.txt

# Releases
http://localhost:3000/https://github.com/user/repo/releases/download/v1.0/file.zip

⚙️ Global Git Configuration

git config --global url."http://localhost:3000/https://github.com".insteadOf "https://github.com"

🔍 Supported GitHub Domains

🐳 Docker Registry Proxy

📖 Basic Docker Usage

docker pull localhost:3000/nginx:latest
docker pull localhost:3000/ubuntu:22.04

🌐 Multi-Registry Support

# GitHub Container Registry
docker pull localhost:3000/ghcr.io/user/repo:tag

# Quay.io
docker pull localhost:3000/quay.io/user/repo:tag

# Google Container Registry
docker pull localhost:3000/gcr.io/project/image:tag

⚙️ Docker Daemon Configuration

# Edit /etc/docker/daemon.json
{
"registry-mirrors": ["http://localhost:3000"]
}

# Then restart Docker
sudo systemctl restart docker

🔍 Supported Registries

🔧 Advanced Usage Examples

GitHub Examples

# Clone a repository
git clone http://localhost:3000/https://github.com/microsoft/vscode.git

# Download a specific file
curl http://localhost:3000/https://raw.githubusercontent.com/microsoft/vscode/main/package.json

# Download a release asset
wget http://localhost:3000/https://github.com/git/git/releases/download/v2.42.0/git-2.42.0.tar.gz

Docker Examples

# Pull official images
docker pull localhost:3000/nginx:stable-perl
docker pull localhost:3000/postgres:15-alpine

# Pull from other registries
docker pull localhost:3000/ghcr.io/actions/runner:latest
docker pull localhost:3000/quay.io/prometheus/prometheus:latest

⚡ Technical Features

🎯 Express.js v5 Enhancements:
🚀 ofetch Integration Benefits: