FastHTML – Modern web applications in pure Python

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. fasthtml

    The fastest way to create an HTML app

    Which example? I see global vars in a couple of the demos. The game state for the Game of Life makes sense, since it is intended to be shared. The `messages` list in the Chatbot demo is definitely NOT how you'd build a multi-user application, that's mainly showing the styling aspect.

    In general, you'd have an actual database and make it so users can only see their own data! See https://github.com/AnswerDotAI/fasthtml/blob/main/examples/a... which adds a filter to queries and DDL statements to ensure that the user can only see/edit their own todos.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. word2md

    Paste Word, get Markdown

    Regarding (1), I think you might be misunderstanding how FastHTML works. If you want to write JS code in FastHTML, then you can just do that. But you can focus entirely on using it for the bits it works well for.

    For instance, I wrote a little app (https://word2md.answer.ai/ ) which lets you copy/paste from MS word, and converts it to Markdown. I found that there's some nice existing JS code for cleaning up MS Word markup, so I used that on the client side, and used server-side python code for converting that to markdown. Here's the Python code, which is just plain python in a regular python file:

    https://github.com/AnswerDotAI/word2md/blob/main/main.py

    And here the JS code, which is just plain JS in a regular JS file:

    https://github.com/AnswerDotAI/word2md/blob/main/wordpaste.j...

    Regarding (2), I've heard the same basic argument nearly every time I've tried to create anything new, and I've heard it apply to lots of other people's projects too. Yes, if there's an existing product that's pretty good already, then it's likely the new thing won't be as good in every way. I don't think that's a reason to not try to make something better, however. I like Django a lot, have used it since its very early days, and I'm friends with one of the founders of it -- it's an amazing project. But it's not perfect, and hopefully it's OK if some people want to try different things too.

  4. fh-bootstrap

    fasthtml wrapper for bootstrap

    This might sound kinda retro/boring, but I've been really enjoying Bootstrap v5 -- it's come a long way! https://about.fastht.ml/ is written with it. I've started creating a FastHTML wrapper for bootstrap here:

    https://github.com/AnswerDotAI/fh-bootstrap

  5. fh-about

    Discontinued about.fastht.ml source

    Yes htpy is nice! Other interesting examples of functional HTML include Elm-html (Elm), hiccl (Common Lisp), hiccup (Clojure), Falco.Markup (F#), Lucid (Haskell), and dream-html (OCaml). FastHTML's system, called "FastTag" (FT) is a bit of a mashup of all of them plus some extra bits. I seriously considered just using htpy actually -- but in the end decided I preferred something a little different.

    I've wondered about a class-based approach like that -- interesting to hear it's worked for you. I should try it! I'm using a purely functional approach for re-use, as you see in this example of the code for about.fastht.ml:

    https://github.com/AnswerDotAI/fh-about/blob/main/overview.p...

  6. streamlit

    Streamlit — A faster way to build and share data apps.

  7. FrameworkBenchmarks

    Discontinued Source for the TechEmpower Framework Benchmarks project

    Blows most popular TS frameworks out of the water.

    https://www.techempower.com/benchmarks/#section=data-r22&hw=...

    For you: https://gprivate.com/6chku

  8. htmx

    </> htmx - high power tools for HTML

    > Maybe I'm missing something here.

    I think you are missing how htmx (https://htmx.org/) is intended to be used. You still have your regular HTML page and by interacting with that HTML, you trigger server-side functions that return HTML. That HTML is used to update very specific parts of your page. htmx works with HTML fragments while HTML templates work with entire pages.

  9. lofigui

    Simple front ends

    I have used and liked FastHTML although I was going in a different direction (not very modern and no javascript) https://github.com/drummonds/lofigui. It works well.

  10. template

    Cookiecutter template for a basic Ludic App (by getludic)

    Looks neat! It seems at least superficially similar to https://github.com/getludic/ludic which I quite like too.

  11. reactpy

    It's React, but in Python

    Another Python framework agnostic project is ReactPy. [0]

    [0]: https://github.com/reactive-python/reactpy

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • From Zero to Job Data Visualization vs Power BI: Which Wins?

    6 projects | dev.to | 7 May 2026
  • Would maintaining such an open-source project be helpful to my career?

    1 project | news.ycombinator.com | 16 Mar 2026
  • Volo Data – Chat with your database using AI

    1 project | news.ycombinator.com | 11 Mar 2026
  • [TIL][Python] Python Tool for Online PDF Viewing, Comparison, and Data Import

    3 projects | dev.to | 11 Jan 2026
  • Data Science for Beginners

    1 project | news.ycombinator.com | 15 Nov 2025

Did you know that Python is
the 1st most popular programming language
based on number of references?