New CLI tool deploys static sites instantly with no account or configuration required
A developer has released an open-source command-line tool called 'hosting' that lets users deploy any static folder to a live URL using a single command, 'npx hosting', with no account or login required. The tool operates on an anonymous-first model, generating a public live URL and a private single-use claim link upon each deployment. Unclaimed sites automatically expire 24 hours after the last deploy, while users can permanently retain a site by signing in through the claim link to attach it to a dashboard account. The CLI automatically excludes sensitive files such as .env and .git directories on the client side, ensuring secrets are never uploaded. The project is MIT-licensed and serves as the companion tool to 1freehosting.com, with the developer also considering a GitHub Action for preview deployments.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in