Phone & tablet access
If Faheem Code is running on your computer, you can access it from a phone, tablet, or another device without exposing it to the public internet.
Tailscale (recommended)
Tailscale creates a private network between your devices. No port forwarding, DNS, or firewall rules are required.
Setup
-
Install Tailscale on both your computer and your phone or tablet.
-
Sign in with the same account on both devices.
-
Find your computer's Tailscale IP in the Tailscale app. It usually looks like
100.x.y.z. -
Start Faheem Code on your computer:
faheem-code -
Open
http://<tailscale-ip>:8000/in your phone or tablet browser.
That's it. The connection is encrypted and only devices in your Tailscale network can reach it.
Ngrok (remote / public access)
Use ngrok when Tailscale is not an option or when you need a temporary public URL. Because the URL is reachable from the internet, run Faheem Code in public mode with a strong backend API key first:
export LOCAL_BACKEND_API_KEY="<choose-a-strong-secret>"
faheem-code --public
Then start ngrok in a second terminal:
ngrok http 8000
Open the ngrok forwarding URL in your phone or tablet browser.
ngrok also supports OAuth, IP allowlists, and other access controls for additional protection.