JavaScript Static Site Generation

Open-source JavaScript projects categorized as Static Site Generation

JavaScript Static Site Generation Projects

Static Site Generation
  1. retype

    Retype is an ultra-high-performance static site generator that builds a website based on simple text files. Made in Canada 🇨🇦.

    Project mention: Retype | news.ycombinator.com | 2024-05-22
  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. intertwingle

    A static site generator that helps to keep your HTML DRY

    Project mention: Ask HN: Server-side HTML Templates based on DOM? | news.ycombinator.com | 2024-07-20

    If you consider static site generators as a special case of side-server rendering, then that is basically the principle that underlies my personal ssg [0].

    Highlevel idea: It reads in all HTML files, parses them with JSDOM, builds a metamodel of the overall website, which (ab-)uses standard HTML meta tags as alternative to a frontmatter (e.g declares the particular file as the template for the category articles, while declares a particular file as part of the category articles. And then it uses a non-standard HTML tag to call JS plugins with the whole meta-model of the site, so it can plug together content and template, rewrite parts of the DOM (for example add bidirectional links when desired, run a syntax highlighter on tag, count words). When all plugins have run the DOM is serialized into HTML. Admittedly it could be a tad faster, but for my purposes it is good enough. I don't mind running a ton of JS on my machine, but still can serve mostly static HTML with very few sprinkles of client-side JS

    [0] https://github.com/fnh/intertwingle/

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 Generation discussion

Log in or Post with

JavaScript Static Site Generation related posts

  • Creating excerpts in Astro

    4 projects | dev.to | 14 Mar 2024
  • How we built a 1% website in 3 days for €7

    6 projects | dev.to | 14 Apr 2023
  • Framework for making static sites with reactjs for shared hosting sites.

    4 projects | /r/reactjs | 12 Nov 2022
  • Running a blog on GithubPages with Markdown storage

    6 projects | /r/github | 4 Sep 2022
  • On what platform should the Wiki run?

    4 projects | /r/ElysianEclipse | 24 Jun 2022
  • Building an Ecommerce Website with Jekyll, Strapi, Snipcart and Tailwind CSS [1 of 5]

    5 projects | dev.to | 17 Jun 2022
  • What I'm Learning in 2022

    4 projects | dev.to | 26 Mar 2022
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 30 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

# Project Stars
1 retype 1,164
2 intertwingle 1

Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

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