Setup console interface with Textual console/TUI framework
- Maintain both CLI and Console interfaces using same backend ## Prerequisites - Read documentation, tutorials, get familiar with the framework, try PoC ## Implementation - [ ] Install `textual` and [`textual-dev`](https://github.com/Textualize/textual-dev) - [ ] Find a way to have substrate client passed for the CLI and Console interfaces - [ ] Sketch the views - [ ] Implement the interfaces - [ ] Write tests ### Design views of the interface - [Excalidraw](https://excalidraw.com/) · [YunoHost package](https://github.com/YunoHost-Apps/excalidraw_ynh) - [Penpot](https://penpot.app/) · [YnH pkg](https://github.com/YunoHost-Apps/penpot_ynh) ### Testing - [Testing How-to](https://textual.textualize.io/guide/testing/) - [pytest-asyncio](https://pypi.org/project/pytest-asyncio/) - [pytest-textual-snapshot](https://github.com/Textualize/pytest-textual-snapshot) ## Launcher - [ ] Create launcher, like for Vim, Neovim, Emacs, Ranger, so it can be started from GNOME Shell for instance ## Later - Ploting: https://github.com/Textualize/textual-plotext --- ### About Textual - [Repository](https://github.com/Textualize/textual) - [Website](https://textual.textualize.io/) - [Repology](https://repology.org/badge/vertical-allrepos/python:textual.svg) - [Libraries/plugins](https://github.com/Textualize/transcendent-textual) - [Textual: The Definitive Guide](https://dev.to/wiseai/textual-the-definitive-guide-part-1-1i0p) - [CSS in the Terminal with Python and Textual](https://www.willmcgugan.com/blog/tech/post/css-in-the-terminal-with-python-and-textual/) - [Crash course on Fedora Magazine](https://fedoramagazine.org/crash-course-on-using-textual/) ### Videos - [A Look At – and Inside – Textual](https://www.youtube.com/watch?v=1kTWxamIJ_k) - [Terminal magic with Rich and Textual - Talk Python Live Stream](https://www.youtube.com/watch?v=laWyjfzur28) - [CSS within the terminal with Python and Textual](https://www.youtube.com/watch?v=bXgIj2cXaZ4) - [Will McGugan](https://www.youtube.com/c/WillMcGugan/videos)
issue