Skip to content
AppClap
lego is unclaimed —
L

lego

A fast Static Site Generator that generates optimised, performant websites.·astronomersiva.github.io

Visit

lego is a static site generator that builds optimised, performant websites using a simple development stack. It supports Nunjucks and Liquid templates, Markdown for posts, and YML, JS or JSON for data. It focuses on fast development server startup and rebuild times while producing minified, cache-friendly output.

What it's for

Build static websitesWrite blog posts in MarkdownGenerate a sitemap for SEOOptimise and version site assets for cachingApply custom Markdown syntax/containersHighlight code syntax at build time

Features 16

  • Allows custom markdown containers and custom Markdown syntax
  • Autoprefixes and minifies CSS with PostCSS
  • Claimed to be 8.75x faster than Jekyll
  • Code highlighting at build time
  • Data can be provided as YML, JS or JSON files
  • Development server starts in under 800ms for a site with 80+ pages
  • Generates a sitemap automatically for SEO
  • Inlines critical styles using critical
  • Minifies HTML
  • Optimises images
  • Posts can be written in Markdown
  • Rebuilds take less than 100ms
  • Supports highlight.js themes for styling
  • Supports Nunjucks and Liquid templates
  • Transpiles and minifies JS using Terser
  • Versions assets for aggressive caching

At a glance

open source
TypeCLI tool
DeploymentInstalled (local)

Integrations

PostCSSTerserLiquidhighlight.jsNunjuckscritical
Last checked yesterday·