-
Hello, I've written a review of NiceGUI and I may have the wrong idea in some places. Regarding authentication and authorization, I have written the following:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Yes, NiceGUI currently does not touch these features - it's a GUI library (narrower scope), not a web framework. Hopefully one day someone will write some plugins (nicegui-auth, anyone?). |
Beta Was this translation helpful? Give feedback.
-
@me21 is right: NiceGUI is primarily a library for building GUIs in Python. By rendering to the browser we not only get network access for free, but can use mighty web frameworks like Vue and Quasar as well. The result is a library that almost feels like a "fully featured" web application. And maybe - depending on the definition - it already is. The underlying Uvicorn and Starlette already give plenty possibilities. But we have indeed plans for moving further towards web applications. We're currently experimenting with a core implementation without JustPy to remove one major indirection and make us more independent in our choice of central building blocks. E.g. we're thinking about using a FastAPI server instead of plain Starlette. Besides that we will automatically upgrade from Vue 2 to Vue 3 and Quasar 1 to Quasar 2, making NiceGUI more future-proof. |
Beta Was this translation helpful? Give feedback.
-
Right now NiceGUI is limited by some design choices in JustPy. For example the "catch all" route stops us from applying the standard Starlette middleware for authentication. As you mentioned in your very good review this is currently an obstacle to become a full featured web framework. But stay tuned. The future is bright. I'm already grinning whenever I think about the stuff we are currently cooking. |
Beta Was this translation helpful? Give feedback.
-
@metaperl we just released NiceGUI 1.0: https://github.com/zauberzeug/nicegui/releases/tag/v1.0.0 🎉 Now NiceGUI is build on top of FastAPI which allows you to write fully featured web applications. Please have a look and tell us what you think. |
Beta Was this translation helpful? Give feedback.
@metaperl we just released NiceGUI 1.0: https://github.com/zauberzeug/nicegui/releases/tag/v1.0.0 🎉
Now NiceGUI is build on top of FastAPI which allows you to write fully featured web applications. Please have a look and tell us what you think.