SShortSingh.
Back to feed

New CLI tool deploys static sites instantly with no account or configuration required

0
·1 views

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.

Read the full story at DEV Community

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

Related stories

0
ProgrammingDEV Community ·

What a Status Page Is and Why Every Customer-Facing Product Needs One

A status page is a dedicated webpage, typically hosted at status.yourcompany.com, that displays the real-time health of a service and logs past incidents and uptime history. It reduces support load by giving customers a single place to check for outages instead of filing tickets. Key elements include component statuses, a 90-day uptime history, incident timelines, scheduled maintenance notices, and subscriber alerts via email or RSS. Status pages can be public for customer-facing products or kept private behind a login for internal tools, with the option to switch between the two. Connecting uptime monitors to each component ensures the page reflects actual service conditions rather than manually updated toggles.

0
ProgrammingDEV Community ·

Uptime Monitoring Explained: HTTP, Heartbeat, TCP Checks and Reducing False Alerts

Uptime monitoring involves periodically checking whether a service is responding correctly and alerting teams when it is not, with the aim of detecting problems before customers do. Common check types include HTTP, keyword, heartbeat, and TCP, each suited to different infrastructure components such as websites, APIs, cron jobs, and databases. A major source of alert fatigue is treating a single failed check as an outage; requiring consecutive failures before triggering an incident helps filter out transient network blips. Checking from multiple geographic regions adds another layer of accuracy, since a network issue in one location can otherwise be mistaken for a genuine service outage. Tying confirmed monitor states to a public status page ensures customers receive accurate, real-time information without requiring manual updates.

0
ProgrammingDEV Community ·

How to Track Third-Party Outages Before They Blindside Your Customers

Modern digital services rely on multiple external providers — including cloud hosts, payment gateways, auth services, and CDNs — meaning a third-party outage can disrupt your product even when your own code is functioning correctly. From the customer's perspective, any such disruption still appears as your failure, often flooding support channels with questions about the root cause. Dependency monitoring addresses this by tracking the status of external providers and mapping them to the specific product components they support. When an upstream incident is detected, teams can promptly post clear, factual updates on their status page — naming the affected provider and scoping the impact without overpromising on resolution timelines. This approach reduces support noise, demonstrates operational awareness, and helps maintain customer trust during incidents outside a team's direct control.

0
ProgrammingDEV Community ·

How to Communicate Clearly With Customers During a Service Outage

A guide on incident communication best practices outlines how companies should structure updates during service outages to maintain customer trust. Each update should include four core elements: acknowledgment of the issue, a clear description of who and what is affected, the actions being taken, and a committed time for the next update. Incidents typically progress through four stages — investigating, identified, monitoring, and resolved — and communicating each stage honestly helps customers follow the situation. Teams are advised to stick to a regular update cadence, even when there is no new information, as unexplained silence tends to erode trust more than the outage itself. The guide also cautions against making unverifiable promises, such as confirming data safety before it has been checked, and recommends attributing third-party provider issues accurately rather than implying internal fault.

New CLI tool deploys static sites instantly with no account or configuration required · ShortSingh