Live data from Hacker News

Htmx is part of the GitHub Accelerator

htmx.org

431–440 of 520 posts

Re: Htmx is part of the GitHub Accelerator

#431

It's so odd to live long enough and see the steady pipeline of "look at this much simpler way of doing web apps, just write HTML, not like the previous complex way" projects, which then turn into the previous complex way as the eyes turn towards the next "simple way of doing web apps, just write HTML...". Angular and React started this way on the frontend, while ASP and PHP started this way on the backend (of course…

>The fact your HTML barely reads like HTML after Tailwind, and reads more like your file is corrupted is I guess not mentioned in the tagline. Not my experience for the record. I use Tailwind in my side project, and it is exactly as convenient as it sounds to write my styles directly into HTML rather than think of a class name, add it in HTML, switch to the proper CSS file (or create it if it doesn't exist and make s…

> think of a class name

> forget what name I had decided on

I think that's not the problem with CSS, but with how you approach design. If you treat your design process as editing a document, and just want to "Ctrl+B" to bold necessary parts, yes, I'm sure Tailwind's better. But, I can see how it could be a problem with maintenance and collaboration as there isn't an agreed upon design language or a document structure.

I understand that managing multiple files and going back and forth can be considered an overhead, but that's a componentization problem, not a problem with CSS per se, and you expect to recuperate your losses with the time you gained when finding and fixing bugs. Otherwise, there's no point in componentization. You'd have the same tradeoff when writing JavaScript code, for example.

You'd encounter the same set of problems the moment you start refactoring your styles into Tailwind components.

Re: Htmx is part of the GitHub Accelerator

#432

it does not work well with the ever growing restful API backend services to me.

That's the whole point. Those "restful API backend services" are not really REST-ful. The essay, "How Did Rest Come To Mean The Opposite of REST"[0], explains this better than I ever could in a HN post. Maybe we should stop growing these Data-APIs (returning JSON) and switch back to Hypermedia-APIs (returning HTML). [0] https://htmx.org/essays/how-did-rest-come-to-mean-the-opposi...

it might not be the right REST, the key point though, is that it's json data instead of html, which asks you do client side rendering instead of server side rendering.

htmx might be great for server side rendering, but for client-side-rendering(SPA) which consumes json data from the backend, I doubt htmx is a good fit, and there are lots of json-api-service(instead of html) these days for client to consume.

Re: Htmx is part of the GitHub Accelerator

#433

hi there, as many of you know, i am the creator of htmx and I'm happy to answer any questions about it htmx has seen a surge in popularity, triggered by a video by fireship dev ( https://www.youtube.com/watch?v=r-GSGH2RxJs ) and a series of videos by ThePrimeagen, a popular twitch streamer on it hacker news readers might be interested in the essays I have written on htmx & hypermedia in general here: https://htmx.org…

Do you think that at some point in the future, browsers could bundle in htmx or something similar, and that we could imagine web pages that have javascript disabled but with great interactivity due to htmx? This could perhaps be used as a security feature.

No need to wait for browsers. You can just whitelist htmx and block any other javascript.

Re: Htmx is part of the GitHub Accelerator

#435
post #418

hi there, as many of you know, i am the creator of htmx and I'm happy to answer any questions about it htmx has seen a surge in popularity, triggered by a video by fireship dev ( https://www.youtube.com/watch?v=r-GSGH2RxJs ) and a series of videos by ThePrimeagen, a popular twitch streamer on it hacker news readers might be interested in the essays I have written on htmx & hypermedia in general here: https://htmx.org…

I owe you a beer or 6. Let me know if I can pitch you a few bucks.

if you want to support htmx development you can do so via github sponsors:

https://github.com/sponsors/bigskysoftware?o=esb

but please don't feel the need to do so

Re: Htmx is part of the GitHub Accelerator

#436

Congrats. I will be very curious to see how this (and other companies that are built around an open source frontend/web library) work on monetizing themselves. Are there any successful businesses in that space? I worry it will be truly challenging without a big compromise to morals/openness/etc. I kind of wonder if stuff like htmx should just be funded with a big grant so it never needs to worry about selling out use…

htmx is bsd licensed and I will not allow it to be anything but that (I may actually move to BSD-0, the two clauses are kind of dumb when you are talking about javascript)

i have a day job (a couple) so there is no financial pressure around it

i hope that it will be a long term public asset for developers

Re: Htmx is part of the GitHub Accelerator

#438
post #430

Earlier quoted context omitted.

Huzzah! I laughed harder at that than anything in a long time.

:) i'm glad you found it funny and I hope useful as well, at least in parts

Yes. Funny because it was so true and full of hard won wisdom!

Re: Htmx is part of the GitHub Accelerator

#439
post #298

hi there, as many of you know, i am the creator of htmx and I'm happy to answer any questions about it htmx has seen a surge in popularity, triggered by a video by fireship dev ( https://www.youtube.com/watch?v=r-GSGH2RxJs ) and a series of videos by ThePrimeagen, a popular twitch streamer on it hacker news readers might be interested in the essays I have written on htmx & hypermedia in general here: https://htmx.org…

> htmx has seen a surge in popularity For those curious, here's some numbers for the last 6 weeks to put things into context: - 4147 new stars - 86 new contributors - New contributors account for most of the commits and issues created which is a very strong sign of growth. Even in very popular projects, it is usually existing contributors that contribute most of the code. https://devboard.gitsense.com/bigskysoftware/…

[deleted]

Re: Htmx is part of the GitHub Accelerator

#440

hi there, as many of you know, i am the creator of htmx and I'm happy to answer any questions about it htmx has seen a surge in popularity, triggered by a video by fireship dev ( https://www.youtube.com/watch?v=r-GSGH2RxJs ) and a series of videos by ThePrimeagen, a popular twitch streamer on it hacker news readers might be interested in the essays I have written on htmx & hypermedia in general here: https://htmx.org…

Congrats on the GitHub program! Very cool. I just had a fresh read of the docs and htmx is refreshingly, gloriously simple--such a breath of fresh air. So natural, self-documenting, and well thought out. It _does_ feel like a natural extension of html. To me, the only "missing" piece of htmx is a component model, but for anyone looking for that, htmx would pair amazingly well with Astro[1] which allows you to define…

Not sure what you mean by html components. That's kind of missing the point of HTMX, no? Most backend frameworks like Django or templating engines like Jinja2 have the concept of blocks or fragments so its easy to render out component pieces to send back to the frontend. If you combine that with the OOB options in HTMX and/or the Hyperscript or Alpine libraries, then I'm not sure what you would gain by using Astro.
Post reply on HN