Top Open-Source Static Site Generators Need a CMS to go with a generator below? Check out the brand new for your top options.

Fork me on GitHub


s2gen is a simple static site generator written in Scala. It assumes that you write the content in Markdown and use Freemarker as a template engine. The generator supports watching for file changes and is completely unopinionated about organizing front-end assets.

Check out the home page for more information about the project including the motivation behind it. You can find the latest documentation on GitHub.


s2gen currently supports:

  • Parsing content from Markdown files
  • Rendering HTML using Freemarker templates
  • Project skeleton generation
  • Monitoring for file changes
  • Adding target="_blank" to external links
  • Generating post URLs without html extensions

The latest version is available on GitHub release page.