# lego

Node.js static site generator that builds optimised websites from Nunjucks or Liquid templates and Markdown posts.


Source: https://findsoftware.frbit.cloud/lego/
Last reviewed: 2026-10-22
Updated: 2026-10-25
Listed since: 2026-10-22

## Record

### Links

- home: https://astronomersiva.github.io/lego/
- repository: https://github.com/astronomersiva/lego
- docs: https://github.com/astronomersiva/lego/blob/master/README.md

### Identity

- status: active
- maintainer: Sivasubramanyam A
- maintainerType: individual
- parent: unknown
- firstRelease: 2018
- hqCountry: unknown

### Kind

- category: ssg
- hosting: static
- language: javascript
- runtime: node
- runtimeMin: node 8
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: nunjucks, liquid
- i18n: unknown

### Rendering and deploy

- runsAs: static, local
- renderingModes: static
- installMethod: npm install -g

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2022-12-04

### Adoption

- githubStargazers: 185
- packagistDownloads: not applicable
- npmWeeklyDownloads: 9
- contributors: 4
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 3
- dependentPackages: 3

### Sources

- urls: https://astronomersiva.github.io/lego/ (read 2026-10-22)
- urls: https://api.github.com/repos/astronomersiva/lego (read 2026-10-22)
- urls: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- maintainer: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- language: https://api.github.com/repos/astronomersiva/lego (read 2026-10-22)
- category: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- runtime: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- runtimeMin: https://raw.githubusercontent.com/astronomersiva/lego/master/package.json (read 2026-10-22)
- installMethod: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- renderingModes: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- runsAs: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- runsAs: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- templating: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- license: https://registry.npmjs.org/@astronomersiva%2flego/latest (read 2026-10-22)
- licenseModel: https://raw.githubusercontent.com/astronomersiva/lego/master/README.md (read 2026-10-22)
- firstRelease: https://registry.npmjs.org/@astronomersiva%2flego (read 2026-10-22)
- currentMajor: https://registry.npmjs.org/@astronomersiva%2flego/latest (read 2026-10-22)
- latestReleaseDate: https://registry.npmjs.org/@astronomersiva%2flego (read 2026-10-22)
- githubStargazers: https://api.github.com/repos/astronomersiva/lego (read 2026-10-22)
- contributors: https://api.github.com/repos/astronomersiva/lego/contributors?per_page=1 (read 2026-10-22)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/point/last-week/@astronomersiva/lego (read 2026-10-22)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40astronomersiva%2Flego (read 2026-10-25)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40astronomersiva%2Flego (read 2026-10-25)

## Notes

lego is a static site generator for Node.js that builds optimised websites from Nunjucks or Liquid templates. It is installed under its scope with `npm i -g @astronomersiva/lego`, and `lego build` writes the optimised build. `lego serve` runs a local server during development.

The build output is static, and the build copies a CNAME file into the build folder so that the site works with GitHub Pages.

## Worth knowing

The unscoped npm name lego belongs to another project, so the install command uses the scoped package.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
