ArthurSonzogni / FTXUI

:computer: C++ Functional Terminal User Interface. :heart:
MIT License
6.49k stars 392 forks source link

[Feature Req] A static UI parser based on FTXUI #293

Open SAtacker opened 2 years ago

SAtacker commented 2 years ago

Hi, Arthur (not tagging you as you are busy at this moment), I had an idea to make a quick Static UI tool built on top of FTXUI Features:

ArthurSonzogni commented 2 years ago

Hello Shreyas!

This might be a lovely idea, depending on what this is at the end. Would you have some ideas about how it could look like?

SAtacker commented 2 years ago

Basically the idea is to generate some customisable UI (although static or in future hooks for events). An example could be Whiptail.

ArthurSonzogni commented 2 years ago

So your goal is to avoid compiling C++, but let user's to define some textual UI themselve. The UI would be interpreted.

That's a good thing to have, but the difficulty is to make a language that is nice to use and sufficiently expressive.

SAtacker commented 2 years ago

Yes I agree, it's difficult and even more so with event based/ hooks. We need concepts of Signals for events, State of component and communication between events I guess (context: Qt). User interface markup language - Wikipedia.

omeid commented 1 year ago

Sounds like HTML to me.

SAtacker commented 1 year ago

https://github.com/SAtacker/quick-ftxui ongoing, maybe it will complete in Summers next year If possible have a look @ArthurSonzogni (sorry just saw that you are sick, take care) , thanks