Create and Deploy Static Sites and Demos in Seconds is one of my favorite developer tools.

It will allow you to launch static sites & demos to a live web URL in literally seconds from your terminal.

See for yourself

Step 1: Install it

# Install on your machine
 npm install --global surge
# In your project directory, just run…
$ surge

Step 2: deploy

cd into your projects directory and then run surge.

Point it to the correct file paths and boom. Done.

Your site will be live.

Pro Tips

Avoid retyping your custom domain everything with an npm script with surge --domain

Example package.json

  "name": "your-project-name",
  "version": "1.0.0",
  "description": "",
  "scripts": {
    "start": "node server.js",
    "deploy": "surge --domain",

They also allow for mapping custom domains for… FREE!

Instructions on how to setup your custom domain

After setting up your CNAME or A Record for your custom domain, run echo > CNAME in your project’s root directory to avoid retyping it. After doing so, you can simply deploy to your custom domain using the surge command.

Great service. Amazingly easy and simple.

This is a must use for any developer trying to share a demo or stand up a static site without dealing with setting up your own server.

Serverless for the win!