@pksmkwe26
on
NeneUI (@neneys/ui)
@neneys/ui - NeneUI
It is an Server-Driven UI Library Which Interpretes TypeScript into an Native Rendered Flutter Widget.
Basically, You can write your Entire App in TypeScript and It gets Rendered Into Native Flutter Widgets without WebView.
Why?
We need Server-Driven UI to ensure that we do not need to update an entire app for a little UI changes or even major overhauls of the App Interface, We could just change it on Server-Side and updated without going through the process of Approval and such.
Major Updates After the Previous Ship
- NeneUI Testing Kit has been buffed with Debug Bar and More Platforms
- Support for WebSocket Rendering
- Web Support (along with SEO PHP for Web Crawlers)
- Memory/GPU Leak issues fixed!
- Advanced & Improved + Detailed Documentation
- Decorated README.md
Documentation
The New Documentation is now written in Docsaurus and hosted in Github Pages at https://kwe26.github.io/neneui/ along with the NeneUI Testing Kit at https://kwe26.github.io/neneui/tester . While it took alot of time documenting each working Widgets but it has now made using @neneys/ui more easier.
New Widgets That were Added
NeneDisplay and NeneNavbottom - Theese Two Widgets Now help you construct an Bottom Bar with Various Pages as Content that can be now switched from one place to another without reloading the entire page.
Layouts and Layout - This allows you to put many Content on Side of Each Other and allow you the drag wheel to drag and arrange the size.
WebSocket Widget - It can also render Widgets over WS live real-time making it an really useful feature.
Some New Action Callbacks were also added such as SOFTRELOAD that softly reloads the UI without changing the states and maintains the UI.
DebugBar
The Testing Kit Now includes and Debug Bar to help Developers Reload the UI or check the #id Declarations and Variables Value
NeneDesktopRuntime
An Desktop Runtime that is WIP but could help replace Electron.js where everything is WebView and sucks alot of ram. But NeneDesktopRuntime can render the Widgets with TypeScript into Native Widgets.
Examples
There are now examples bundled with NeneUI Testing Kit, One is an AI Chat Application and other is called NeneWorld with Pokedex and Weather API and Country API uses to showcase the Widgets
FAQ Page
An FAQ Page has been added to ensure the Users dont get stuck somewhere in the library and could get some reference on it Such as the Linux issue with quickjs where the fix is provided.
Conclusion
There were alot of challenges while making this library with my Laptop dropping to 0.47GHz at random moments and searching the pub.dev docs for shadcn_flutter and upgrading sub-libraries and testing stuff the major headache being the Navigation and Web Support (SEO is done via PHP to show Web Crawlers meangingful HTML to index).
- 19 devlogs
- 45h
- 19.25x multiplier
- 872 Stardust
*