About & Credits

Interlace is an HTML-over-the-wire component framework for Django: you write reactive UIs in Python, the server renders HTML, and the client morphs the DOM. If that sounds familiar, it should, Interlace stands squarely on the shoulders of the people and projects below.

A short history

HTML-over-the-wire is not new. Long before the current wave, GitHub was swapping server-rendered fragments with pjax; Basecamp shipped Turbolinks and later gave the idea its name with Hotwire ("HTML Over The Wire"); patterns like AHAH (Asynchronous HTML and HTTP) were returning HTML partials over XHR as far back as the mid-2000s; and intercooler.js, now htmx, carried the hypermedia torch. Interlace stands on all of it.

What changed the developer experience was the arrival of declarative, server-driven component models: Phoenix LiveView (Chris McCord) in Elixir, and Laravel Livewire (Caleb Porzio) in PHP. Livewire in particular nailed an ergonomic directive API, your state and logic stay on the server, in the language you already write, and Interlace's lace: directives (lace:model, lace:click, lace:ignore, and friends) deliberately echo Livewire's wire: surface so the ideas carry across. Thank you, Caleb, and thank you to everyone above.

Where Interlace started

Interlace grew out of time spent in the django-unicorn world, which deserves real credit for bringing reactive components to Django first. Our earliest prototype started there, then matured closed-source inside enterprise teams, where our goals for the developer experience and the shape of the API diverged enough that Interlace became its own framework, with its own internals and its own trade-offs.

Built on

Interlace would not be possible without:

  • Django, the framework it extends and whose ORM, templates, and forms it leans on.

  • Alpine.js and its morph plugin, for the sprinkle of client-side interactivity and the surgical DOM diffing that applies each server update.

License

Interlace is released under the MIT License. See the LICENSE file for details.

View this page as markdown - handy as context for your AI tools. Full index at /llms.txt.

Theme
Accent
Ink