starfx VS nicegui

Compare starfx vs nicegui and see what are their differences.

starfx

A modern approach to side-effect and state management for web apps. (by neurosnap)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
starfx nicegui
6 179
80 7,585
- 7.2%
9.2 9.9
6 days ago about 13 hours ago
TypeScript Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

starfx

Posts with mentions or reviews of starfx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.
  • FastUI: Build Better UIs Faster
    12 projects | news.ycombinator.com | 1 Mar 2024
    Ah! A real criticism of FE development, I agree with your problem statement.

    When you jump into the world of single-page applications, things get complex pretty quickly, because the use case for needing an SPA pushes the web app into a full desktop application.

    Ultimately, for a highly interactive and dynamic "desktop-class" user experience, there is added complexity. I think that's why so much movement within the FE world has moved away from "SPA for everything" and into these mixed dynamic apps. Islands, React Server Components, NextJS, they all help create a middleground between a document-based website with no dynamic elements with a full blown desktop app experience. They all have real tradeoffs, in particular adding an entirely new backend service to serve the front end.

    For many projects, react + react-query is probably enough.

    Having said that, my argument from https://bower.sh/dogma-of-restful-api still stands: when you build an API that is RESTful (1:1 mapping between endpoint and entity) you are unknowingly pushing the complexity of data synchronization to the FE, which requires a well thought out ETL pipeline.

    This probably doesn't help my case but I've been building a simplified middle-layer for react to bridge the gap between react-query and full blown SPA: https://starfx.bower.sh

  • Show HN: Starfx – A modern approach to side-effect and state management in UI
    3 projects | news.ycombinator.com | 1 Mar 2024
  • Effection 3.0 – Structured Concurrency and Effects for JavaScript
    3 projects | news.ycombinator.com | 18 Dec 2023
    `redux-saga` maintainer here.

    I've been using `effection` to build a replacement for `redux-saga` over at https://github.com/neurosnap/starfx

    Effection has demonstrated to me how truly powerful delimited continuations are and why structured concurrency is an incredible asset for anything that requires async flow control -- basically everything in TS/JS.

    I know sometimes it's hard to imagine why someone would need structured concurrency or care about delimited continuations for a front-end application, but this is a game changer in terms of expressing async flow control.

    Some things to note about Effection:

    - API surface area is small https://github.com/thefrontside/effection/issues/851

    - It tries to stay as close to JS constructs as possible so it will feel very familiar

    - Resource cleanup is automatic (when a function passes out of scope all descendent tasks are shut down automatically)

    - End-user doesn't need to think about delimited continuations

    The only leap users need to "deal with" coming from async/await is the syntax.

        import { main, call } from "effection";
  • Internals of Async / Await in JavaScript
    5 projects | news.ycombinator.com | 1 Sep 2023
    - https://github.com/thefrontside/continuation

    - https://github.com/thefrontside/effection/tree/v3

    - https://github.com/neurosnap/starfx

    The last one intends to replace redux-saga using DCs.

    Here’s a presentation I gave recently talking about DCs in typescript: https://youtu.be/uRbqLGj_6mI?si=XI0JNMKMoO2VHMvM

  • Philosophy of Coroutines
    7 projects | news.ycombinator.com | 1 Sep 2023
    A couple of us have been experimenting with deliminited continuations and I think it’s gonna take off soon:

    https://youtu.be/uRbqLGj_6mI?si=kgKKjpCnehJ9bpIG

    https://github.com/neurosnap/starfx

  • Observable API Proposal
    6 projects | news.ycombinator.com | 28 Jul 2023
    I feel the same way which is why I decided to help maintain the project. Async flow control is very tricky even in js–land. Having watchers live inside of a while-loop is a powerful construct that lends itself to interest flow control patterns.

    I'm also in the process of rebuilding redux-saga but without the redux part: https://github.com/neurosnap/starfx

    It's still in alpha stage, but it is very reminiscent of redux-saga.

nicegui

Posts with mentions or reviews of nicegui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-01.
  • FastUI: Build Better UIs Faster
    12 projects | news.ycombinator.com | 1 Mar 2024
    I was looking at this space and nicegui seemed like the best ootb experience.

    https://nicegui.io/

  • Show HN: Hyperdiv – Reactive, immediate-mode web UI framework for Python
    9 projects | news.ycombinator.com | 20 Feb 2024
    Dash is similar in spirit, as a "build web UIs with Python" framework. Dash seems more similar to nicegui (https://nicegui.io) architecturally than to Hyperdiv. Like nicegui, it builds a static dom that is then mutated via callbacks or data bindings.

    By contrast, Hyperdiv lays out UI declaratively based on state, and when state changes, the app re-runs, generating an updated UI. Streamlit and Hyperdiv seem to work similarly, though I'm not sure how Streamlit handles state and state-based layout.

  • PysimpleGUI
    10 projects | news.ycombinator.com | 8 Dec 2023
    For native GUI, DearPyGui[0] as modern as you can.

    For browser web-based GUI, you can use nicegui[1]

    [0] -- https://github.com/hoffstadt/DearPyGui

    [1] -- https://github.com/zauberzeug/nicegui

  • Python GUI libraries recommendations?
    1 project | /r/pythontips | 6 Dec 2023
  • Learning building webpages and websites in Python
    3 projects | /r/learnprogramming | 6 Dec 2023
    I want to bring to attention a set of frameworks that make webdevelopment using Python simple and fun. The popular opinion maybe that webpages developed with Python maybe slow. But this is not the case. Do checkout https://github.com/ofjustpy/ofjustpy/, https://github.com/zauberzeug/nicegui/ and https://github.com/justpy-org/justpy . All these frameworks are build on top of Starlette and make web development really easy. If you want simple and ready to use the nicegui is the choice. If you want fast, scalable, and more control then give ofjustpy a try.
  • Updating the progress in UI from run.cpu_bound method
    1 project | /r/nicegui | 5 Dec 2023
  • Moving from Streamlit to Nicegui
    1 project | /r/nicegui | 5 Dec 2023
    Yes, NiceGUI aims for a very gentle learning curve. Coming from Streamlit I suspect your main adaptation will be that in NiceGUI you need to write valid Python code. Streamlit constantly reevaluates your script which feels nice and easy but creates lots of problems down the road. See https://github.com/zauberzeug/nicegui/discussions/21.
  • Show HN: Dropbase – Build internal web apps with just Python
    7 projects | news.ycombinator.com | 5 Dec 2023
    Auth is a big limitation. It's not a built-in component, they have [an example](https://github.com/zauberzeug/nicegui/blob/main/examples/aut...) using the FastAPI layer for auth, but I haven't had time the time to try implementing it. It's definitely not something you get out of the box with NiceGUI.

    For scaling, I am viewing it mostly as an internal tool builder. I wouldn't recommend it for external applications. So as far as scaling an internal app I think it works fine. [Their website](https://nicegui.io) is built with NiceGUI, and it works fine, but you can feel the lag occasionally on some of their larger demo pages.

  • *FOLDER* picker, not file picker?
    1 project | /r/nicegui | 1 Dec 2023
  • Didn't want to click on refresh to see updates, this is what I did!
    2 projects | dev.to | 15 Nov 2023
    Well, I was at PyCon Ireland last weekend and I missed the NiceGUI talk. I hear postive things about it and anything shiney and anything frontend-related always catches my attention (although I admit talking to a friend when I missed this talk was just as fun, and it was worth it).

What are some alternatives?

When comparing starfx and nicegui you can also consider the following projects:

effection - Structured concurrency and effects for JavaScript

reflex - 🕸️ Web apps in pure Python 🐍

proposal-async-iterator-helpers - Methods for working with async iterators in ECMAScript

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

libcommon - Library of reusable C++ code

flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.

kal - A powerful, easy-to-use, and easy-to-read programming language for the future.

remi - Python REMote Interface library. Platform independent. In about 100 Kbytes, perfect for your diet.

continuation - Delimited Continuations for JavasScript

dash - Data Apps & Dashboards for Python. No JavaScript Required.

assembly - assembly projects

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production