Privacy-respecting static JSON API for the GameHub Android app. This repository hosts all configuration files, component manifests, and API responses.
GameHub Lite App/Patch Repository: https://github.com/Producdevity/gamehub-lite
This repository uses a TypeScript build system that automatically generates all API endpoint files from:
sp_winemu_all_components12.xml- Official GameHub component datadata/custom_components.json- Custom components not in the XMLdata/*.json- Static configuration files
# Install dependencies
npm install
# Build all files
npm run build
# Validate without generating
npm run validateThe build system generates 16 API endpoint files:
Component Manifests (components/):
box64_manifest- Type 1: Box64/FEX emulatorsdrivers_manifest- Type 2: GPU drivers (Turnip, Adreno, etc.)dxvk_manifest- Type 3: DXVK layersvkd3d_manifest- Type 4: VKD3D Protongames_manifest- Type 5: Game patches/configslibraries_manifest- Type 6: Windows librariessteam_manifest- Type 7: Steam componentsindex- Component counts by typedownloads- All downloadable files
Simulator Endpoints (simulator/):
v2/getAllComponentList- All componentsv2/getComponentList- Type 1 components onlyv2/getContainerList- Wine/Proton containersv2/getDefaultComponent- Default component selectionv2/getImagefsDetail- Firmware infoexecuteScript/generic- Generic ARM execution presetexecuteScript/qualcomm- Qualcomm-specific preset
The build system automatically checks if all component files exist on the GitHub release and will:
- Report any missing files
- Provide download commands from the official CDN
- Provide upload commands for GitHub
- Fail the build if files are missing (prevents broken deployments)
gamehub-lite-api/
├── src/ # TypeScript source code
│ ├── index.ts # Main entry point
│ ├── parsers/ # XML and JSON parsers
│ ├── generators/ # Output file generators
│ ├── registry/ # Component registry
│ ├── types/ # TypeScript types
│ └── utils/ # Utilities
├── data/ # Configuration and source files
│ ├── sp_winemu_all_components12.xml # Source XML from GameHub
│ ├── containers.json # Wine/Proton containers
│ ├── imagefs.json # Firmware configuration
│ ├── defaults.json # Default component selection
│ ├── execution_config.json # Execution settings
│ └── custom_components.json # Custom components
├── components/ # Generated manifests
├── simulator/ # Generated API endpoints
└── package.json
Configures default component selections:
{
"dxvk": 24,
"vkd3d": 7,
"steamClient": 334,
"container": 2,
"genericComponentIds": [7, 8, 24, 345],
"qualcommComponentIds": [7, 8, 25, 345, 48],
"genericContext": { ... },
"qualcommContext": { ... }
}Add components that aren't in the official XML:
{
"components": [
{
"id": 316,
"name": "steam_9866232",
"type": 7,
"version": "1.0.0",
"version_code": 1,
"file_name": "steam_9866232.tar.zst",
"file_md5": "3d9d01362622a782a27ae691427b786c",
"file_size": "41192642"
}
]
}| Type | Name | Description |
|---|---|---|
| 1 | Box64/FEX | x86_64 emulators for ARM64 |
| 2 | GPU Drivers | Turnip, Adreno, Mali drivers |
| 3 | DXVK | DirectX 9/10/11 to Vulkan |
| 4 | VKD3D | Direct3D 12 to Vulkan |
| 5 | Games | Game-specific patches/configs |
| 6 | Libraries | Windows DLLs for Wine |
| 7 | Steam | Steam client components |
GitHub release assets automatically replace spaces with dots in file names. The build system handles this by:
- Storing original file names from XML
- Converting spaces to dots for GitHub URLs
- Checking files exist on GitHub with the converted names
Example: Torchlight II.tzst → Torchlight.II.tzst
- Replace
data/sp_winemu_all_components12.xmlwith the new version - Run
npm run build - Review the diff and commit changes
- Upload any missing files reported by the build
- Add to
data/custom_components.json - Run
npm run build - Upload the component file to GitHub release
Component files are hosted on GitHub Releases:
https://github.com/Producdevity/gamehub-lite-api/releases/download/Components/{filename}
The build system rewrites all download URLs to point to GitHub.
| Repository | Description |
|---|---|
| gamehub-lite | Main project with pre-built APK releases |
| gamehub-lite-api | Static JSON API hosting component manifests, configuration files, and mock responses that replace the original Chinese servers |
| gamehub-lite-worker | Cloudflare Worker API proxy that handles token management, signature regeneration, privacy protection (IP hiding, fingerprint sanitization), and content routing |
| gamehub-lite-news | News aggregator that collects gaming news from RSS feeds and GitHub releases, transforms them into GameHub's API format |
| gamehub-lite-token-refresh | Automated token refresher that uses Mail.tm OTP authentication to maintain valid GameHub tokens, runs every 4 hours via Cloudflare Cron |
This repository contains only:
- Public component manifests
- Open source configuration data
- CDN download links
No user data, analytics, or tracking.