Spaces:
Running on Zero
Running on Zero
GitHub Actions
fix: llm.chat IndexError (lazy Ollama warm + safe _resolve_backend fallback) + chat self-send returns direct
66a1a95 ποΈ HearthNet Build Status & Artifacts
Last Build: June 11, 2026 β
Commit: fbcd2f1 - Build: Add Android APK, PWA, and deployment guide
Status: β
All artifacts built and pushed to HF Space
π¦ Available Build Artifacts
1. Android PWA (Progressive Web App) β
- Status: Production Ready
- Access: HF Space Live Demo
- Setup Time: 5 minutes
- Size: ~5 MB (web assets only)
- Features:
- β Service Worker offline caching
- β Installable on home screen
- β Works on Chrome, Firefox, Edge, Samsung Internet
- β Offline-first mesh capabilities
- Installation:
1. python app.py on computer 2. Open http://YOUR_IP:7860 on Android 3. Menu β Install app
2. Android Native APK β
- Status: Built & Ready
- File:
build/android/HearthNetApp/platforms/android/app/build/outputs/apk/debug/app-debug.apk - Size: 3.56 MB (debug build)
- Build Type: Debug
- Target SDK: Android 36 (API level 36)
- Min SDK: Android 21 (API level 21)
- Installation:
# Via USB adb install -r build/android/HearthNetApp/platforms/android/app/build/outputs/apk/debug/app-debug.apk # Via file transfer # Copy .apk to device and tap to install - Includes:
- Cordova wrapper (v15.0.0)
- InAppBrowser plugin
- StatusBar plugin
- Custom landing page with server connection
3. Docker Container β
- Status: Ready to build
- Dockerfile:
Dockerfile(root directory) - Build Command:
docker build -t hearthnet:latest . docker run -p 7860:7860 hearthnet:latest - Features:
- Complete Python environment
- All dependencies pre-installed
- Runs HearthNet mesh node
- Accessible via http://localhost:7860
4. Python Source / CLI β
- Status: Development Ready
- Location: Root directory
- Requirements: Python 3.10+
- Installation:
git clone https://huggingface.co/spaces/build-small-hackathon/HearthNet cd HearthNet pip install -r requirements.txt python app.py - Platform Support: Windows, macOS, Linux
- Features: Full mesh node with CLI interface
5. Documentation β
Deployment Guide: ANDROID_DEPLOYMENT_GUIDE.md
- PWA quick start (5 min)
- APK build options (3 paths)
- Troubleshooting guide
- Architecture diagrams
Build Guides:
π Download Links
All artifacts linked in README.md (updated):
| Platform | Link | Format | Size |
|---|---|---|---|
| Web/PWA | Live Demo | Web | ~5MB |
| Android APK | build/android/HearthNetApp/.../app-debug.apk |
APK | 3.56MB |
| Docker | Dockerfile | Container | Build ~2GB |
| Python | Source | Python | - |
| Docs | Deployment Guide | Markdown | - |
β Build Verification Checklist
- Android APK generated (3.56 MB)
- APK verified at correct path
- PWA files created:
-
hearthnet/ui/manifest.json -
hearthnet/ui/sw.js -
hearthnet/ui/pwa.py
-
- Cordova project configured
- Android platform added (v15.0.0)
- config.xml updated (target SDK 36)
- Plugins installed
- Landing page implemented
- Documentation complete
- ANDROID_DEPLOYMENT_GUIDE.md
- README updated with download links
- Troubleshooting guide
- Git commit created
- Push to HF Space successful
π Feature Matrix
| Feature | PWA | APK | Docker | Python |
|---|---|---|---|---|
| Mesh Networking | β | β | β | β |
| Chat | β | β | β | β |
| LLM (Ask) | β | β | β | β |
| Offline Support | β | β | β | β |
| Marketplace | β | β | β | β |
| Emergency Mode | β | β | β | β |
| P2P Routing | β | β | β | β |
| Local LLM | β | β | β | β |
| Standalone App | β | β | β | β |
| Play Store Ready | β | β οΈ (needs signing) | β | β |
π Deployment Paths
Path 1: PWA (Fastest - RECOMMENDED) β
- Time: 5 minutes
- Setup:
python app.pyβ open on browser β install - Best for: Testing, development, quick deployment
- Pros: No build needed, instant updates, works everywhere
- Cons: Requires WiFi connection to server
Path 2: Docker (Most Scalable)
- Time: 15 minutes (first build)
- Setup:
docker build . && docker run -p 7860:7860 hearthnet - Best for: Production deployment, scaling, CI/CD
- Pros: Reproducible, isolated, easy scaling
- Cons: Requires Docker installation
Path 3: Android APK (Native App)
- Time: Already built! 3 minutes install
- Setup: Copy APK to phone and tap to install
- Best for: Play Store distribution, offline-first mobile
- Pros: Native app, Play Store compatible, offline capable
- Cons: Debug build (not signed), larger file size
Path 4: Python CLI (Development)
- Time: 10 minutes
- Setup:
pip install -r requirements.txt && python app.py - Best for: Development, testing, node operation
- Pros: Full control, easy debugging
- Cons: Requires Python environment
π± Android Setup Guide (TL;DR)
Quick PWA (Recommended)
python app.py
# On Android: http://192.168.x.x:7860
# Menu β Install app
Native APK
# Copy APK to phone
adb install build/android/HearthNetApp/platforms/android/app/build/outputs/apk/debug/app-debug.apk
# Or drag .apk to phone and tap
Release APK (Future)
# In Android Studio:
# 1. Build β Build Bundle(s) / APK(s) β Build Release APK(s)
# 2. Sign with keystore
# 3. Upload to Play Store
π§ Build Information
Environment
- OS: Windows 11
- Java: OpenJDK 17 (via Android Studio)
- Node.js: v23.11.0
- Android SDK: API 36
- Gradle: 4.4.1 (wrapper)
- Cordova: v15.0.0
Build Tools
- APK Build:
cordova build android - Container Build:
docker build - Python Setup:
pip install -r requirements.txt
Commit Info
- Hash: fbcd2f1
- Date: June 11, 2026
- Message: "Build: Add Android APK, PWA, and deployment guide"
- Files Changed: 150+
- Insertions: 5000+
π― Next Steps
Test PWA (5 min):
python app.py # Open http://YOUR_IP:7860 on AndroidTest APK (optional):
adb install build/android/HearthNetApp/platforms/android/app/build/outputs/apk/debug/app-debug.apkDeploy to Play Store (when ready):
- Sign APK with production keystore
- Create Play Store account
- Upload signed APK
- Set up store listing
Production Deployment:
- Use Docker for server-side
- Use PWA for clients (instant, no installation)
- Use APK for offline-first users (optional)
π Support
Documentation:
GitHub: ckal/HearthNet
HF Space: build-small-hackathon/HearthNet
Issues: Use GitHub Issues for bug reports
Status: β
Ready for deployment
Last Updated: June 11, 2026
Version: 0.1.0