JavaScript Static Site Generators

Open-source JavaScript projects categorized as Static Site Generators

Top 7 JavaScript Static Site Generator Projects

Static Site Generators
  1. docsify

    🃏 A magical documentation site generator.

    Project mention: 🚀 Fast Static Site Deployment on AWS with Pulumi YAML | dev.to | 2025-04-05

    I built a fast, responsive, and lightweight static documentation site powered by Docsify, hosted on AWS S3 with a CloudFront CDN for global distribution. The entire infrastructure is managed using Pulumi YAML, allowing me to declaratively define and deploy resources without writing any imperative code.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. Metalsmith

    An extremely simple, pluggable static site generator for Node.js

  4. Harp

    Static Web Server/Generator/Bundler

  5. gray-matter

    Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert

    Project mention: Updating my website's tech stack in 2025 | dev.to | 2025-02-27

    Next is shifting towards what they're calling App Router. The previous itteration, known as Pages Router is not compatible with those shiny new React Server Components I mentioned earlier. The main difference to me was using simple fetch and async/await syntax to fetch the server side props. In this case, I had a node script that relied on fs to retrieve the markdown files and a library called gray-matter to retrieve their YAML metadata properties. Then all I had to do was transform my [slug] page into an async function and call the function that fetched the posts from the filesystem.

  6. front-matter

    Extract YAML front matter from strings

  7. Charge

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

  8. linkyee

    A fully customized, open-source LinkTree alternative deployed directly on GitHub Pages.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Static Site Generators discussion

Log in or Post with

JavaScript Static Site Generators related posts

  • 🚀 Fast Static Site Deployment on AWS with Pulumi YAML

    2 projects | dev.to | 5 Apr 2025
  • Plot GeoJSON on Your Blog Posts

    4 projects | dev.to | 22 Aug 2024
  • Replatforming from Gatsby to Zola!

    5 projects | dev.to | 2 Apr 2024
  • Ask HN: What's the simplest static website generator?

    10 projects | news.ycombinator.com | 29 Mar 2024
  • Eleventy vs. Next.js for static site generation

    4 projects | dev.to | 14 Dec 2023
  • Why You Should Write Your Own Static Site Generator

    10 projects | news.ycombinator.com | 3 Nov 2023
  • Exploring the code behind Docusaurus

    4 projects | dev.to | 30 Oct 2023
  • A note from our sponsor - SurveyJS
    surveyjs.io | 24 May 2025
    Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more. Learn more →

Index

What are some of the best open-source Static Site Generator projects in JavaScript? This list will help you:

# Project Stars
1 docsify 29,329
2 Metalsmith 7,850
3 Harp 4,997
4 gray-matter 4,096
5 front-matter 686
6 Charge 428
7 linkyee 37

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?