nitro
reactor
nitro | reactor | |
---|---|---|
3 | 11 | |
201 | 613 | |
1.0% | - | |
3.1 | 7.1 | |
11 months ago | about 2 months ago | |
TypeScript | Python | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nitro
-
Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
Looks similar to Nitro https://nitro.h2o.ai/ and Wave https://wave.h2o.ai/ - both open source. Nitro already works with WebAssembly via Pyodide. (Author here)
-
PyScript
Does PyScript offer anything of significance over and above what Pyodide already offers, other than several py-* tags?
In my experience, it's trivial accomplish this with Pyodide.
Here's a web worker that hosts Pyodide and loads packages, PyPI wheels, external modules, etc. and launches type=text/python script tags in-browser:
https://github.com/h2oai/nitro/blob/main/web/public/nitride....
About ~100 lines of code.
-
Ask HN: Visual scripting works well for games but not general software. Why?
I miss RAD tools too. Visual Basic was hugely popular two decades ago. The ease of building GUIs was unparalleled. That experience carried over to some extent with Windows Forms, WPF, Adobe Flex, etc., but not quite the same.
A decent blend of RAD and visual programming is the Max/MSP that ships with Ableton Live. It's fairly straightforward to build little audio/MIDI devices, then switch to visual programming for the implementation (objects/patchcords/control in Max terms).
> Doing GUIs only in code is tedious and boring.
Totally. But given that most GUI software these days involves client/server, I'm not sure if there's a simpler solution.
I work on Nitro[1] these days, and it's an attempt to make GUI development simpler and less tedious, primarily by trying to abstract away client/server programming and opting for a simpler way to program UIs without dealing with callbacks or event-handlers.
[1] https://github.com/h2oai/nitro
reactor
- Reactor, a LiveView Library for Django
- Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
- Django equivalent to Rails Hotwire
-
Back-end languages are coming to the front-end
I'd love to see this approach make more headway in the Django community. Based on the last DjangoCon it seems like the community is coalescing around HTMX.
This tool does play very nicely with Django's templating engine; you can just have HTMX re-render a particular template block on the server, and send down that updated block. The migration path is quite clean; you just wrap your "HTMX-updated" template block in a `hx-post` div.
Having not gone too deep on HTMX, I'm interested in folks' thoughts on where it's lacking vs. LiveView and Hotwire. One area I can see is performance; Elixir is going to be faster than Django, and so if you're trying to handle high session counts over websockets. But the impression I get is that HTMX is a bit more light-weight, so I'm wondering if there's usecases that can't be met with it vs. LiveView.
Other Django libraries that haven't quite seen as much uptake:
We have https://github.com/edelvalle/reactor, and a port of Hotwire: https://github.com/hotwire-django but both of these don't seem to have much adoption (yet!).
-
Reactive Clojure: You don't need a web framework, you need a web language
Thank you for posting those, I wanted to post them but I don't comment often (). Wanted to chip in another contemporary: edelvalle/reactor, which is inspired by LiveView[0].
[0]: https://github.com/edelvalle/reactor
I am using Hotwire for a project, and I'm learning Elixir and Phoenix on the side. Finding edelvalle/reactor was immediately helpful to me though, because I cut my teeth on Python/Django, so reading a Python reference implementation helps me learn nuts and bolts of libraries, faster. (so, I figure that this might help someone else grok how these approaches work.)
-
How to combine Rails's Ajax support and Stimulus
If this sounds like a barebones version of notable frameworks like Elixir's Phoenix LiveView, Rails's StimulusReflex or Hotwire Turbo, PHP's LiveWire, Django's Reactor... well, you're right! (Bonus: my colleague @jgaskins built a LiveView clone for Crystal)
-
Phoenix LiveView/Laravel LiveWire alternatives for Django
Reactor
-
HTML over-the-wire is the future of Web Development
Reactor is a LiveView library for Django. It enables you to do something similar to Phoenix LiveView using Django Channels.
-
Django with htmx for easy and efficient SPAs
It looks a bit similar to Elixir Live View. Or similar in Django https://github.com/edelvalle/reactor, there are a couple of libraries.
-
StimulusReflex, or LiveView for Rails
Django does: https://github.com/edelvalle/reactor
What are some alternatives?
chainlit - Build Conversational AI in minutes ⚡️
django-unicorn - The magical reactive component framework for Django ✨
wave - Realtime Web Apps and Dashboards for Python and R
django-htmx - Extensions for using Django with htmx.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
turbo - The speed of a single-page web application without having to write any JavaScript
DeathStrandingPorteria - A "Porter-pedia" for Porters of Death Stranding
Phoenix - Peace of mind from prototype to production
RIG - Create low-latency, interactive user experiences for stateless microservices.
htmx - </> htmx - high power tools for HTML
cumulocity-app-builder - The Application Builder for Cumulocity provides a simple, coding-free way to create new applications inside Cumulocity. Application Builder is an open-source tool for you to create web applications in a no-code environment. Created by Global Presales.
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications