3 ms·
Show HN: Textual Web – turn TUIs in to web apps
Hi HN,
This project is designed to take a TUI built with Textual, and turn it in to a web application. It can also do something similar with your shell or other terminal app. You could serve "htop" for example.
There are other projects which do something similar. Textual Web takes a different approach, in that it doesn't need to run as a server. It should work as long as you can make an outgoing tcp/ip connection.
I plan to expose more of the web API to Textual apps. The goal is to have a system to quickly create and deploy UIs with Python. These aren't going to replace web applications any time soon, they are more for backends / dashboards / industrial use cases.
Details on the repo. I'll be around to answer questions.
- abeyer 3y agoThis looks interesting... but also seems like it's trying to do too much magic. Running a textual app as a web app seems useful, but I'd rather not have the whole dependency on an external server, multiple apps bundled together, navigation menus, etc... I'd be way more intrigued to see some of the core of this pulled out in a way that I can just `import` and `serve()` from an existing textual project.