TL;DR: You can browse my website via SSH:
ssh viddrobnic.com
Short answer: because I can. Longer answer: I’ve been working on my TUI RSS reader, simple-rss, for the past couple of months. I also really like the terminal.shop idea. And then it hit me: why not join together the RSS reader and SSH?!
Most of the answer is already given in the previous paragraph. I took my simple RSS reader and made it work via SSH instead of stdio. This is surprisingly a lot easier than it might sound.
While SSH does stand for secure shell and it is mostly used for that, it’s actually a more general network protocol. It can be used for file transfer, tunneling and forwarding TCP ports, X11 connections and more.
Rust has a really cool library for working with SSH, russh. It makes it very easy to write your own SSH server. They even have an example of getting it working with ratatui.
So I took the russh library, made simple rss more general and reusable, and put the two together. The code is available on my GitHub and it’s only 442 lines of code!