Live data from Hacker News

Hyperflask – Full stack Flask and Htmx framework

hyperflask.dev

1–10 of 160 posts

Re: Hyperflask – Full stack Flask and Htmx framework

#2
For some reason every time project has a starfield demo, I keep looking for the speed toggle somewhere, and I also expect it to follow my mouse cursor. Maybe in the next version of the Hyperflask website!

However, the project itself looks great. I love Htmx, although I have to admit I started looking at Datastar recently.

Re: Hyperflask – Full stack Flask and Htmx framework

#3
post #2

For some reason every time project has a starfield demo, I keep looking for the speed toggle somewhere, and I also expect it to follow my mouse cursor. Maybe in the next version of the Hyperflask website! However, the project itself looks great. I love Htmx, although I have to admit I started looking at Datastar recently.

Run in console:

new WarpSpeed("warpdrive", { "speed": 20, "speedAdjFactor": 0.03, "density": 2, "shape": "circle", "warpEffect": true, "warpEffectLength": 5, "depthFade": true, "starSize": 3, "backgroundColor": "hsl(224,15%,14%)", "starColor": "#FFFFFF" });

Re: Hyperflask – Full stack Flask and Htmx framework

#6
post #4

Curious choice of backend python. Indeed Flask is a famous python framework but it seems it has been completely overshadowed by FastAPI. I would suggest "HyperFastAPI"

But this is about html rather than API endpoints; Flask seems like a much more appropriate choice.

Re: Hyperflask – Full stack Flask and Htmx framework

#7
post #2

For some reason every time project has a starfield demo, I keep looking for the speed toggle somewhere, and I also expect it to follow my mouse cursor. Maybe in the next version of the Hyperflask website! However, the project itself looks great. I love Htmx, although I have to admit I started looking at Datastar recently.

You mean like this one? https://data-star.dev/

Re: Hyperflask – Full stack Flask and Htmx framework

#8
post #4

Curious choice of backend python. Indeed Flask is a famous python framework but it seems it has been completely overshadowed by FastAPI. I would suggest "HyperFastAPI"

After using both Flask and FastAPI extensively I can attest that Flask is the better technology. Flask is extremely stable and has solid organization around them via Pallets. This is a great benefit as they are keeping the ecosystem moving forward and stable.

https://palletsprojects.com/

Versus FastAPI which is lead by a single maintainer which you can search back on HN about opinions on how he's led things.

Flask also has at time of writing only 5 open issues and 6 open PRs, while FastAPI has over 150 PRs open and 40 pages(!) of discussions (which I believe they converted most of their issues to discussions).

Lastly on the technical side, I found Flasks threaded model with a global request context to be really simple to reason about. I'm not totally sold on async Python anymore and encountered odd memory leaks in FastAPI when trying to use it.

Re: Hyperflask – Full stack Flask and Htmx framework

#10
I’ve been using htmx with basic Django views for a couple years. It’s been great. I was originally concerned that the htmx was getting hard to maintain. But in my case I got to a point where I never have to look at it again. I wouldn’t recommend htmx for a team of more than 1 person or someone that has a lot of time to focus on the frontend. It was a great balance of rapid prototyping and solid enough to not have to worry about it
Post reply on HN