Bengal

Pure-Python static site generator built for free-threaded Python

Image 1 of 1: Bengal site home page listing its pure-Python ecosystem of libraries

A docs and blog generator where every layer, from Markdown parsing and highlighting to templates and the dev server, is pure Python with no npm, rendering pages in parallel on free-threaded Python 3.14t, with incremental rebuilds, llms.txt and agent manifests, notebooks, API autodoc and link checks.

  • 1.94×No-GIL speedup, 1k pages

Trade-offs

  • Pure Python end to end keeps the stack readable and hackable but slower per page than compiled generators; the payoff is parallel rendering once the GIL is off.
  • Benchmarks quote only committed baselines: earlier pages-per-second claims with no benchmark behind them were withdrawn as about 13 times too high.

Q&A1

Rendering is the largest build phase, about 39%, and it scales across threads only when the GIL is disabled: 56 s against 109 s for 1,000 blog pages.

Reviews

Loading reviews

    More in Static sites

    See all 13 →
    • Eclair CMSFlat-file PHP CMS for shared hosting, with SEO, AI and an MCP connector built in
    • nsite-clayA web page in one HTML file that edits and republishes itself on Nostr
    • DD PhotosStatic photo and video album site generator
    • greatgrampsStatic website generator for Gramps family tree databases
    • AmytisStatic digital garden framework on Next.js
    • DocyardMarkdown to a documentation site in seconds, with no Node.js

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs

    More in Python

    See all 162 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • RaspiMIDIHubRaspberry Pi as a plug-and-play USB MIDI hub with virtual instruments
    • gnss_gpuGPU GNSS positioning for urban canyons with particle filters and ray-traced NLOS
    • SnitchPer-app network monitor and outbound firewall for the desktop
    • HisabDouble-entry ledger kept by texting a WhatsApp agent, in Urdu or English
    • Global News Intel PlatformServerless pipeline over world news events, run at zero cost