
Deploy tclip Pastebin
tclip pastebin reachable only on your tailnet, with pastes on a volume
tclip
Just deployed
/data
Deploy and Host tclip Pastebin
tclip is a small, self-hosted pastebin for your Tailscale network (tailnet). It joins the tailnet as its own device, paste, and serves only there, so you and your team open http://paste and share text, logs and Markdown without putting anything on the internet. This template runs the official tclip image pinned by digest, with a volume that keeps your pastes and the device's identity.
This template is independent and not affiliated with or endorsed by Tailscale Inc. Tailscale is a registered trademark of Tailscale Inc.
About Hosting tclip Pastebin
The template deploys one tclip service with a 5,000 MB volume at /data, which holds the SQLite paste database and the device's Tailscale state. It gets no public domain and listens on nothing outside the tailnet. Before deploying, generate an auth key in the Tailscale admin console under Settings → Keys: one-off, not ephemeral, and ideally tagged (for example tag:tclip) so the device's key does not expire. Paste it into TS_AUTHKEY. tclip uses it once; after that the state on the volume signs the device in, so it keeps its name and address across restarts and redeploys. Your tailnet policy decides who can reach it; tclip shows who created each paste and lets only the author delete it. MagicDNS must be on. With HTTPS certificates enabled for the tailnet, tclip also serves https://paste.your-tailnet.ts.net (with your tailnet's own name).
There is no health check, because tclip has no address Railway can probe: confirm the deploy by finding paste in the admin console's Machines list. A wrong key does not crash tclip, it just never joins. If the name paste is taken in your tailnet, set TSNET_HOSTNAME to a free name first. Do not add USE_FUNNEL unless you want individual pastes on the public internet: tclip turns it on when the variable exists, even as USE_FUNNEL=false. For a Headscale tailnet, set TSNET_CONTROL_URL to your server's URL.
Why Deploy tclip Pastebin on Railway
Railway runs tclip as an always-on device of your tailnet with no server to maintain, no ports to open and no domain to protect. The pastes and the device identity sit on a persistent volume, the image is pinned by digest so every deploy runs the same build, and the service idles at about 30 MB of memory.
Common Use Cases
- Share logs, stack traces, config snippets and command output with teammates on the same tailnet.
- Keep internal notes and runbooks in Markdown, rendered in the browser, without a public pastebin.
- Pipe output from servers and scripts on the tailnet into a paste with one
curlcommand. - Give a team a private pastebin whose access follows the tailnet's existing policy instead of separate accounts.
Dependencies for tclip Pastebin Hosting
- A Tailscale tailnet (or a Headscale server) with MagicDNS on, and an auth key from its admin console.
- Outbound internet access to Tailscale's coordination and relay servers.
Deployment Dependencies
Template Content
TS_AUTHKEY
Tailscale auth key (tskey-auth-...) from the admin console. Use a one-off, non-ephemeral key, ideally tagged.
