Skip to main content

# monopati

A minimalistic static content generator.

You can read the [relevant post](https://www.roussos.cc/2016/01/11/monopati/) on why I started building this. Monopati is inspired by other great minimalistic content generators, like [bucket3](https://github.com/vrypan/bucket3/) and [habu](https://github.com/botherder/habu).

[![license](https://img.shields.io/badge/license-GPL%203.0-6672D8.svg)](LICENSE)

## Usage

Install from pypi:

` sudo pip install monopati `

On first run create the website folder:

` monopati --path=mywebsite init `

This will create a folder named mywebsite. Inside that folder there is a configuration example file that you should copy and edit to meet your needs.

` cd mywebsite cp config.yml.dist config.yml `

Finally, build your website:

` monopati render `

This will generate all necessary files for serving the website, under the folder you picked as output in your configuration file.

### Docker

If you don’t want to install monopati through pip there is also the option of using docker:

` docker pull comzeradd/monopati docker run -t -v "$(pwd):/app" -u $(id -u):$(id -g) comzeradd/monopati monopati render `

### Structure

Use posts, pages folders for blog and static content respectively.

Use templates for adjusting UI to fit your needs. [Jinja2](http://jinja.pocoo.org/) template engine is being used for both templates and pages. [Markdown](https://en.wikipedia.org/wiki/Markdown) for blog posts.

### Example

The code comes with one example post (under the posts) folder. You can check how the metadata header is being user and some basic syntax and how images can be added to a post. Under the pages folder there is a static template example which serves as the landing and about page of your site.

## Contribute

Development is mostly happening in the [Codeberg repository](https://codeberg.org/comzeradd/monopati).

Metadata

Release files for monopati 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monopati 0.3.3
File Size Uploaded Provenance
monopati-0.3.3.tar.gz 2.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for monopati 0.3.3
File Interpreter ABI Platform
monopati-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 MB

Release files / monopati-0.3.3.tar.gz

Download URL monopati-0.3.3.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
6cc419630490bcecb49cd28c96b81e3bc7ee968a38f51ce608bd17b2d7a184da
BLAKE2b-256 checksum
How to use checksums
ba86ffc5e1c90aeacb14a4c8c470facc107117d8fddc6f02b17a96a71174e791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / monopati-0.3.3-py3-none-any.whl

Download URL monopati-0.3.3-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
85337c5c54fdbf659db8bbf501938fbfac6189de311b5ad5707e20d718671dce
BLAKE2b-256 checksum
How to use checksums
59570ab55e6f62aef8b44689b627a6395ed776c1b644781da942eeb98167377f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for monopati 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page