Skip to content

lektor

Python static site generator with a built-in admin UI for content editors

Permissive (OSI) · BSD-3-Clause

Listed by , founder & editor

47

Health

Slowing

Overview

Stars

3,953

Last commit

14 days ago

Nov 2026

Repository age

10 years

since Dec 2015

Latest version

v3.3.14

Aug 2026

Contributors

–

4 active in 90 days

Releases

2

last 12 months

Language

Python

Lektor is a static website generator written in Python. It builds a project from static files into individual HTML pages. Unlike many generators, it includes an admin interface and a minimal desktop app, so editors can change content without touching files by hand.

You install it with Python tooling and run a local server to edit and preview the site. The output is plain HTML, which you can host on any static web server. The repository includes an example project that shows many of its features, and the official Lektor website source serves as a larger reference.

It is licensed under BSD-3-Clause and has been developed since 2015. It suits people who want the speed and simplicity of static hosting but still need an editing interface, as an alternative to hosted website builders and database-driven content systems.

Who it's for

Developers building sites for non-technical editors

The built-in admin UI lets editors change content while you keep static output.

Skip if: Your editors need a fully hosted, drag-and-drop page builder.

Python users who want a static generator

It is a Python package that installs and runs with familiar tooling.

Skip if: You prefer a generator in another language or ecosystem.

The problem it solves

Database-driven content systems need servers, updates and security patching, while plain static generators leave editors working in text files. Lektor generates static HTML but gives editors an admin interface.

Strengths

  • Built-in admin UI and minimal desktop app
  • Outputs plain HTML pages for any static host
  • BSD-3-Clause license
  • Active since 2015 with version 3.3.14 current

Trade-offs

  • Not a visual drag-and-drop builder
  • Two releases in the last year, so updates are infrequent
  • Development needs Python 3.10 or newer and npm

Self-host lektor

Self-hostable
Yes

Frequently asked questions

Is Lektor free?

Yes. It is open source under the BSD-3-Clause license.

Can I self-host it?

Yes. You run it yourself and can host the generated HTML on any static server.

What language is it written in?

Python. Development setup requires Python 3.10 or newer.

Similar tools in Website builders

jbake

Website builders

Java static site and blog generator for developers writing in Markdown or AsciiDoc

1.2k 327 11 months ago Dormant MIT

nikola

Website builders

Static site and blog generator in Python for people who write in reStructuredText or

2.7k 481 14 days ago Active MIT

Instatic

Website builders

Self-hosted CMS with a visual canvas editor that publishes plain HTML and compact CSS

9.2k 874 today Thriving MIT

Replaces Webflow

Frappe Builder

Website builders

Open source visual website builder from the Frappe ecosystem

2.5k 584 yesterday Thriving MIT

Framely

Website builders

Next.js starter for building a multi-tenant drag-and-drop website builder

1.2k 141 22 days ago Slowing MIT

DoTenX

Website builders

647 66 3 years ago Dormant Apache-2.0 AND Commons-Clause