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.

  • @[email protected]
    link
    fedilink
    51 year ago

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

    Does anything like this exist for rust?

  • @[email protected]
    link
    fedilink
    1
    edit-2
    1 year ago

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

    • @tpWinthropeIII
      link
      English
      51 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]OP
      link
      fedilink
      31 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.