DEV Community

Cover image for How I built 4 blogs in 15 minutes

How I built 4 blogs in 15 minutes

Andrew (he/him) on December 10, 2021

Static Site Generators (SSGs) are a quick and easy way to get a simple blog up and running in just a few minutes. I've been wanting to a...
Collapse
 
rrampage profile image
Raunak Ramakrishnan • Edited

I use rvm or rbenv to run multiple ruby versions. Both of them also do not need any sudo permissions.

Hugo is great in terms of installation and dependency management. It eliminates the need for gem or npm or any other package manager. Also, it is very fast at generating HTML from markdown and there are many great minimalist themes to get started.

If you are exploring SSGs, also have a look at Zola which is written in Rust. I have heard a lot of good things about it.

I have been working (somewhat sporadically) on my home-grown site generator using Pandoc and some shell scripts mostly for exporting my notes from Obsidian to HTML preserving internal references and diagrams. One of these days, I will finally get around to writing about it 😛

Collapse
 
awwsmm profile image
Andrew (he/him)

Nice! Looking forward to the writeup!

I'll have a look at Zola, as I'm not entirely sold on any of these SSGs I've explored so far. Also taking a deeper dive into Netlify.

Do you work with JVM languages much? SDKMAN! is a fantastic version manager for those, and I've played around with pyenv before and it's much better than that. It's a world of difference. I'll check out rbenv for sure.

Thanks!

Collapse
 
rrampage profile image
Raunak Ramakrishnan

Has been a while since I used JVM languages. I mostly keep to the LTS version of OpenJDK and keep JDK 8 for some of the older libraries.

A colleague of mine who is into polyglot development recommended asdf when dealing with Node + Python + Ruby versions.

Collapse
 
phantomhaze profile image
Alex Hernandez

Nice to know Ruby has an environment management tool like nvm! Storing this for later

Collapse
 
sfiquet profile image
Sylvie Fiquet

I’m looking into Eleventy at the moment. I love Next.js and I heard only good things about Gatsby, but I’m not convinced that my blog needs the overhead of React hydration. I also don’t want to invest into learning Go or Ruby just to tweak my site. Eleventy seems to do what Jekyll does but with JavaScript, I’m definitely interested.

Can’t try it right now as my computer died, just going through the docs…

Collapse
 
pontakornth profile image
Pontakorn Paesaeng

Eleventy is really good. My digital garden uses it. It's a nice tool for static blog that need low or even no JavaScript on the website at all. Eleventy supports plugins such as lazy load image, syntax highlighting, optimization and more. The downside is it lacks complex assets transform so you can't use advance tools such as WindiCSS.

Collapse
 
shrihankp profile image
Shrihan • Edited


[2021-12-10 17:10:39] ERROR `/favicon.ico' not found.

This is intended behaviour. /favicon.ico is a file that, among other things, is used to display a custom site icon on the tab (the small circular one). Jekyll isn't related to this, it's just how regular web servers work.

Collapse
 
awwsmm profile image
Andrew (he/him)

Right, but it's not even mentioned in the tutorial. They should provide a default favicon for the step-by-step tutorial so beginners don't have to worry about what this error might mean.

Collapse
 
shrihankp profile image
Shrihan

Fair point.

Collapse
 
imagineeeinc profile image
Imagineee

I am looking to make a blog soon and link it with dev.to, and I always use vanilla js. express server, ejs templating and a ton of custom css. Also if you are looking for a cms to store your content, id recommend to intergrate with notion and use their js sdk to get the blogs + its free

Collapse
 
zakwillis profile image
zakwillis

You did this all in 15 minutes?

Collapse
 
awwsmm profile image
Andrew (he/him)

Yep! And I had never touched any of these SSGs (or even really knew what an SSG was) before today. It honestly took longer to write this post than it did to get those four pages up and running.

Collapse
 
zakwillis profile image
zakwillis

Nice.

Collapse
 
triptych profile image
Andrew Wooldridge

You should check out Astro - it's new but already pretty great.

Collapse
 
tsolan profile image
Eugene

Rails could generate entire blog scaffold for you with basic crud functionality...

Collapse
 
awwsmm profile image
Andrew (he/him)

Yeah but it's a bit overkill for a static personal blog

Collapse
 
truong65650627 profile image
TRUONG

Very good