All Projects → brandonweiss → Charge

brandonweiss / Charge

Licence: mit
⚡️ An opinionated, zero-config static site generator.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Charge

jschr.io
The static website generator service behind jschr.io.
Stars: ✭ 70 (-80.98%)
Mutual labels:  static-site-generator, static-site
Django Bakery
A set of helpers for baking your Django site out as flat files
Stars: ✭ 360 (-2.17%)
Mutual labels:  static-site-generator, static-site
contentz
Create Content, Get a Highly Optimized Website
Stars: ✭ 57 (-84.51%)
Mutual labels:  static-site-generator, static-site
Skeleventy
A skeleton boilerplate built with Eleventy.
Stars: ✭ 318 (-13.59%)
Mutual labels:  static-site-generator, static-site
11tyby
Simple 11ty setup using TypeScript, SASS, Preact with partial hydration, and other useful things. Aims to provide the DX of Gatsby, but using 11ty!
Stars: ✭ 38 (-89.67%)
Mutual labels:  static-site-generator, static-site
nera
A lightweight static site generator
Stars: ✭ 12 (-96.74%)
Mutual labels:  static-site-generator, static-site
jigsaw-blog-template
Starter template for a blog, using Jigsaw by Tighten
Stars: ✭ 75 (-79.62%)
Mutual labels:  static-site-generator, static-site
jekyll-rdf
📃 A Jekyll plugin to include RDF data in your static site or build a complete site for your RDF graph
Stars: ✭ 46 (-87.5%)
Mutual labels:  static-site-generator, static-site
Gridsome Portfolio Starter
A simple portfolio theme for Gridsome powered by Tailwind CSS v1
Stars: ✭ 329 (-10.6%)
Mutual labels:  static-site-generator, static-site
TechFusionFM
Static site for tech podcast built using Hexo.io with deployment script, XML escaper and iTunes rank tracking Telegram bot.
Stars: ✭ 20 (-94.57%)
Mutual labels:  static-site-generator, static-site
hugo-initio
Hugo Theme port of Initio bootstrap template by GetTemplate
Stars: ✭ 58 (-84.24%)
Mutual labels:  static-site-generator, static-site
Verless
A simple and lightweight Static Site Generator.
Stars: ✭ 276 (-25%)
Mutual labels:  static-site-generator, static-site
voldemort
A simple static site generator using Jinja2 and Markdown templates.
Stars: ✭ 48 (-86.96%)
Mutual labels:  static-site-generator, static-site
jekyll-skeleton
Scaffolding to start with a Jekyll website
Stars: ✭ 27 (-92.66%)
Mutual labels:  static-site-generator, static-site
generator-veams
Scaffold modern frontend web apps or web pages with a static site generator (Assemble or Mangony), Grunt and/or Gulp, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap or Foundation and structure your JavaScript with ES Harmony support.
Stars: ✭ 45 (-87.77%)
Mutual labels:  static-site-generator, static-site
tinystatic
A tiny static website generator which is flexible and easy to use
Stars: ✭ 36 (-90.22%)
Mutual labels:  static-site-generator, static-site
oliverbenns.com
oliverbenns.com
Stars: ✭ 51 (-86.14%)
Mutual labels:  static-site-generator, static-site
jigsaw-docs-template
Starter template for a documentation site, using Jigsaw by Tighten
Stars: ✭ 39 (-89.4%)
Mutual labels:  static-site-generator, static-site
stacy
Website generator that combines content from Contentful CMS with Handlebars templates and publishes the website in Amazon S3.
Stars: ✭ 24 (-93.48%)
Mutual labels:  static-site-generator, static-site
simply-static-deploy
WordPress plugin to deploy static sites easily to an AWS S3 bucket.
Stars: ✭ 48 (-86.96%)
Mutual labels:  static-site-generator, static-site


Charge

Charge

What?

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.

Why?

Yeah, I know, another static site generator. Let me be clear, I really did not want to make a static site generator. It’s really the very last thing I wanted to do.

I went on StaticGen and looked at every JavaScript-based one. I could not find a single one that I thought was simple, well-documented, had the features I needed, was actively maintained, and was designed and worked the way I wanted. So here I am, making a static site generator.

Highlights

  • Zero configuration
  • Templating via JSX and MDX
  • React renders server-side, not client-side
  • Write futuristic JavaScript with Babel
  • Write futuristic CSS with PostCSS
  • Live-reloading development server
  • Rebuilds the minimum files necessary
  • Dynamic pages (coming soon)
  • Stellar documentation ✨

Documentation

You can find the Charge documentation on the website.

How is Charge different from GatsbyJS?

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 can be very difficult to understand how to use it. You’ll need to know how to use Webpack, which personally gives me nightmares. It’s 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.

Real examples

If you’d like to see everything in practice, check out these sites using Charge.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/brandonweiss/charge.

License

The package is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].