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

Python

6356 readers
10 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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 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?

[–] [email protected] 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.

[–] [email protected] 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.