Live data from Hacker News

Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

static.land

21–30 of 40 posts

Re: Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

#21
post #19

Clever :-) Glad to see another solution out there! Myelf -- I've migrated almost all personal and small projects over to a self-hosted dokku instance. All of the static sites run this buildpack: https://github.com/dokku/buildpack-nginx This has been a real timesaver as dealing with S3 static sites was just a pain. Added bonus is I have more granular control of nginx (if I want it)

> This has been a real timesaver as dealing with S3 static sites was just a pain.

Excuse my ignorance but what's the issue with S3 static sites? I have a couple I was going to put up shortly and was planning on using S3.

Re: Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

#22
post #19

Clever :-) Glad to see another solution out there! Myelf -- I've migrated almost all personal and small projects over to a self-hosted dokku instance. All of the static sites run this buildpack: https://github.com/dokku/buildpack-nginx This has been a real timesaver as dealing with S3 static sites was just a pain. Added bonus is I have more granular control of nginx (if I want it)

Cool, that's a good idea! The granular nginx control definitely sounds nice.

Re: Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

#23

Earlier quoted context omitted.

Static site hosting is cheap, and I'm not super interested in competing with other services with per-site costs. staticland is primarily an open source project that I use for my own purposes, and I'm open to building out static site deployment projects that fit a company's specific use case based on staticland.

So while it may be cheap it's still a cost. Is there a file size limit? What if I statically host CoolLinuxISOs.com? Surely that could end up costly or is it limited in some not identified way? What about handling major traffic from, say, if my website went to the front page of Reddit.com or any other popular website? Can it scale out and handle traffic spikes or even constant traffic? I get this is more for small /…

Thanks, this is an important point. static.land itself may be best considered a demonstration of the open source software. If someone has significantly large files they're looking to host, they would want to host the staticland-api server themselves or consider other options. I'll add some text to the site about this.

Re: Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

#24
Is this primarily for static sites like Jekyll and Hugo? If so, could you add some kind of tutorial on how to get my Jekyll blog hosted on static.land? I'm not familiar with node, and your docs don't mention how to do a `git push`, only `staticland deploy`. What is the technology behind `staticland deploy`, git, ftp, https?

Re: Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

#25
post #24

Is this primarily for static sites like Jekyll and Hugo? If so, could you add some kind of tutorial on how to get my Jekyll blog hosted on static.land? I'm not familiar with node, and your docs don't mention how to do a `git push`, only `staticland deploy`. What is the technology behind `staticland deploy`, git, ftp, https?

The deploy command is https. staticland doesn't use git at all, just deals with the built site produced by whatever static site generator you use.

I'll add some examples to the docs! Thanks for pointing that out.

For jekyll, the short version is you can do something like this:

> jekyll build

> staticland _site/ yourdomain.tld

Re: Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

#27
post #19

Clever :-) Glad to see another solution out there! Myelf -- I've migrated almost all personal and small projects over to a self-hosted dokku instance. All of the static sites run this buildpack: https://github.com/dokku/buildpack-nginx This has been a real timesaver as dealing with S3 static sites was just a pain. Added bonus is I have more granular control of nginx (if I want it)

> This has been a real timesaver as dealing with S3 static sites was just a pain. Excuse my ignorance but what's the issue with S3 static sites? I have a couple I was going to put up shortly and was planning on using S3.

Mainly this:

  * the login to aws.
  * Then creating S3 keys with the right security settings.
  * Then tweaking the settings to serve pages
  * Then setting up SSL with letsencrypt (I have not looked it up, but I'm pretty sure it is possible)
  * Then configuring CORS if you need it (again, possible with S3)
In the end it just came down to workflow. I never really enjoyed working with AWS on command-line or automation. I much prefer the push-to-deploy workflow pioneered by Heroku and adapted/cloned with Dokku.

Re: Show HN: Staticland – Open source static site hosting with SSL via Let's Encrypt

#30
post #27

Earlier quoted context omitted.

> This has been a real timesaver as dealing with S3 static sites was just a pain. Excuse my ignorance but what's the issue with S3 static sites? I have a couple I was going to put up shortly and was planning on using S3.

Mainly this: * the login to aws. * Then creating S3 keys with the right security settings. * Then tweaking the settings to serve pages * Then setting up SSL with letsencrypt (I have not looked it up, but I'm pretty sure it is possible) * Then configuring CORS if you need it (again, possible with S3) In the end it just came down to workflow. I never really enjoyed working with AWS on command-line or automation. I much…

Just a note on your point about S3 and Letsencrypt: AWS has their own tool for free provisioning of TLS certificates, which is all integrated in a very nice way if you put your S3 bucket behind Cloudfront (which is a good idea). Search the console for the AWS Certificate Manager.
Post reply on HN