Domain Rating by Ahrefs70
Description
Metalsmith is a simple, pluggable static site generator for Node.js. It translates a directory tree into plain JavaScript objects that you change with plugins, so you can build a website, a blog, a documentation site or other generated output. It works with the tools you already use, including npm, Markdown, JSON, YAML and the templating language of your choice. You install it with npm, yarn or pnpm, and you can start from one of the project's starters. The site presents a build example that reads from a source folder, cleans the destination, ignores dotfiles and runs plugins for collections, layouts, Markdown and permalinks. Metalsmith supports both configuration over code and code over configuration, and it is not tied to one framework. The project's documentation covers the API and plugins, and its examples and blog starters are on GitHub. Metalsmith is open source, so you can read the code and contribute.…
Highlights
- Plain JavaScript objects for each file
- Plugin system for collections, layouts and Markdown
- Works with npm, Markdown, JSON and YAML
- ESM and CommonJS support
- Starters and examples on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Metalsmith.
People also visit
Metalsmith FAQ
What is Metalsmith?
An extremely simple, pluggable static site generator for Node.js. It turns a folder of source files into a built site through plugins.
How do I install it?
Run npm install metalsmith, or use yarn add or pnpm add. You can also start from one of the project's starters.
What can I build with it?
A static site or blog, but the site says you can also use it for a scaffolder, a backup, a command-line tool or a deploy tool, and for an eBook or technical docs.
Does it need a framework?
No. It is designed so you can structure and build the project the way you want, without bending it to a specific framework.
Is Metalsmith free?
Yes. It is open source, and its code is on GitHub.
What are the best Metalsmith alternatives?
Popular alternatives to Metalsmith include MiddleMan, Pelican and Bloggrify. See all Metalsmith alternatives







