Proper CLI by having terminal based GUI
vega-d opened this issue · comments
I found this neat little library called asciimatics.
https://github.com/peterbrittain/asciimatics
It can dynamically create ui inside of terminal, supports color displays and mouse input.
If something like pyqt4 or gi is too large of a dependency (though ui would look cooler with them), this lib is fairly smol - around 4 megabytes, while providing at least somewhat good UI
For those looking for a "real" GUI, I made two using large dependencies. You can find them here:
- Using DearPyGUI: https://gist.github.com/DavidoTek/dec8cb0ce38b1e69c12fe178ea3d97cf
- Using PySide6 (AppImage available, ~89MB): https://github.com/DavidoTek/ProtonUp-Qt
I primarily built this tool for people who want to automate the process of installing Proton-GE, So it's crucial that it's possible to interact with protonup via other scripts.
I am working on a Gtk based GUI rn, I couldn't finish it sooner due to irl stuff... I've been working more on it in the past couple of days, hopefully it'll be functional soon.