sajad torkamani

Update: I ended up migrating my website back to WordPress. Gatsby is nice and I can see it being useful for simple websites but WordPress is a different beast.

I recently gave Gatsby a try and used it to build this website. Gatsby is a React-based framework for building static sites. You build your pages using React components and Gatsby takes care of generating a bunch of static HTML, CSS and JS files when you’re ready to deploy.

It’s easy to get started with and helps you focus on building your website rather than messing around with build tools or wiring together a bunch of NPM packages.

Its documentation is excellent and helped me get this entire site ready and understand its main concepts within about a day.

It seems to have a pretty large ecosystem of plugins, including an awesome Markdown plugin that lets you create pages using Markdown. I’m writing this very post using Markdown which is nice because it makes it very easy to write code snippets like this:

const awesomeFramework = 'Gatsby';

console.log(awesomeFramework + ' is pretty cool');

And since I intend to mostly write about coding, using Gatsby for a personal blog is pretty convenient. There are a bunch of starter templates that you can use to get something up and running very quickly.