Simple, single-command web publishing. Publish HTML, CSS, and JS for free, without leaving the command line.
$ npm install --global surge# In your project directory, just run…$ surge
Deploy something—anything—right now, for free:
From now on, I think I'm going to strive to build all my apps as fully static sites.@surge_sh is my bff.
There’s only six keystrokes between you and deployment: Type surge and hit enter in your project directory to get it online immediately.
$ surge project: path/to/my-project domain: my-project.surge.sh upload: [============]Success! Published and running at my-project.surge.sh
Remove your excuses. There’s no reason you can’t get your static site or client-side app online right now:
Absolutely in love with how easy and effective deployment with @surge_sh is.Where have you been all my life.
And…BAM. Site moved from Amazon S3 to sweet new digs on @surge_sh Just like that. shenoalawrence.com
Wow @surge_sh is impressively friction-free sites. `npm install -g surge;echo "# Hello world">index.md; surge --build` done. Wow. Go get it.
I think I just fell in love with @surge_sh. Custom domains on the free plan is a big +1 for me.
Every project on Surge comes with…
Surge augments the tools you already love. Deploy using your favourite build tool, like Grunt, Gulp, or through an npm run script. To make it a devDependency, run:
npm install --save-dev surge
Install the grunt-surge plugin, and your project is ready to use grunt deploy.
Install surge as a devDependency, and you’re ready to use it in your Gulpfile.
Deploy every time you push to GitHub, but without any branch juggling.
Install the Surge CLI tool, and your project is ready to use in your package.json.
Don’t worry about branch-juggling or plugin limitations when publishing Jekyll sites—compile locally and publish to Surge.
Hand-coded HTML, CSS, and JS? Using a highly customised static site generator? Deploy it quickly with the Surge CLI.
Build Surge into your own tool by installing it as a development dependency.
Use Surge alongside CI services like Travis CI, CircleCI, Codeship, and more for automatic deployment.
Add collaborators, right through the CLI. Deployment is simple for new team members, whether you’re part of an open source project or a large organization.
$ surge --add firstname.lastname@example.org project: ~/Jane/Desktop/my-team-project/ domain: my-team-project.surge.sh upload: [============] users: email@example.com, firstname.lastname@example.org Success! Published my-team-project.surge.sh Added email@example.com
Deploy to any custom domain for free by adding a CNAME.
Publish to the web with one command.
npm install --global surge
Also, @surge_sh is a beautiful OS project surge.sh ← clearly content and UX was thought through w/these docs
Right from the comfort of the command line.