Dev tools · alternatives · 2026
24 alternatives to Htmf – literal HTML in Python f-strings
Kind of lit-html and other html`...` libraries, but in Python. It's a suite of: Few text processing utilities you could write in a hour Linter validating the f-expressions HTML beautifier VS Code syntax highlighter It was used to succesfully rebuild UIs of several internal CRUD-apps. Designed to replace the traditional jinja templates with something preserving type-safety and better IDE support. Keeping the models and templates in sync is much easier now. Maybe you would find it useful too.
Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Htmf – literal HTML in Python f-strings launched in 2024; newer entries below may have overtaken it.
- 1

2024 · leanrada.com · its alternatives →
- 2

Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming. Recently we came up with a fast way to generate text that matches a regex (https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We…
2023 · github.com · its alternatives →
- 3

I recently dug up an old project in an attempt to improve on it. It's a code sandbox for playing around with HTMX in the browser, that runs a mock server within the sandbox iframe. The server "framework" is loosely based on Django, so if you're familiar with Django, you'll immediately understand what's going on. I recommend clicking through the examples. Github repo: https://github.com/lassebomh/htmx-playground Probably my favorite part is the lack of HTMX specific code. It's designed to mimic the client and server, but really nothing else. In principle, this means that…
2024 · lassebomh.github.io · its alternatives →
- 4

There are a lot of Python to web app frameworks going around these days but I wanted something that was a little more lightweight that just generates HTML pages and can be embedded in Flask or other Python web servers incrementally. PyVibe uses Python components to construct a page with styling that you can use in Flask, in a static site, or even in Pyodide.
2023 · pyvibe.com · its alternatives →
- 5

A little Python library for making simple Electron-like HTML/JS GUI apps - python-eel/Eel
2018 · github.com · its alternatives →
- 6HH
2015 · amol-mandhane.github.io · its alternatives →
- 7

Hey HN! I originally built “html-to-markdown” back in 2018 (while still in high school) to handle complex HTML conversions where other libraries struggled. Now, I’ve released v2 — a complete rewrite designed to handle even more edge cases. It supports entire websites with a high accuracy. Example use: I’ve used it in my RSS reader to strip HTML down to clean Markdown, similar to the "Reader Mode" in your Browser. It can be used as a Golang package or as an CLI. Give it a try & tell me what edge cases you encounter!
2024 · github.com · its alternatives →
- 8

Ludic is my personal project I started working on as I saw an opportunity to write websites in Python without the need to use template engines and write complex JavaScript (thanks to htmx.org). Ludic prioritizes simplicity - no convoluted HTML, straightforward and responsive CSS, and minimal JavaScript requirements. I'm looking for feedback for the documentation I was building: * https://getludic.dev/docs/ This documentation showcases the range of features the framework offers, providing a comprehensive overview of its capabilities. I would also appreciate if you checked…
2024 · getludic.dev · its alternatives →
- 9HH
This is hyTags, a programming language embedded in HTML for building interactive web UIs. It started as a way to write full-stack web apps in Swift without a separate frontend, but grew into a small language with control flow, functions, and async handling via HTML tags. The result is backend language-agnostic and can be generated from any server that can produce HTML via templates or DSLs.
Jan 2026 · hytags.org · its alternatives →
- 10

I love Streamlit but have run into many situation where taking it from PoC to MVP state is insurmountable. With all the recent HN hype around htmx and sematic html / classless css I decided to build a Streamlit alternative using these on top of FastAPI. This has a couple advantages: 1) easier to extend when you move past PoC since the FastAPI app is exposed (allowing adding more routes) and hstream acts more like a typical web stack 2) with htmx and html (plus MVP.css) doing the heavy lifting the package is alot less complex and easier to reason about - and hopefully more performant…
2022 · github.com · its alternatives →
- 11

Hey HN, I'd like to share a fun project I've been working on: mizu.js. It's a js library that add functional attributes support into your html, designed to be a simple and flexible alternative to fully-fledged web frameworks (such as Vue, React, and Angular), while offering more capabilities than other lightweight options (like Alpine.js and htmx). As it's written using modern ES features and due to its isomorphic nature, it can be run in both browsers and runtimes (Node, Deno, Bun) without any changes. This makes it ideal for client-side and server-side rendering, as well as static site…
2024 · mizu.sh · its alternatives →
- 12

An app for working with local HTML files. Contribute to iffy/lhtml development by creating an account on GitHub.
2017 · github.com · its alternatives →
- 13

I built a library that to generate HTML from Python. We have been using this library with Django the last couple of months instead of classic templates and find it to be productive. It is easy to debug, works great with static type checkers and it is easy to build reusable components/partials. Give it a try!
2024 · htpy.dev · its alternatives →
- 14

Contribute to tylerhou/fiber development by creating an account on GitHub.
2021 · github.com · its alternatives →
- 15

Template-less HTML rendering in Python
2022 · pypi.org · its alternatives →
- 16

- 17UG
Hi all, I'm currently working on my hobby project, and one of the fun constraints I put in was to build using as less dependencies as possible. I chose Go as it has a really good standard library, and all went well for building backend. But for frontend, I was wondering whether I should break the constraint and go for React. I tried options like Web Components, but I really didn't like the ergonomics and I didn't want to use jQuery either. Out of curiosity, I was exploring Go's html/template package to see if I can write UIs in a React-like manner. I found most of the online docs using…
2024 · its alternatives →
- 18FA
2024 · about.fastht.ml · its alternatives →
- 19

Convert HTML to Markdown. Contribute to elliotgao2/tomd development by creating an account on GitHub.
2017 · github.com · its alternatives →
- 20

This started out as a static HTML file, being used by some developers at my current employer to document "domain terminology" relevant to products we're building. Soon it became too much work to update the items in the HTML manually, so I added a JavaScript-based editor. It relies on a tiny Node.js server to write changes back to the HTML file. Not as user-friendly as a "normal" web-based application, but it does mean we can keep the HTML file under version control and follow our normal development process for making/tracking changes.
2022 · glossary.page · its alternatives →
- 21

A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs). - guilatrova/tryceratops
2021 · github.com · its alternatives →
- 22

Spicy templating for node and the browser inspired by Twig, Dust.JS and Hogan.JS - deoxxa/node-ginger
2012 · github.com · its alternatives →
- 23

It's very early days for the project, but I wanted to share it to see if there is interest. It is the final piece of the FastAPI server-side rendering stack I started building with FastHX and htmy (the two dependencies of this project besides FastAPI). Think of it as a more powerful and convenient alternative to tools like FastHTML, powered by FastAPI (without any modifications). I hope you'll like it.
2025 · volfpeter.github.io · its alternatives →
- 24PC
C# to HTML converter
2022 · csharp-colors.xyz · its alternatives →
Also compare
- htmz – a low power tool for HTML alternatives
- LLMs can generate valid JSON 100% of the time alternatives
- I made a HTMX Playground 100% in the browser alternatives
- Generate styled web pages with just Python alternatives
- Eel – a simple Python library for making little HTML GUI applications alternatives
- HtmlPy – HTML5-CSS3-JavaScript Based GUI Library in Python alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →