dev-code-proxy

Workflows

Dev Code Proxy app icon

Dev Code Proxy for desktop

A native menu-bar app for dcp: share your dev servers online, see every app with its links, CPU and memory, stop one, and change any setting, without a terminal.

Direct downloads from the latest release. Also see all releases.

What it does

One native menu in the menu bar (the system tray on Windows and Linux): no window to manage, and it looks and behaves like the rest of your system's menus, dark mode and keyboard included.

Sharing online
● Tailscale: anyone with the link · 2 apps  ▸ https://laptop.tail1234.ts.net        (click copies)
                                              Anyone with the Link (Funnel) · My Tailnet Only (Serve)
                                              Turn Tailscale Sharing Off
                                              Help: How Tailscale Sharing Works
○ Cloudflare: off                           ▸ Set Up: Copy “dcp cloudflare on --zone example.com --env-file .env”
                                              Help: How Cloudflare Sharing Works
─────────────
This Mac · 3 apps
api.acme.localhost  :4100  0.4% · 96 MB
                          ▸ Open:    https://api.acme.localhost
                                     https://laptop.tail1234.ts.net/api/
                                     https://api-acme-laptop.example.com   (not online)
                                     http://127.0.0.1:4100
                            Copy:    Local URL · Tailscale Link · Cloudflare Link · All Details
                            Process: dcp run · port 4100 · pid 5120      (click copies)
                                     0.4% CPU · 96 MB · 2 processes · up 1h02m
                                     ~/acme/api                           (opens the folder)
                            Stop…
Open Dashboard · Rescan Now · Restart Local Proxy
─────────────
Settings                  ▸ every setting of ~/.dcp/config.json
Check for Updates…  Documentation  About  Quit
  • Sharing online, one row per provider with a status dot: Tailscale (on by default) and Cloudflare. Each row's submenu has the base URL to copy, the detail (the Cloudflare tunnel's health), and while it is not online the problem with its Fix (a page to open, or a command to copy). Tailscale picks a public link (Funnel) or your tailnet only (Serve); each provider turns on or off; Cloudflare's Set Up copies dcp cloudflare on --zone example.com --env-file .env, to run once in a terminal. Cloudflare's row also shows which credentials work, the zone, its DNS records and the last sync, with Sync Now; once it is off, Delete Tunnel and DNS Records… and Forget Credentials… (each asks first). Check Links… opens every link from the outside and says how each answered (DNS, certificate, status). Help opens the docs for that provider. The local HTTPS proxy keeps sharing after reboots; on a machine without it, the app shares Tailscale by itself while it runs.
  • Every app with its links. Each https://<name>.localhost app of this machine shows its port, CPU and memory in the menu, and has a submenu in three sections: Open (its .localhost name, its Tailscale and Cloudflare links, 127.0.0.1:<port>), Copy (Local URL, Tailscale Link, Cloudflare Link, All Details) and Process (runtime, pid, CPU, memory, processes, uptime and folder, readable, a click copies a line). The numbers update while the menu is open. A link whose provider is off or not online yet is marked not online, and clicking it offers to turn that provider on.
  • Rescan Now and Restart Local Proxy: dcp reload and dcp restart, from the menu.
  • Stop an app the way dcp stop does. The confirmation shows the process, what it costs and the exact command, with Stop (SIGTERM, like Ctrl-C), Force Stop (ends every process of it at once) and Copy Command. One that is still running after 5 seconds offers Force Stop.
  • Every setting in the menu, grouped: finding dev servers (ports, runtimes, Docker, scan interval), Tailscale (HTTPS port, forwarded host, MagicDNS), the local HTTPS names (finding dev servers, the dashboard, names nothing serves, the request log, automatic updates), and the app (open at login). A change applies at once, and dcp configure in a terminal shows up in the menu.
  • Says what's missing. Tailscale not installed or not signed in, or local HTTPS not set up: the first rows say so, with the link or the command to copy.

Install

macOS

  1. Open the .dmg and drag Dev Code Proxy into Applications.
  2. The app isn't notarized yet, so the first launch needs a one-time bypass — right-click the app → Open → Open, or run:
    xattr -dr com.apple.quarantine "/Applications/Dev Code Proxy.app"
  3. It launches into the menu bar (no Dock icon). Click the icon for its menu.

Windows

Unzip and run DevCodeProxy.exe. It's unsigned, so SmartScreen may warn — More info → Run anyway. The icon appears in the system tray.

Linux

tar xzf Dev-Code-Proxy-Linux.tar.gz
sudo apt install libgtk-4-1 libwebkitgtk-6.0-4   # one-time runtime deps
./dev-code-proxy

The app needs Tailscale installed and signed in (tailscale up). For public sharing, enable Funnel — see Installation. Prefer the terminal? The CLI does everything the app does.

Build from source

git clone https://github.com/meabed/dev-code-proxy
cd dev-code-proxy/desktop && go build -o dcp-app . && ./dcp-app

Needs Go 1.26+ and a C toolchain (Xcode CLT on macOS; libgtk-4-dev + libwebkitgtk-6.0-dev on Linux). See desktop/README.md.