Title: Vision: Solid Pod on Every Phone · Issue #46 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: Vision: Solid Pod on Every Phone · Issue #46 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: Vision: Solid Pod on Every Phone · Issue #46 · JavaScriptSolidServer/JavaScriptSolidServer
Description: The Vision Every smartphone could be a personal Solid pod - giving billions of people sovereign control over their data without relying on cloud providers. Proof of Concept We've successfully demonstrated JSS running on Android via Termu...
Open Graph Description: The Vision Every smartphone could be a personal Solid pod - giving billions of people sovereign control over their data without relying on cloud providers. Proof of Concept We've successfully demon...
X Description: The Vision Every smartphone could be a personal Solid pod - giving billions of people sovereign control over their data without relying on cloud providers. Proof of Concept We've successfully d...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/46
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vision: Solid Pod on Every Phone","articleBody":"## The Vision\n\nEvery smartphone could be a personal Solid pod - giving billions of people sovereign control over their data without relying on cloud providers.\n\n## Proof of Concept\n\nWe've successfully demonstrated JSS running on Android via Termux:\n\n- **Hardware**: Standard Android phone\n- **Runtime**: Node.js v24 via Termux + PM2\n- **Resources**: ~95MB RAM, ~0% CPU idle\n- **Connectivity**: SSH reverse tunnel via autossh\n- **Result**: https://phone.solid.live/ - a fully functional Solid pod\n\n### What Works Today\n\n| Component | Status |\n|-----------|--------|\n| JSS on Termux | ✅ Works (with bcryptjs swap) |\n| PM2 process management | ✅ Works |\n| Auto-reconnecting tunnel | ✅ Works (autossh) |\n| Survive reboot | ✅ Works (Termux:Boot) |\n| Public HTTPS endpoint | ✅ Works (via relay + haproxy) |\n\n## The Gap: From Proof-of-Concept to \"One Click Install\"\n\n### Current Setup (Technical Users)\n\n```\n1. Install Termux + Termux:Boot\n2. pkg install nodejs openssh autossh\n3. npm install -g pm2\n4. git clone JSS, swap bcrypt→bcryptjs\n5. Generate SSH keys, configure relay server\n6. Setup PM2, configure boot script\n7. Configure relay server (haproxy/nginx + certs)\n```\n\n### Goal: Anyone Can Do It\n\n```\n1. Install \"PhonePod\" app from Play Store\n2. Tap \"Create My Pod\"\n3. Done - your phone is now a Solid server\n```\n\n## Technical Roadmap\n\n### Phase 1: Installer Script (Low Effort)\n\nSingle bash script for Termux users:\n\n```bash\ncurl -sL https://jss.solid.live/install.sh | bash\n```\n\nThe script would:\n- Install dependencies (Node.js, PM2, autossh)\n- Clone and patch JSS\n- Configure PM2 and boot persistence\n- Guide user through relay setup\n\n**Effort**: 1-2 days\n**Audience**: Technical users comfortable with Termux\n\n### Phase 2: Hosted Relay Service (Medium Effort)\n\nProvide a public relay so users don't need their own VPS:\n\n- Wildcard domain: `*.phonepod.app` or similar\n- Auto-provisioned subdomains: `alice.phonepod.app`\n- Let's Encrypt wildcard cert\n- Simple registration (could even be WebID-based)\n\n**Architecture**:\n```\nPhone (JSS) → autossh → relay.phonepod.app → https://alice.phonepod.app\n```\n\n**Effort**: 1-2 weeks\n**Audience**: Users who can install Termux but don't have a VPS\n\n### Phase 3: Native Android App (High Effort)\n\nFull Android app with embedded runtime:\n\n- Bundle Node.js for ARM64 (or explore alternatives like aspect-build)\n- Native UI for setup and monitoring\n- Handle Android battery optimization properly\n- Background service with proper lifecycle\n- Optional: Integrate with relay service\n\n**Effort**: 1-3 months\n**Audience**: General public\n\n### Phase 4: P2P/Decentralized Relay (Ambitious)\n\nRemove the need for centralized relay infrastructure:\n\n- WebRTC hole-punching for direct connections\n- DHT for peer discovery\n- Fallback relay network run by community nodes\n- Integration with existing projects (libp2p, IPFS, etc.)\n\n**Effort**: 3-6 months\n**Audience**: Everyone, fully decentralized\n\n## Challenges to Solve\n\n### 1. Android Battery Optimization\n\nAndroid aggressively kills background apps. Mitigations:\n- Termux wakelock (`termux-wake-lock`)\n- Guide users to disable battery optimization\n- Native app could handle this better\n\n### 2. Native Modules\n\n`bcrypt` fails to compile on Android. Solutions:\n- ✅ Already solved: Use `bcryptjs` (pure JS)\n- Consider making this the default or auto-detecting\n\n### 3. Connectivity\n\nPhones change networks, go offline, etc. Solutions:\n- ✅ autossh handles reconnection\n- Native app could be smarter about network state\n- Consider offline-first with sync when connected\n\n### 4. Domain/HTTPS for Everyone\n\nEvery user needs a URL. Options:\n- Hosted relay with subdomains (Phase 2)\n- DID-based addressing (no DNS needed)\n- Integration with DynDNS-style services\n- .onion addresses (Tor)\n\n### 5. Discovery\n\nHow do others find your pod? Options:\n- WebID profile links\n- DID resolution\n- QR codes for local sharing\n- Integration with Solid ecosystem directories\n\n## Why This Matters\n\n1. **Data Sovereignty**: Your data lives on hardware you physically control\n2. **Zero Cost**: No monthly hosting fees, uses existing device\n3. **Resilience**: No single point of failure, survives provider shutdowns\n4. **Accessibility**: Billions have smartphones, few have VPS skills\n5. **Environmental**: Reuse old phones instead of e-waste\n\n## Call to Action\n\nWe're looking for contributors interested in:\n\n- [ ] Writing the Phase 1 installer script\n- [ ] Setting up a public relay service (Phase 2)\n- [ ] Exploring native Android app approaches (Phase 3)\n- [ ] Research on P2P connectivity (Phase 4)\n- [ ] Documentation and user guides\n- [ ] Testing on various Android devices\n\n## Resources\n\n- [Termux](https://termux.dev/) - Terminal emulator for Android\n- [JSS](https://github.com/JavaScriptSolidServer/JavaScriptSolidServer) - This project\n- [Solid Project](https://solidproject.org/) - The protocol specification\n- [autossh](https://www.harding.motd.ca/autossh/) - Persistent SSH tunnels\n\n---\n\n*This started as a \"can it run on my phone?\" experiment and turned into a working proof of concept in a single session. The technology is ready - we just need to package it.*","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-01-04T23:41:28Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/46"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a02b888a-43ab-7fbc-aea5-b8acc247e98a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D77E:DD8B9:1094494:14F0A4D:6B0398D7 |
| html-safe-nonce | 482d2aa7b67789d10e706bf185dc879b5768633062088daca1d9db0f4a243335 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzdFOkREOEI5OjEwOTQ0OTQ6MTRGMEE0RDo2QjAzOThENyIsInZpc2l0b3JfaWQiOiIyMjkyODMyOTE1MTE5MzgwNjk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a865ed847170026862dd06aeaa8b6a2be732983d0b2e3961b47e745e8e4084e2 |
| hovercard-subject-tag | issue:3779769996 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a55d8e0b5645fc59569ef2dcfe830532a72151c5ba3dbe05da9859843b98ed3b/JavaScriptSolidServer/JavaScriptSolidServer/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a55d8e0b5645fc59569ef2dcfe830532a72151c5ba3dbe05da9859843b98ed3b/JavaScriptSolidServer/JavaScriptSolidServer/issues/46 |
| og:image:alt | The Vision Every smartphone could be a personal Solid pod - giving billions of people sovereign control over their data without relying on cloud providers. Proof of Concept We've successfully demon... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width