minipage - Minimal Static Page Generator

Go Reference Go Test

minipage is a simple static page generator designed to be easy to use without unnecessary complexity. If you'd like to render Markdown files into clean HTML with minimal effort, minipage is for you.

If you'd like to use GitHub Pages but find existing static site generators too complex or heavy, minipage is a lightweight alternative that gets the job done.

With minipage, you can render Markdown into clean, GitHub-like HTML without sidebars, banners, or other distractions. It generates one page at a time, giving you full control over your site's structure using tools like make.

Features

Installation

From GitHub Releases

Download the appropriate .zip file for your OS and architecture from the releases page. Extract the archive and place the minipage executable in a directory listed in your PATH.

Using go install (any OS)

To install minipage using Go, run the following command:

go install github.com/hymkor/minipage@latest

Using Scoop (Windows)

For Windows users, you can install minipage via Scoop:

scoop install https://raw.githubusercontent.com/hymkor/minipage/master/minipage.json

Alternatively, add the hymkor bucket and install:

scoop bucket add hymkor https://github.com/hymkor/scoop-bucket
scoop install hymkor/minipage

Usage

minipage {options} FILE1.md [FILE2.md ...] > OUTPUT.html

Options

Example

To build a simple page with multiple sections:

minipage header.md content.md footer.md > index.html

Combine it with make for efficient site generation:

all:
	minipage header.md index.md footer.md > index.html
	minipage header.md about.md footer.md > about.html

Example Use Case

The website for nyagos, a command-line shell for Windows, is built using minipage.

You can also use minipage to generate GitHub Pages content for its own project site:

docs:
	"./minipage" -anchor-text "#" -readme-to-index -title "minipage - Minimal Static Page Generator" README.md > docs/index.html
	"./minipage" -anchor-text "#" -readme-to-index -title "Release Notes" release_note.md > docs/release_note.html
	"./minipage" -anchor-text "#" -readme-to-index -title "Release Notes(ja)" release_note_ja.md > docs/release_note_ja.html

.PHONY: all test dist _dist clean manifest release docs

This example generates clean HTML pages from Markdown source files for use with GitHub Pages.

Technical Details

Why minipage?

If you value:

✅ Clean, distraction-free Markdown rendering
✅ Straightforward usage without complex configurations
✅ Simple workflows that integrate with existing tools

minipage is designed for you.

Release notes

Author

hymkor (HAYAMA Kaoru)

License

MIT License