A surge.sh alternative is another host that takes a folder of static files, or a single HTML file, and gives back a public URL with no Git repository and no dashboard. On November 27, 2026, Surge's docs say "the first run asks for an email and password, which creates the account", and a coding agent publishes with a token that a human creates with surge tokens add (Surge llms.txt). deed.page's Free plan covers 25 sites of up to 25 MB each, and the first curl publishes with no account at all (pricing).
Every Surge claim below was read on surge.sh on November 27, 2026. The deed.page commands ran against production that morning, and the test sites were then deleted.
What is a good surge.sh alternative?
A good surge.sh alternative keeps what Surge does well, which is one command from a finished folder to a live link, and removes the step where a person has to own an account first.
Surge is alive and actively shipped: the npm package was at version 0.58.0 on November 27, 2026, and the site says "static web publishing · since 2014". Here is how it works today, from its own pages:
- Account:
surge <path> <domain>publishes, and the first run asks for an email and password, which creates the account (getting started). - New accounts:
*.surge.shdomains serve for their first 90 minutes, then wait until the account's email is verified withsurge verify(Surge llms.txt). - Agents: the agent guide says a human creates a token, ideally scoped to one domain, and the agent passes it as
SURGE_TOKEN. It also says "never type an email or password into the CLI on someone's behalf: logging in with an unknown email creates a new account" (Surge for coding agents). With no token and no terminal, the CLI exits with "Aborted - not logged in and no terminal to ask." - Cost and limits: Free is $0 with unlimited projects, free custom domains with certificates, previews and the last 100 revisions. Pro is $30/month and adds password protection and redirects. Projects are capped at 450 MB and 10,100 files, and each domain can publish 30 times per 15 minutes (pricing).
Side by side (checked November 27, 2026)
| surge.sh Free | deed.page Free | |
|---|---|---|
| Account to publish | Yes, email and password on first run | No, never |
| Agent with no human present | Needs a token a human created | One curl, or MCP with no setup |
| Install | Node 18+ and the surge CLI | Nothing beyond curl |
| Size | 450 MB, 10,100 files per project | 25 sites, 25 MB each |
| Custom domains | Free, unlimited | 1 on Free, through the API |
| History | Last 100 revisions, previews | Last 5 versions, each with a permalink |
Where Surge is ahead: bigger projects, free custom domains on every plan, and preview-then-cutover deploys. If you already have a Surge account and someone to mint tokens, Surge is a fine choice. deed.page serves static files only too, and Free sites show a small "Published with deed.page" badge that Hobby ($3/month) removes. More detail on deed.page vs surge.sh.
Publish an HTML file in one curl
curl -T index.html "https://deed.page/v1/sites?slug=release-notes-surge-k8m2&ref=blog"
Our test returned (trimmed):
{"ok":true,"url":"https://release-notes-surge-k8m2.deed.page/","version":"v1","plan":"free","token":"deed_tok_…"}
release-notes-surge-k8m2 is just an example, so pick your own slug. A second client with no token sending the same request got 409 slug_taken and the suggestion release-notes-surge-k8m2-2 (choosing a slug). The token in the reply is shown once, so save it (token hygiene).
Publish a built folder, the way surge ./dist does
tar -C ./dist -czf site.tar.gz .
curl -X PUT --data-binary @site.tar.gz -H "Content-Type: application/gzip" \
-H "Authorization: Bearer $DEEDPAGE_TOKEN" \
"https://deed.page/v1/sites/release-notes-surge-k8m2"
In our test that kept the same URL and returned v2 with two files. The stylesheet came back as text/css, and https://v1--release-notes-surge-k8m2.deed.page/ still served the first version (version history). Surge apps that rely on 200.html for client-side routes can add -H "X-Spa: 1" instead (SPA mode). Each request body can be up to 4 MB, and bigger sites use the upload manifest (large sites).
Or let the agent publish over MCP
Add https://deed.page/mcp to Claude, Cursor or any Streamable HTTP MCP client. There's no API key and no sign-in, because the first publish mints the token:
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"publish_site","arguments":{"slug":"release-notes-mcp-k8m2","files":{"index.html":"<!doctype html><title>Release notes</title><h1>Published over MCP</h1>"}}}}
Our test returned "ok": true, "version": "v1" and a live https://release-notes-mcp-k8m2.deed.page/ (MCP walkthrough). Need a throwaway preview, like a Surge preview you never cut over? Add -H "X-Ttl: 3600" to the curl, or "ttl": 3600 to the MCP arguments, and the site deletes itself after an hour (TTL guide).
FAQ
Does surge.sh need an account?
Yes. The first run of the CLI asks for an email and password and creates the account, and new accounts' surge.sh domains stop serving after 90 minutes until the email is verified. Agents publish with a token a human creates.
Is surge.sh still free?
Yes. On November 27, 2026 its Free plan was $0 with unlimited projects and free custom domains, and Pro was $30/month for password protection and redirects. deed.page's Free plan is also $0, and Hobby is $3/month.
Can deed.page build my Vite or Astro project like a CI step?
No. Like Surge, deed.page serves files that are already built, so run your build and publish the output folder. For scheduled or CI publishes, see publishing from cron and CI.