loading...

Manticore 1.0 is released!

blazephoenix profile image Tanmay Naik ・1 min read

Manticore is a simple, minimal static site generator in Python. It's free and open source, and I would appreciate feedback.

This is my first contribution to open source, looking to make many more. Forks and pull requests, improvements on the codebase are all welcome!

GitHub logo blazephoenix / manticore

Static site generator in python

Manticore

A simple, minimal static site generator in Python.

Getting Started

  • Create a virtual environment - virtualenv venv
  • Run pip install -r requirements.txt
  • Add posts in markdown format in the content folder
    • In content/resume for resume.
    • In content/default for blog posts.
  • Check commands with python build.py --help
Usage: build.py [OPTIONS]
Options
  -d, --default TEXT  Generate the default blog template
  -r, --resume TEXT   Generate a resume template
  --help              Show this message and exit.
  • E.g. To generate a blog, Type python build.py --default default

    • An output folder will be created with the markdown files in content/default
    • The directory structure in the output folder
    \output
     \posts
      home.html
    

The process is similar but a little easier for generating a resume since it only creates one page.

Prerequisites

  • Python 3.6 or higher.

Deployment

Deployment solutions are currently being worked on. Deployment with Netlify CLI could be available in upcoming releases.

Built With

Discussion

markdown guide