MetaBake CLI

8.5.4 · active · verified Wed Apr 22

MetaBake (mbake) CLI is an open-source, extensible low-code productivity bundler and builder designed for creating static websites and web applications, leveraging Pug and JAMstack principles. As of version 8.5.4, it provides out-of-the-box features like Pug compilation, livereload, Sass/SCSS compilation with autoprefixing, and TypeScript compilation. Its core differentiator is simplifying web development by abstracting away complex build configurations, allowing developers to write cleaner code quicker for various projects including static sites, custom elements, CMS, e-commerce, and CRUD applications. It facilitates a gradual adoption approach, enabling rapid development with a focus on simplicity and efficiency. While it doesn't specify a strict release cadence, it indicates active development. The tool focuses on generating static content that can be served efficiently via CDNs, using standard web technologies like HTML, CSS, and JavaScript, making it accessible to a broad audience.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to install mbake globally and start a basic website with livereload using Pug and a data YAML file.

npm i -g mbake
cd my-website-folder
# Create index.pug and dat.yaml files here
# Example index.pug:
/* header
body
   p Hello #{key1} */
# Example dat.yaml:
/* key1: World */
mbake -w . # Starts watcher, livereload, and local server

view raw JSON →