Hello dev community! ๐
I'm working on a fun project where I'll need to host a few .html files and a good number of SVG images. I've been researching GitHub Pages and that seems like a good idea for relatively small sites, but I wasn't sure if that's the best way to go if I have ~1.5mB of SVGs to go along with it.
I'd be very grateful for any ideas or suggestions. Thank you!
Top comments (13)
Netlify seems popular here for static websites:
Why you should use Netlify instead of GitHub Pages
Ethan Roberts
Deploy and Host in 30 Seconds with Netlify Drop
Roseanna Mcfarlane
I used Netlify for my first ever static website and I'd definitely recommend it. Really easy setup!
I agree, it's very easy and powerful enough.
I have used AWS S3 static site hosting and AWS route 53 for custom domain mapping.
I like writing articles in markdown and used mkdocs to convert them to a simple site and then deploy it to S3 as well.
Create a static site with Python, MkDocs, and S3
Yuva ใป May 12 '19 ใป 2 min read
AWS has complicated setup and credit card needed.
I would recommend Now, it is more than static content hosting, but a complete serverless solution.
For static websites, there have been many solutions, and it is hard to say which one is better.
However, you would want more than just static pages, and Now offers that.
If you have a look at their docs, you would find that Now currently provides support for Node/Python/PHP/Rust/Go/..., which is quite impressive.
To sum up, Now is more like a FaaS (Function as a service), and static page hosting is just one of its capabilities.
P.S., the team behind Now (zeit.co), is the creator of the famous React SSR framework Next.js
Also their support is good.
GitHub is fine for much more than 1.5 MB. Iirc, you can have up to 5 GB, which I think is plenty.
Checkout tiiny.host - easiest by far
Must login and reupdate every weeks to make uploaded website online.
I've been using Heroku for a few years to spin up basic sites!