Pagebrew
Pagebrew is a CLI tool for creating static sites from markdown files. Navigate to the folder with your markdown files and run
npx pagebrew serve
Static Site Generator
Generate a static site from your markdown files in seconds.
Pre-built Themes
Choose from a selection of pre-built themes to get started quickly.
Config File
Easy-to-use pagebrew JSON config file for simple customization.
Custom Themes
Create your own custom theme to match your unique style.
Tailwind CSS
Customize your site's appearance using the power of Tailwind CSS.
Simple Deployment
Deploy your static site with a single command.
Themes
npx pagebrew serve -t aurora
Configuration
Pagebrew uses a JSON configuration file to customize your site settings and metadata. The configuration file is named pagebrew.config.json
and is located in the root of your project.
{ "name": "My Site", "description": "A static site generated by Pagebrew", "theme": "minimal", "outputDir": "dist", "menu": [ { "title": "Home", "url": "/" }, { "title": "About", "url": "/about.html" }, { "title": "Blog", "url": "/blog.html" } ] }
Custom Templates
You can override the theme files by creating your own in the templates directory. Copy the theme you want to use into the templates directory.
index.md about.md templates/ partials/ header.ejs footer.ejs index.ejs base.ejs about.ejs pagebrew.config.json ...