Tspages – static site hosting platform for your Tailscale network
Tspages – static site hosting platform for your Tailscale network
Hey HN! This is a small side project I'm currently working on. With tspages, you can quickly host static websites on arbitrary hostnames in your tailscale network. This is useful for internal documentation or tools that don't warrant their own server or k8s deployment, for example. I was frustrated with the other options - hosting on one of the public providers like Cloudflare Workers or Vercel means having to lock down auth and hope you never screw that up; hosting on an internal web server means you can't have speaking Tailnet names. So this is kind of a middle ground: tspages let's you create new static websites very easily, say `design-system.funky-animal.ts.net`: Simply drag-and-drop a folder, archive, or file or send it with curl, and the site will be up in a second. Deployments are archived, and you can easily switch to an older deployment via API or UI. Since tailscale requests carry identity, tspages checks authorization to create, deploy, or view sites against your tailnet policy: You can use an app capability to create different permissions for users or tags. This also allows for some very basic analytics for hosted sites. Finally, tspages allows to upload a config file alongside your assets to set some configuration parameters for the site, like enable SPA fallback routing, custom headers, or redirection targets. This project is very young, so there might be some rough edges, but it does work, runs stable, and the capability system is sound. Let me know what you think!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
How we static site
CLI-first Static Site Hosting for Developers
Static site builder with built-in editor & hosting
Statichost.eu – privacy-first static site hosting
Staticland – Open source static site hosting with SSL via Let's Encrypt
Static Website Hosting
The static, static site generator
Wintersmith 2.0 - static site generator
Halwa - A Static Site Generator
Metalsmith – A pluggable static site generator