Best Flask open-source libraries and packages

Flask Genesis

A simple to use Static Site Generator
Updated 4 months ago

Flask Genesis

img

A simple to use Static Site Generator made with Flask, Flask-FlatPages and Frozen-Flask.

Features

  • Markdown Support
  • Syntax Highlighting
  • Search & Pagination
  • Tables
  • Tags
  • Dates

You can see an working example here: flaskgenesis.netlify.app

Installation

Clone the Repository

git clone https://github.com/the-akira/Flask-Genesis.git

Inside the Main Directory

Create a Virtual Environment

python -m venv myvenv

Activate the Virtual Environment

source myvenv/bin/activate

Install Requirements

pip install -r requirements.txt

Navigate to blog and Run the Application

python server.py

To generate the static site you can run the following command

python server.py build

You can then navigate to build and run python -m http.server to see the website on your local machine.

You are able to easily deploy to GitHub Pages, GitLab Pages, Netlify, Python Anywhere or Surge.