pockethost

Kehn-Marv

A Kotlin platform that turns an unrooted Android phone into a supervised self-hosting environment for Python applications.

KotlinCreated

What is Kehn-Marv/pockethost?

PocketHost is a Kotlin platform that turns an ordinary, unrooted Android phone into a small self-hosting server for Python applications. It is designed for running personal services directly on spare or everyday Android hardware without requiring root access.

To run a service, you supply Python code paired with a pockethost.yaml manifest. PocketHost deploys the project as an immutable snapshot and runs it as a supervised process that automatically restarts after crashes. Application data is kept in persistent volumes, credentials are stored in encrypted secrets, and hosted services can be shared over the local network or exposed externally through a relay.

Developers and hobbyists looking to repurpose an unrooted Android device as a lightweight host for small Python tools or bots can use PocketHost instead of maintaining dedicated desktop servers or rooting a phone.

Before you startThe README says

Runs on
Android 10 (API 29) or newer, on 64-bit ARM or an x86_64 emulator
Needs
A 64-bit Android phone or x86_64 emulator; about 140 MB of storage plus space for projects
Accounts or paid services
A small server with a public address to run the relay, only needed for public URLs
How you get it
Install signed APKs from GitHub releases, or build with ./gradlew :app:assembleDebug after staging the runtime
Asks for
Hosting Mode runs as a foreground service with a permanent notification
Not yet
Not tested on a physical phone or other Android versions; no Node.js or WebAssembly runtime yet; no Docker

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.