3 releases

0.1.2 Dec 31, 2023
0.1.1 Nov 6, 2023
0.1.0 Nov 6, 2023

#968 in Command line utilities

Download history 11/week @ 2023-12-25 10/week @ 2024-02-12 3/week @ 2024-02-19 25/week @ 2024-02-26 54/week @ 2024-04-01

54 downloads per month

MIT license

36KB
947 lines

Migi

Migi is a minimal static site generator named after the parasite which lives in Shinichi's right hand in the anime "Parasyte", which in turn was named after the Japanese word for right (ミギー).

For instructions on how to use Migi, please read the short walk-through on the wiki page.

Features

  • Caching: Optimizes your site's performance by storing and reusing content, minimizing build times.
  • Tagging: Enhances content organization, allowing easy categorization and retrieval of content.
  • Templates: Flexible templating system adaptable to various content types, from blogs to portfolios.
  • Syntax Highlighting: Supports .tmThemes for customizable code presentation.
  • HTML Minification: Reduces the size of your HTML files, improving load times and efficiency.

Installation

Ensure you have Rust and Cargo installed on your system. Then, install Migi with the following command:

cargo install migi

or if cloning from the GitHub, use the provided makefile:

make && sudo make install

and sudo make uninstall to completely uninstall.

Quick Start

migi new mysite
cd mysite
migi build

This sequence of commands creates and builds a new static site in the mysite directory.

Creating Posts

To create a new post, add a markdown file in the content/ directory.

Use the header section in each post for metadata like title and tags. (Refer to the wiki page).

Community and Support

Issues and Discussions: For support, feature requests, or bug reports, visit the GitHub Issues.

Contributions: Contributions are welcome!

Star the repository or contribute to support my work!

Dependencies

~10–14MB
~232K SLoC