Getting Started with PyCora

PyCora is a lightweight, fast, and elegant static site generator built with Python. In this tutorial, we'll walk through the process of setting up your first PyCora site.

Why Choose PyCora?

  • ⚡ Blazing Fast - Pure static HTML, no database queries
  • 📝 Markdown Support - Write content in Markdown with YAML frontmatter
  • 🎨 Beautiful Design - Clean typography with Bootstrap 5
  • 🔍 SEO Ready - Built-in meta tags, Open Graph, Twitter Cards

Installation

git clone https://github.com/mesinkasir/pycora.git
cd pycora
python install.py

Create Your First Post

Create a new Markdown file in content/posts/ with YAML frontmatter:

---
title: My First Post
date: 2024-01-15
tags:
  - hello
  - world
---

# Welcome to My Blog

This is my first post using PyCora.

Build Your Site

python ssg.py

Your static site will be generated in the output/ directory!

Development Server

For local development with auto-rebuild and live reload:

python dev.py

Start building your static site with PyCora today! 🚀