Charge is an opinionated, zero-config static site generator written in JavaScript. It supports a wide variety of common uses and it does it without needing to be configured or customized. Itβs fast, itβs simple, and it works the way you probably expect it to. Thatβs it.
You can find the Charge documentation on the website.
Gatsby is really cool, but itβs very different than Charge, with two particularly large differences.
Gatsby is configuration over convention. It can be used to build complex web applications, but because of that itβs extremely difficult to understand how to use it. Youβll need to know how to use Webpack, which personally gives me nightmares. Itβs extremely likely that youβll need to spend time learning other tools and then configuring and tweaking Gatsby before you can use it for your site. Charge is convention over configuration. In fact, it has no configuration, it βjust worksβ.
Gatsby renders pages client-side. That means it serves React and some related libraries to the browser along with your components in order to render the pages. Routing also happens client-side. Gatsby can render the initial page load server-side, but thereβs no way to not serve hundreds of kilobytes of JavaScript to the browser. Charge uses React to render everything server-side. It generates a truly static site.
More practically, Gatsby is great if youβre building a large, complex website and want lots of control over how you build it. Charge is probably better if youβre building a small website and donβt want to waste time fiddling with configurations and cobbling different tools together.
If youβd like to see everything in practice, check out these sites using Charge.
Find more static site generators.