We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Build a Static Site Generator in Python

Build the kind of tool that turns Markdown into a website, then understand static site generators from the inside.

What you'll learn in this Python course

Ever wondered how SEO and performance-optimized static site generators like Hugo work? In this guided project you'll build your own from scratch using Python. You'll put a lot of your learnings from Object-Oriented Programming and Functional Programming to use in a tangible web project. This project isn't for the faint of heart, but it's well worth the effort. You'll come away with a deeper understanding of static content management.

Chapter List

1
Static Sites
Learn about what a static site is, and start building the functionality necessary to process and move static HTML and Markdown files.
2
Nodes
Build the core HTML generation logic that will power your static site generator. Use recursion and OOP to build an easily understandable and maintainable system.
3
Inline
Build the inline markdown parsing logic, and the logic to generate inline HTML elements.
4
Blocks
Handle entire blocks of markdown, and generate the HTML nodes that represent them.
5
Website
Put the entire static site generator together, and publish your first website.

Join 15,877 students in the Build a Static Site Generator in Python course

Read reviews of their learning experiences

Hard, hard, hard! Not for the faint of heart. But this is a rewarding course if you stick through all the way to the end. It taught me the super important process of mind-mapping the assignment and understanding the steps before writing a single word of code. It taught me a process I can now use going forward with all assignments and projects, so no regrets!

(5/5)
G-Junction  profile image

G-Junction

United States

nice

(5/5)
ztest95  profile image

ztest95

Philippines

it is ok , if you are a quick study.

(3/5)
Roman Korcek profile image

Roman Korcek

Slovakia

This course kicked my ass. I've worked a bit with the file system before, but my experience is mostly on FE. It was fun and very challenging at times. I expected to move faster, but I took my time and the end result was very satisfying. I definitely feel more confident in my abilities after going through the difficult parts and coming through the other end. I'm still blown away by how good this course is put together.

(5/5)
Valentin Suciu profile image

Valentin Suciu

Romania

I enjoyed that one thoroughly :)

(5/5)
Noneof Yourbusiness profile image

Noneof Yourbusiness

France

It was pretty hard for me, but also rewarding near the end. Overall good course.

(5/5)
Aduneer  profile image

Aduneer

Germany

This course was challenging with a full time job as it's actually quite full with a bunch of moving parts, and going at a 1 lesson per day pace made it so easy to forget how everything works every time. However, as unfun the node transformations were (for me) the course still tackled a lot of very interesting concepts and the end result was mind blowing as a full stack dev, and is definitely bringing some ideas to mind for work. Excellent course over all

(5/5)
Samuel Aboelkhir profile image

Samuel Aboelkhir

Alexandria Egypt

nice way to understand web and static site generators

(5/5)
Kourosh Sarabadani profile image

Kourosh Sarabadani

genova

Honestly, hardest course I've taken on boot.dev. Learned a lot, and will probably use some of the src code for my own blog! Super awesome :)

(5/5)
Andre  profile image

Andre

Philadelphia, PA

Showing 1-9 of 498

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.