this post was submitted on 07 Sep 2023
53 points (98.2% liked)

Python

6347 readers
2 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

With the textual-web command you can publish any Textual app on the web, making it available to anyone you send the URL to. This works without creating a socket server on your machine, so you won't have to configure firewalls and ports to share your applications.

top 5 comments
sorted by: hot top controversial new old

Cool project. I will definitely try using this when building my next TUI tool.

Does anything like this exist for rust?

[–] F04118F@feddit.de 1 points 1 year ago* (last edited 1 year ago) (2 children)

How does the connectivity work? Is there some sort of Cloudflare-like VPN-ish gateway that they host?

[–] tpWinthropeIII@lemmy.world 4 points 1 year ago

I went over to their Discord server and here's what I was able to glean.

I gather they run a web-facing server which accepts text I/O from your Textual apps running on your personal machine or server, probably as a daemon. The connection between these two is via normal TCP/IP connections which your firewall already allows. Your Textual apps receive keyboard and mouse events and text.

They claim it should be "essentially free" for hobby use.

The text stream between your apps and their servers will eventually be (or are) encrypted.

[–] Andy@programming.dev 3 points 1 year ago

Good questions. A few hours ago this issue was responded to with:

We will add a section explaining how it works on the README.

We plan to have an "on prem" solution at some point. The SaaS offering will allow us to refine the produce [sic] first.

[–] lambda@programming.dev 1 points 1 year ago

Super cool project! Thanks for sharing!