htmf

A minimalist partial html swapping library similar to HTMX and other libraries which create an MPA app and enhances it with a focus on HTML forms. (by jon49)

Htmf Alternatives

Similar projects and alternatives to htmf

  1. htmx

    642 htmf VS htmx

    </> htmx - high power tools for HTML

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. lit

    174 htmf VS lit

    Lit is a simple library for building fast, lightweight web components.

  4. qwik

    143 htmf VS qwik

    Instant-loading web apps, without effort

  5. proposal-type-annotations

    ECMAScript proposal for type syntax that is erased - Stage 1

  6. petite-vue

    68 htmf VS petite-vue

    6kb subset of Vue optimized for progressive enhancement

  7. webcomponents

    Web Components specifications

  8. solid-docs

    Official documentation for the Solid ecosystem

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. terser

    32 htmf VS terser

    🗜 JavaScript parser, mangler and compressor toolkit for ES6+

  11. wordpress-playground

    Run WordPress in the browser via WebAssembly PHP

  12. submillisecond

    A lunatic web framework

  13. swup

    17 htmf VS swup

    Versatile and extensible page transition library for server-rendered websites 🎉

  14. mojo.js

    15 htmf VS mojo.js

    :unicorn: The Mojolicious real-time web framework for Node.js

  15. v5-docs

    5 htmf VS v5-docs

    📚 Source code and documentation for the official docs website.

  16. WeightTracker

    4 htmf VS WeightTracker

    Back end for saving data for weight tracker.

  17. pib

    7 htmf VS pib

    PHP in Browser (powered by WebAssembly)

  18. wasm-service

    HTMX, WebAssembly, Rust, ServiceWorkers

  19. mpa-enhancer

    1 htmf VS mpa-enhancer

    Minimalist JavaScript to make your MPA work that much better

  20. Soccer

    4 htmf VS Soccer

    Tracker for players play time (by jon49)

  21. MealPlanner

    A Meal Planner to figure out what we are going to eat each week. Written with Razor Pages and HTMF. https://meals.jnyman.com/

  22. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better htmf alternative or higher similarity.

htmf discussion

Log in or Post with

htmf reviews and mentions

Posts with mentions or reviews of htmf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-12.
  • HTML First – Six principles for building simple, maintainable, web software
    13 projects | news.ycombinator.com | 12 Nov 2023
    I've successfully used this pattern (HTMX hypermedia style) to create an offline-first web app SPA[^1]. One of the pages is pretty dynamic and I wasn't sure if I would need a traditional front end library to work with it. But, nope, hypermedia to the win, it worked fine without a front end framework.

    To build it I used my own library called HTMF[^2]. I started out using mpa-enhancer[^3] but found that that pattern is a little to janky sometimes. I think reloading a page every time on every interaction uses too many resources for a browser especially when you use a phone that doesn't have as much power as a laptop.

    But overall I find the pattern very easy to use and keeps the complexity down.

    I think some of the issues with traditional SPAs is that they have a lot of state and state is nonlinear in complexity. But using templating systems makes the complexity more linear in nature.

    Also, I find libraries like React to be overly complex for what it does, see above. The way React works is just odd and counter intuitive. All for problems that are easy to solve. I do think there are places for a React-like library is needed but those are for websites that are inherently highly state-based. But most websites aren't state-based even ones that appear to be state-based at first.

    The websites I work on are usually just forms and forms are pretty powerful and can get you a long ways before you need to go outside of that paradigm.

    [^1]: https://github.com/jon49/Soccer

    [^2]: https://github.com/jon49/htmf

    [^3]: https://github.com/jon49/mpa-enhancer

  • Things you forgot because of React
    14 projects | news.ycombinator.com | 15 Aug 2023
  • Htmx, WebAssembly, Rust, ServiceWorker Proof of Concept
    12 projects | news.ycombinator.com | 16 Oct 2022
  • Ask HN: Getting tired of complexity in web development
    6 projects | news.ycombinator.com | 8 Oct 2022
    I wrote a js lib similar to HTMX, which I call HTMF[1]. Unlike HTMX I try to stay as close to the metal of the current semantics as possible. So, all interactions are based off of forms. I also tried to keep the wording similar to HTML/JS semantics. It's pretty small lib but pretty amazing how far I can get with it. These days I mainly build offline-first apps with it. But I built it in such a way that it can easily be a progressive enhancement to an MPA app.

    [1]: https://github.com/jon49/htmf

  • A note from our sponsor - InfluxDB
    influxdata.com | 24 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

Stats

Basic htmf repo stats
4
22
5.2
2 months ago

jon49/htmf is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of htmf is JavaScript.


Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com