Open Source eBook: Hotwire Django Tutorial


In recent years, HTMX + Alpine.js is becoming more and more popular in the Django community since it provides a new and simpler way to build a modern web application while keeping things simple.

However, many developers do not know they have other options.

As a full stack developer who prefer Hotwire, I published The Definitive Guide to Hotwire and Django to help people to learn this great tech, and also received many thanks in the past years.

But I know there are still many people who want to learn Hotwire but cannot afford the book.

So I decide to put some basic chapters of the book online for free, the source markdown files and images are all hosted on GitHub.

About this book

This open source book (Hotwire Django Tutorial) is to help Django developers to learn Hotwire

Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire.

Below are some popular websites built by Hotwire:

  1. Github (, Github is built using Turbo and Catalyst (A tech inspired by Stimulus)
  2. Hey (, Hey is an email service and productivity platform that aims to revolutionize the way people manage their email
  3. Basecamp (, Basecamp is a project management and collaboration tool designed to help teams stay organized and work together effectively
  4. Forem (GitHub - forem/forem: For empowering community 🌱): Forem is an open-source platform for building online communities, is built using Forem.

Hotwire has become the default frontend solution in Rails, and it is also very popular in the PHP community (Laravel, Symfony).

For now, there is no good content about Hotwire in the Django community, so I decided to publish this book to help the developers.

What it contains

  1. About 20 chapters and relevant screenshots
  2. A online demo which can let you test the feature.

Book URL

This book is open source on GitHub and free to read online.

If you have any question, please feel free to let me know.