mirror of
https://github.com/lbr77/SideImpactor.git
synced 2026-05-06 11:14:01 -04:00
0d4c9bf8d96274828377c8444214fc9b0ef290f0
Migrate frontend to React + Tailwind, add Docker + tests
Sideload.js
Browser-based IPA signing and installation. Pair an iOS device over WebUSB, sign with your Apple Developer account, and install — all from a single web page.
Quick Start
bun install --ignore-scripts
bun run dev
Open http://localhost:5173.
Project Structure
| Path | Purpose |
|---|---|
frontend/ |
React + Tailwind SPA (Vite) |
backend/ |
Cloudflare Workers relay |
dependencies/webmuxd/ |
WebUSB usbmux/lockdown protocol library |
wasm/openssl/ |
OpenSSL WASM (TLS + pair record generation) |
wasm/libcurl-wasm/ |
libcurl WASM (Apple API HTTP via WISP proxy) |
wasm/zsign-wasm/ |
zsign WASM (IPA re-signing) |
scripts/ |
WASM native build scripts (Rust + Emscripten) |
Build
# WASM dist bundles (copies pre-built src→dist, no compiler needed)
bun run build:wasm:dist
# Frontend production build (runs wasm:dist automatically)
bun run build:frontend
# Full WASM recompile from source (requires Rust, Emscripten, precompiled OpenSSL)
bun run build:wasm
Docker
bun run build:wasm:dist # ensure WASM dists exist
docker build -t sideload-web .
docker run -p 3000:3000 sideload-web
Test
bun run test # webmuxd unit tests
bun run test:frontend # frontend vitest suite (141 tests)
Credits
Languages
JavaScript
87.8%
TypeScript
9.6%
Rust
1.5%
CSS
0.5%
C
0.3%
Other
0.2%