Skip to content

SayfullahSayeb/mobile-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

144 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Server

Turn your Android phone into a web server. Runs Nginx + PHP-FPM + MariaDB inside Termux — no root or PC required.

What you can do

  • Host PHP sites directly from your phone
  • One-click WordPress installation with auto database setup
  • Share your local development site with the world using built-in Cloudflared tunnels
  • Access your Termux terminal from any web browser
  • Full control panel accessible from any browser on the same network

Prerequisites

Install Termux first (Google Play version is outdated):

After installing Termux, open it and run:

bash <(curl -fsSL https://sayfullahsayeb.github.io/mobile-server/install.sh)

Usage

Command Action
ms start Start all services
ms stop Stop all services
ms restart Restart all services
ms status Check running status
ms update Update system
  • Open http://<device-ip>:8080 for the Control Panel.
  • Open http://<device-ip>:7681 for the Web Terminal (ttyd).

About

Turn your Android phone into a web server. Runs Nginx + PHP-FPM + MariaDB inside Termux — no root or PC required.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Contributors