8000 GitHub - dominic-sylvester/dev-portal: Dev Portal launcher for iPad code-server access over Tailscale · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.
dominic-sylvesterPublic archive

About

Dev Portal launcher for iPad code-server access over Tailscale

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Dev Portal

A simple launcher for accessing VS Code (code-server) from your iPad over Tailscale.

Visit one URL, tap Open VS Code, and you're in. Based on the Tailscale iPad + VS Code guide.

What you get

https://your-server.your-tailnet.ts.net/          → Dev Portal (launcher)
https://your-server.your-tailnet.ts.net/vscode/   → VS Code in the browser

Prerequisites

Quick setup

git clone <your-repo-url> dev-portal
cd dev-portal

chmod +x scripts/*.sh
./scripts/install-ipad-dev.sh
sudo tailscale up
./scripts/start-ipad-dev.sh

Then on your iPad (with Tailscale connected), open the Portal URL printed by the start script.

Scripts

Script Purpose
scripts/install-ipad-dev.sh One-time install of code-server, Tailscale, and Caddy
scripts/start-ipad-dev.sh Configure Caddy and start the HTTPS stack
scripts/start-local.sh Local preview on http://127.0.0.1:3000 (no Tailscale)

iPad tips

  1. Open the Portal URL in Safari
  2. Tap Open VS Code
  3. Safari → Share → Add to Home Screen for a home-screen icon

HTTPS is required for clipboard support and other browser features in VS Code.

Project structure

dev-portal/
├── portal/                 # Static launcher page (PWA-ready)
│   ├── index.html
│   ├── styles.css
│   ├── manifest.json
│   └── icon.svg
└── scripts/
    ├── lib.sh              # Shared helpers
    ├── install-ipad-dev.sh
    ├── start-ipad-dev.sh
    └── start-local.sh

Troubleshooting

Problem Fix
Tailscale is not authenticated Run sudo tailscale up and sign in
HTTPS certificate errors Enable MagicDNS + HTTPS in admin console, then re-run start-ipad-dev.sh
VS Code page blank or broken Use /vscode/ with a trailing slash
Can't reach server from iPad Confirm both devices are connected in the Tailscale app
Caddy fails to reload Check logs: sudo journalctl -u caddy -n 50

Security notes

  • code-server runs on 127.0.0.1 only — not exposed publicly
  • Access is limited to your Tailscale network
  • Password auth is disabled because Tailscale provides authentication
  • Consider locking down your server to Tailscale only for extra protection

License

MIT

About

Dev Portal launcher for iPad code-server access over Tailscale

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0