2026-11-29
The phone panel runs inside Termux. It supports static sites, Node.js apps and SQLite databases, with one hosting account per phone and no Docker. A Cloudflare tunnel connects the phone to a subdomain without opening a port on the phone's network. This post records the test of 29 November 2026: what runs on the phone, and which features need a Linux or Windows server.
What you need
- A phone with Termux and Termux:Boot from F-Droid, online, and kept on power.
- The panel running. Start it with bash ~/aihostingpanel/bin/start.sh, then check that it answers: curl -s http://127.0.0.1:2087/api/v1/health.
- A Cloudflare Zero Trust account with a named tunnel. The tunnel token is a secret: the owner types it on the phone and does not share it.
- Two hostnames on your own domain, each routed through the tunnel: one to the panel at http://127.0.0.1:2087 and one to the sites at http://127.0.0.1:8080. The sites port listens on the phone only.
What the test did
- Reset the owner's password with the reset command and signed in over the API. The test set a random password and did not keep it, so nobody knows it until the owner resets it.
- Created one API token for each run (one day, all 15 scopes, because the test covered every area; an agent uses only the scopes its task needs) and revoked it at the end of the run.
- Checked health, the OpenAPI document (218 paths), the 50 pages of the sidebar, the MCP tool list (147 tools) and every read tool.
- Wrote a static site into a folder of the account, unpacked an archive, and changed a file's mode.
- Set an environment value on the demo Node app, restarted it, and checked that its answer changed. Then removed the value.
- Created a SQLite database, ran SQL (an apply and a failing dry run), browsed the rows, and asked for the drop, which waits for approval.
- Turned FTP on, logged in over TLS on port 2121 with a password reset for the test, and listed the account folder.
- Tried every Linux-only feature to see the refusal message.
What passed
- Health returned 200 with version 1.2.52-termux.5. All 50 pages answered 200.
- Sign-in, the session check, API token use, token revocation (the revoked token then gets 401) and sign-out (204).
- A second hosting account was refused: this phone already has a hosting account (one per phone).
- Static files: write, list, chmod 644, an archive upload and an unzip into its own folder.
- The Node app: status active, the environment value set (only its name is listed), restart, the app answered with the new value, and its log was read.
- SQLite: created (201), SQL applied, the table listed with two rows, a failing dry run reported failed and left the rows unchanged, and the drop waited for approval.
- FTP: turned on; the login over TLS on port 2121 listed the account folder; turning it off waits for approval.
- Approvals: a token cannot list them (403). A person's session lists them, and each pending request waits for the owner.
- Password reset: list-users, reset-password (exit 0), sign-in with the new password (200), and a wrong password (401).
- A Cloudflare named tunnel, earlier on the same day: the panel's health check and the site answered 200 from the internet, on two subdomains of a test domain.
Features that need a Linux server
- Let's Encrypt certificates. On the phone, TLS comes from the Cloudflare tunnel.
- Firewall rules, fail2ban, backups, cron jobs, services, server settings and panel updates from the panel.
- PostgreSQL databases for an account, and MariaDB. On the phone, SQLite is the database to use.
Limits on the phone
- Subdomains are not available on the phone yet. The Ubuntu server test covered subdomains.
- A token reads the same checks with server_health. The System check page needs a person's session.
- Reseller tools are not open to tokens: reseller.manage is not in the token form.
- A mail domain needs a Resend API key saved for the account first.
- The restart test failed in every run so far. Until Termux:Boot starts the panel after a restart, open Termux and run start.sh.
Next steps
- The 30-minute background run passed on 1.2.52-termux.2. The 2-hour and overnight runs have not run yet.
- The current phone release is 1.2.58-termux.1. In-place upgrades kept the accounts and sites in the earlier tests.
- Run the restart test again after Autostart is allowed for Termux and Termux:Boot, with one unlock after the restart.
- Removals wait in Approvals for the owner's decision: turning FTP off and dropping the test database.
Steps to finish on the phone
- Allow Autostart for Termux and Termux:Boot, and set both to unrestricted battery use.
- Set your own password with the reset command in the reset tutorial. The test password was not kept.
- Review the Approvals page on the panel: approve or reject the pending requests to turn FTP off, drop the test database, delete the test edge worker, and delete docs/readme.txt in the test account.
