Skip to main content

Midas

A minimal static site generator. Put markdown in site/, run midas serve, get a website.

Quick start

midas init my-blog
cd my-blog
midas serve

Or manually:

mkdir site
echo -e '---\ntitle: Hello\n---\n\nWelcome' > site/index.md
midas serve

Open http://localhost:8000.

How it works

Your content lives in site/. Every .md file becomes a page. Everything else (images, CSS, fonts) is copied to _dist/ as-is — the folder structure is your site structure.

site/
├── index.md       →  /
├── about.md       →  /about/
├── p/
│   └── post.md    →  /p/post/
├── style.css      →  /style.css
└── img/
    └── photo.jpg  →  /img/photo.jpg

Blog posts

Files in p/ (or your configured postPrefix) are treated as blog posts, sorted by date (set in frontmatter), and included in RSS feeds.

Styles

Midas ships with a base stylesheet (/midas.css). Add overrides in site/style.css — it's loaded after the base.

Commands

Command Description
midas init [dir] Scaffold a project into an empty directory
midas build Build the site to _dist/
midas serve Build and start a dev server on http://localhost:8000
midas clean Delete _dist/

Configuration

midas.yaml is optional. Without it, Midas uses sensible defaults. Set site.url for RSS feeds and site.name for the site header.

site:
  url: "https://example.com"
  name: "My Site"

languages:
  default: en
  additional: [fi]

See the configuration reference for all available options.

Deploying

Push to GitHub and connect to a static host:

  • GitHub Pages — deploy via GitHub Actions
  • Cloudflare Pages — set build command to pip install midas-ssg && midas build, output directory to _dist

Metadata

Release files for midas-ssg 0.1.32

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

Source distribution (sdist)

Source distribution for midas-ssg 0.1.32
File Size Uploaded Provenance Actions
midas_ssg-0.1.32.tar.gz 61.4 kB With provenance Details for midas_ssg-0.1.32.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for midas-ssg 0.1.32
File Interpreter ABI Platform Actions
midas_ssg-0.1.32-py3-none-any.whl Python 3 none any Details for midas_ssg-0.1.32-py3-none-any.whl

Total release size: 128.3 kB

Release files / midas_ssg-0.1.32.tar.gz

Download URL midas_ssg-0.1.32.tar.gz
Size 61.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bb8098d9e19b919940265ad91e13070e22d0fae7387bee09a40421a6c2796cdb
BLAKE2b-256 checksum
How to use checksums
e8675a83050bf02fa34ade6628dcf1ecd1c4bba6d29bb43721095155b7251442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 26, 2026.

Transparency log

Release files / midas_ssg-0.1.32-py3-none-any.whl

Download URL midas_ssg-0.1.32-py3-none-any.whl
Size 66.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5f05cb5814e8ce4b0da0f921d21290e67bba2bacfdc276ddf80421a5e302c4c
BLAKE2b-256 checksum
How to use checksums
266937c88211827e45ddd5f5c96eaa284f4d7076538fd4712fbcb24dfda1b1fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 26, 2026.

Transparency log

Security for midas-ssg 0.1.32

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for midas_ssg-0.1.32.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 26, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.32 This release

2 release files Full provenance

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