spaceforge / RESULT.md
2Btainment's picture
docs: RESULT E2E APK verified on HF
ff9e62a verified
|
Raw History Blame Contribute Delete
2.08 kB
# SpaceForge — RESULT
## Deployment
| | |
|--|--|
| **Space URL** | https://huggingface.co/spaces/2Btainment/spaceforge |
| **App domain** | https://2btainment-spaceforge.hf.space |
| **Visibility** | **private** (owner: 2Btainment / Pro) |
| **SDK / HW** | Docker · `cpu-basic` |
| **Commit** | `dbc27444bc9a176f5c07398cc30c93e6df86227c` |
| **Runtime** | **RUNNING** (verified 2026-10-01 ~15:32 CEST) |
| **`/api/health`** | `android_sdk.ready: true` (JDK + `/opt/android-sdk` platform 34) |
## Android E2E (live HF — 2026-10-01)
| | |
|--|--|
| Space | `gradio/hello_world` |
| Download filename | **`hello_world-android-debug.apk`** |
| Size | **3 526 071 bytes** (~3.4 MiB) |
| Package / applicationId | **`com.spaceforge.hello`** |
| `binary_included` / `apk_included` | **true** |
| `content-type` | `application/vnd.android.package-archive` |
| Mode | Hosted Wrapper (WebView → live Space) |
| Signing | **Unsigned debug** |
| Fallback zip? | Not used (APK build succeeded) |
Local copy on box: `/workspace/apk-build/from-hf/hello_world-android-debug.apk`
## What works (MVP)
| Target | Mode | Artifact | Status |
|--------|------|----------|--------|
| HTML Widget | Hybrid | `.zip` | ✅ |
| PWA | Hybrid | `.zip` | ✅ |
| Firefox Extension | Hybrid | `.xpi` | ✅ |
| Chromium Extension MV3 | Hybrid | `.zip` | ✅ |
| Tauri | Local project | project zip | ✅ |
| **Android (Capacitor)** | Hosted Wrapper | **debug `.apk`** (zip fallback if Gradle fails) | ✅ **verified on HF** |
| Linux AppImage / Windows | stubs | — | ✅ |
## Sideload
```bash
adb install -r hello_world-android-debug.apk
```
Or copy the APK to a phone and open it (enable “install unknown apps”).
## Honest labeling
- This is a **debug Hosted Wrapper** WebView shell — **not** a Local offline APK of the Gradio/model/GPU runtime.
- Network to Hugging Face is required at runtime.
- Project zip is returned **only** when APK build fails; notes include `FALLBACK`.
## Tests
**29/29** pytest passed locally (`SPACEFORGE_ANDROID_SDK=0` forces zip path in unit tests).