v0.1.0-BETA Early release: test on your own device before relying on it. Star on GitHub
HostTriangle Emblem
HostTriangle
HostTriangle
Free & Open Source • Android 8.0+ • ARM64

Turn Spare Android Devices Into Always-On Edge Compute Nodes

Run your Java (Spring Boot), Node.js, and Python microservices directly on spare Android hardware. Avoid cloud inactivity spin-downs, skip router port-forwarding with Cloudflare Tunnels, and keep your code and secrets on your device.

On-Device Privacy
Rootless PRoot v5.1
16 KB Page-Size PTY
GNU GPL-3.0-only
hosttriangle-node-01 [arm64]
// PRoot Execution Engine inside /srv/app
$ /usr/lib/jvm/temurin-21-jre/bin/java -Xms128m -Xmx512m -jar backend.jar
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
[HostTriangleEngine] Starting Spring Boot application on aarch64 Android kernel...
[INFO] Tomcat initialized with port 8080 (http)
[SUCCESS] Started Application in 2.381 seconds (JVM running for 2.912)
[STATUS] Health probe 200 OK • Ingress stream ready on 127.0.0.1:8080
The Problem & The Vision

Why I Created HostTriangle

Deploying modern frontend applications (React, Next.js, Flutter) has become completely free and instantaneous on services like Vercel and Cloudflare Pages. But backend hosting remains broken: free cloud tiers shut down instances after 15 minutes of inactivity, inflicting brutal 30 to 50-second cold starts on students and indie developers showcasing their work.

Keeping a desktop PC or server running 24/7 consumes 60W–150W of power, requires continuous fan noise, and fails during local power cuts without a heavy UPS.

Then the realization struck: our spare Android phones are already quiet, power-efficient, battery-backed supercomputers. An older phone with an 8-core ARM64 CPU and 6 GB RAM has more raw compute capacity than many standard cloud VPS tiers—drawing less than 2 Watts of electricity.

HostTriangle turns this hardware into an edge compute node. By running an isolated Debian sandbox on Android and exposing your port via an outbound Cloudflare Zero Trust Tunnel, your spare phone serves as a practical, always-on hosting node for your APIs.

Stateless Compute Principle

Keep your database on free managed tiers (Supabase, Neon, MongoDB Atlas), while stateless compute logic runs directly across your devices.

Zero Maintenance Failover

If one node temporarily loses power or reboots, Cloudflare Load Balancing automatically routes traffic to another phone in your cluster.

Under The Hood

Engineered for Production Grade Stability

No hacks, no fragile rooting, and no kernel modifications. Built on standard POSIX virtualization.

01

PRoot v5.1 Userland

Uses ptrace system call interception to provide a rootless chroot environment. The application runs with standard Android UID permissions while believing it has root inside Debian.

02

16 KB Page-Size Native PTY

Compiled with clean-room C code and linked with -Wl,-z,max-page-size=16384. Guarantees 100% compatibility with Android 15 and future Linux kernel architectures.

03

Cloudflare Zero Trust Ingress

The embedded cloudflared daemon establishes encrypted outbound TLS tunnels. Seamlessly punches through carrier CGNAT, home Wi-Fi routers, and mobile firewalls.

Architectural Trade-Offs

Honest Architectural Comparison

An honest, realistic look at how hosting on spare phone hardware compares against free cloud tiers and dedicated single-board computers.

Aspect / Feature HostTriangle (Phone) Free Cloud Tiers (Render, etc.) Dedicated Raspberry Pi
Hardware Needed Spare phone you already have None (remote cloud platform) Purchase board, microSD, PSU, case ($60–$100+)
Running Cost Low electricity + existing Wi-Fi or data $0 within free tier limits (e.g. Render free plan, Railway credits) Low electricity
Inactivity Spin-down No spin-down (as long as phone is active and service is alive) Often spins down after 15m inactivity (e.g. Render free tier takes ~50s to spin up) No spin-down
Uptime & Reliability Depends on phone battery, thermal limits, and Android Doze/battery settings Governed by platform uptime SLAs and monthly free compute caps Depends on home power and external UPS setup
Code & Secrets Privacy Source code, JAR binaries, and .env secrets stay physically on your device Code and environment variables stored on third-party cloud infrastructure Code and secrets stay physically on your device
Public URL & Ingress Cloudflare Tunnel (traffic proxies through Cloudflare edge network) Platform-provided HTTPS endpoint or subdomain Cloudflare Tunnel or router port-forwarding / Dynamic DNS
Best Suited For College, test, and portfolio projects without a credit card Quick cloud deployments and serverless testing Dedicated always-on home server / self-hosted home lab

Important Architecture Note: Not intended for production or mission-critical use. Reliability depends on your phone's battery health, thermal limits, and Android background battery optimization settings.

Free tier cloud details verified from official documentation (as of November 2026): Render: Deploy for Free • Railway: Free Plan • Railway: Free Trial
Polyglot Compute

Run Your Backend on Your Own Phone

HostTriangle bundles a Debian environment with on-demand runtimes.

☕

Java (Spring Boot, JAR)

TESTED

Eclipse Temurin headless runtimes. HostTriangle reads your JAR's bytecode version and tells you if it needs a newer runtime.

Supports: Java 8, 11, 17, 21 LTS (Temurin JRE)
🧪

Node.js, Python, ARM64

EXPERIMENTAL

Auto-detected and launched from your workspace. Not yet tested across common frameworks.

Framework test suite in progress
PRIVACY & DATA FLOW

Clear, Transparent Data Handling

Your source code and .env files are stored in the app's private storage on your phone. They are not uploaded to a HostTriangle server, because HostTriangle has no server.

Public requests travel through Cloudflare's network, and Cloudflare can see that traffic (TLS terminates at Cloudflare edge before reaching your tunnel). If you connect a cloud database (such as Supabase or Neon), your data lives there.

HostTriangle itself includes no analytics or crash reporting. The bundled cloudflared daemon connects to Cloudflare to run your tunnel.

No HostTriangle Telemetry
HostTriangle includes zero analytics, tracking, or crash reporters. Verified with zero tracking SDKs in the dependency tree.
Open Source Licensing
HostTriangle's own code is GPL-3.0-only. Bundled components keep their own licenses. See THIRD_PARTY_NOTICES.md.
Application Showcase

Refined Native Android Interface

Designed with Material 3 & Jetpack Compose. Click any image to view high-resolution zoom.

Dashboard Status
Dashboard
Live Status & Ingress
Hardware Vitals
Vitals
Battery & Thermals
Deployment Artifacts
Deployment
Bytecode Analyzer
Runtime Configuration
Runtime
Secrets & Port Config
Terminal Logs
Terminal
Live PRoot Logs
Fleet Topology
Fleet Map
Multi-Node Cluster
Quick Start

Deploy In 3 Simple Steps

Deploy your backend directly on Android hardware with secure Cloudflare Zero Trust ingress.

1
Step 01

Select Your Artifact

Open Deployment, choose your Spring Boot .jar from phone storage. (Node.js and Python: experimental.)

2
Step 02

Paste Cloudflare Token

In Cloudflare Zero Trust, add a public hostname pointing to your local port, then paste the tunnel token into HostTriangle.

3
Step 03

Tap Start & Go Live

Tap Start Engine and use your public HTTPS URL in your frontend client or mobile app.

Frequently Asked Questions

Got Questions? We Have Answers