huzefdev / pocket-cloud
git clone https://github.com/huzefdev/pocket-cloud.git
v1.0.0 · 10d ago
Turn any Android phone into a full self-hosted Private Cloud & Media Server using Termux, FileBrowser, Jellyfin, and Syncthing.
—
stars, 24h
—
stars, 7 days
+84
stars, 30 days · #2,731
84
★ total
6
forks · 0 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageShell
License—
Created2026-10-10 (10d ago)
Last push10d ago
Watchers1
OwnerUser
GitHub topics
android-serverfilebrowserfilebrowser-apifilebrowser-tunnelhomelabjellyfinjellyfin-clientjellyfin-themenasprivate-cloudprivate-cloud-storageself-hostedsyncthingsyncthing-clisyncthing-guisyncthing-servertermux-environmenttermux-hackingtermux-packagetermux-tool
Links
README excerpt
# Termux Pocket Cloud: Complete Self-Hosted NAS & Media Server Turn any unrooted Android device into a complete, automated private cloud server running: - **Jellyfin Media Server** (with FFmpeg transcoding) - **FileBrowser** (Fast web-based file management, replacing Google Drive/Photos) - **Syncthing** (P2P real-time backup and multi-device file synchronization) --- ## Architecture Overview | Service | Protocol / Port | Purpose | Replacement For | | :--- | :--- | :--- | :--- | | **FileBrowser** | HTTP / `:8080` | Web UI for uploading, organizing, and streaming files | Google Drive | | **Jellyfin** | HTTP / `:8096` | Full media streaming dashboard with metadata & transcoding | Netflix / Plex | | **Syncthing** | Web UI / `:8384` | Automated P2P continuous camera & folder backup | Google Photos Auto-Sync | --- ## Prerequisites 1. Install **Termux** from F-Droid (do not use the deprecated Google Play Store build). 2. Install **Termux:API** and **Termux:Boot** (optional, for auto-start). 3. Disable Android Battery Optimization for Termux: - Settings -> Battery -> Termux -> Set to **Unrestricted**. 4. Disable Phantom Process Killer (if running Android 12+): - Developer Options -> Disable child process restrictions. --- ## One click installation # Pocket Cloud: Complete Self-Hosted Android Server ## ⚡ 1-Click Automated Setup before that if you encounter any problems contact: huzef.dev@gmail.com or https://discord.gg/GcGkW5fvDh Run this single command inside Termux: [code] 🛠️ Manual Step-by-Step Installation If you prefer to install services manually, follow these steps: Step 1: Base Environment & Storage pkg update && pkg upgrade -y [code] Step 2: FileBrowser Setup (Replaces Google Drive) [code] Step 3: Syncthing Setup (Replaces Google Photos Sync) Termux: [code] * Syncthing start: [code] Step 4: Jellyfin Media Server (via Ubuntu PRoot) [code] Inside Ubuntu Container Shell: [code] Accessing Your Dashboards Open your browser from any device connected to the same Wi-Fi network: Files: http:// :8080 (Default: admin / admin) Sync: http:// :8384 Media: http:// :8096 (Find your phone's IP inside Termux using ifconfig wlan0)