News for hackers. Stuff that matters.
Re:Netlify Dev by LeonM on Tuesday April 09, 2019 @02:16PM (#19617504)
One feature I haven't seen in the comments here is the ability to just drag and drop an entire website folder from your harddisk to Netlify and it's live within seconds. Which worked great for a couple of older personal websites I had.

Second feature that is great is that you can use the cli to perform a draft deploy, which generates a unique public URL which you can share with your testers/marketeers/writers/translators etc. It's a great and easy way to quickly share test versions without having to set up auth (the draft URL's are a hash, so pretty long and unguessable).

Third useful feature is that Netlify can capture form submits. It's quite basic but works great if you have to whip up a quick page to gather email addresses, RSVP's etc.

It's also great that they have integrated Lets Encrypt, but Netlify did experience a bad outage a couple of weeks ago where wrong certs were served (for a different domain) causing a big scary warning for our visitors. Luckily this was resolved pretty quickly, but you do feel pretty powerless when something like that happens.

At Mailhardener we run most of our static content from Netlify and we are very pleased with the service that Netlify offers.

Re:Netlify Dev by ricardobeat on Tuesday April 09, 2019 @02:36PM (#19617671)
Welcome to 1997! This is how Geocities, Tripod etc worked back then (I think geocities.ws has FTP access too, for the complete experience). Amazing to see the web coming full circle even on this.
Re:Netlify Dev by LeonM on Tuesday April 09, 2019 @03:08PM (#19617962)
Heh, I'm old enough to remember that experience!

But yeah, it's basically like that but with some more modern features like being able to do this from a browser (no filezilla required!) and better control over HTTP headers and such.

Re:Netlify Dev by genericone on Tuesday April 09, 2019 @03:14PM (#19618028)
All of that could be done in Geocities as well =)
Re:Netlify Dev by tobr on Tuesday April 09, 2019 @03:32PM (#19618165)
Geocities was enormously popular for good reasons.

However, I don’t think it had the ability to preview a deploy or roll it back with 100% certainty that it will be exactly as was before, which is something you really need when deploying is (too) easy.

Re:Netlify Dev by shadowoflight on Tuesday April 09, 2019 @03:11PM (#19617995)
I have seen those exact words to describe Netlify - it's like Geocities, but for the modern web. I have yet to try it out for myself, but I'm thinking I may use it to get a personal site up and running since I have a tendency to take the power of running my own site on my own VPS a bit too far by changing it up (and usually breaking it) frequently...
Re:Netlify Dev by tw20190409mhbcd on Tuesday April 09, 2019 @03:27PM (#19618125)
There's also Neocities as an acceptable replacement for Geocities. It's also free, unless you want to use your own domain, which requires a $5/mo "donation" to become a Neocities supporter and unlock that and a few other features.
Re:Netlify Dev by egeozcan on Tuesday April 09, 2019 @04:15PM (#19618505)
I wonder how they are doing. I hope they don't share the same fate as Geocities.
Re:Netlify Dev by tw20190409mhbcd on Tuesday April 09, 2019 @08:05PM (#19620332)
The guy who runs the site gave a talk a while back about how crazy cheap it is to host it, and why cloud vendors like Amazon and Google are making suckers out of people.

"High Volume, Bandwidth Heavy Infrastructure On The Cheap"

https://www.youtube.com/watch?v=-i6wvix6buI

And I'm pretty sure he's also cryptocoin-rich, anyway.

Re:Netlify Dev by Aeolun on Tuesday April 09, 2019 @08:03PM (#19620317)
If they have but a few supporters I suppose they get all the running costs out of it.
Re:Netlify Dev by jniedrauer on Tuesday April 09, 2019 @07:53PM (#19620247)
> One feature I haven't seen in the comments here is the ability to just drag and drop an entire website folder from your harddisk to Netlify and it's live within seconds. Which worked great for a couple of older personal websites I had.

How is this different than `aws s3 sync local/ s3://your-website.com`?

Re:Netlify Dev by revvx on Wednesday April 10, 2019 @12:53AM (#19621940)
1. With Netlify you don't need to install any command line tool. For non-technical users it's a must.

2. Netlify is a CDN, so "dragging and dropping" would be equivalent to setting up S3 + Cloudfront.

3. You have to create the bucket before running this command. With Netlify you just drag and drop and it takes a couple seconds (if the site is small enough to be built that fast).

4. Netlify is also able to run a build phase before deploying. With S3 you have to do it locally or setup a remote machine.

Re:Netlify Dev by xtracto on Monday April 15, 2019 @07:01PM (#19669641)
npm install netlify-cli -g
Re:Netlify Dev by jon-wood on Wednesday April 10, 2019 @08:32AM (#19623954)
The big win for me, and the reason I use Netlify, is that it gives you atomic deploys without any effort. `aws s3 sync` works fine in most cases, but its not atomic, so if you want to make sure what you're deploying is going to work for 100% of users all the time you end up having to build something more complex - at the simplest that involves adding a hash to all your files, making sure they're deployed, and only then pushing index.html (and any other entrypoints).

With Netlify I can just hook it up to Github and they'll handle running any build scripts, and then smoothly flip from the previous version to the new one in single action.

Re:Netlify Dev by HeyImAlex on Tuesday April 09, 2019 @08:08PM (#19620359)
Usability is a killer feature. It’s possible to build a website without understanding how to use the command line. I know I managed it when I was younger!
Re:Netlify Dev by toastal on Tuesday April 09, 2019 @10:44PM (#19621341)
It's just as easy with Netlify's tool too

netlifyctl deploy --publish-directory local/ --site-id site_id

Re:Netlify Dev by _fool on Wednesday April 10, 2019 @12:59AM (#19621975)
You're missing out on the brave new future! netlifyctl is dormant, upgrade to netlify-cli: https://github.com/netlify/cli
Re:Netlify Dev by happytripper on Wednesday April 10, 2019 @09:26AM (#19624388)
seems to be similar, but with some nice add-on features for not that much.