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.

Browse Lessons (read-only)

What will you learn?

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,199 students in the Build a Static Site Generator in Python course

Read reviews of their learning experiences

noice

(5/5)
Fahad  profile image

Fahad

Pakistan

Brings together skills from most of the previous classes and includes practice using some of the built in python libraries. The scaffolding on the lessons feels a little too light from time to time. Recommend stocking up on baked salmon and not being afraid to call on Boots for assistance.

(4/5)
Angela Huffman profile image

Angela Huffman

USA

I need a job now.

(5/5)
Kelvin Kitheka profile image

Kelvin Kitheka

Netherlands

A very lengthy and technical project. Don't expect to move quickly - you'll be debugging and testing features endlessly, but your practical development skills will progress as a result.

(5/5)
snuskin  profile image

snuskin

United States

One of the hardest projects on the site. Good time.

(5/5)
Cameron McCreery profile image

Cameron McCreery

Troy, New York

Great course and very challenging! I felt I relied a bit heavily on boots but the the times I was able to complete it myself felt very empowering!

(5/5)
Fred  profile image

Fred

United States

I have learned a lot out of this course

(5/5)
Osama  profile image

Osama

Iraq

Really tough but soooo worthi it in the end to see something you create

(4/5)
Mark Swenson profile image

Mark Swenson

Australia

great learning experience

(5/5)
Chananet Suraswadi profile image

Chananet Suraswadi

Sydney,Australia

Showing 1-9 of 436

Browse Lessons (read-only)

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.