detfalskested

Announcing `cursebox-ssh-server`

I have packaged cursebox – my TUI for the Lyrion Music Server/Squeeezboxes – in a Docker container, which opens up new possibilities.

It's called cursebox-ssh-server and is basically cursebox running behind an SSH server. Check the README for further details on how to use it.

Quoting myself from the README:

While this all may seem like an academic exercise in SSH and containerisation, and a bunch of very long commands that nobody ever wants to spell out in order to skip to the next song on their Squeezebox, it actually fits nicely into the setup of a more advanced terminal user. Here's my own use case:

I have LMS running on my home server.

I use tmux extensively, and usually have an open tmux window with an SSH session connected to my home server. In this session, I forward the relevant LMS ports (3483, 9000, 9090) from my home server to the local computer. Opening this session window is bound to a keyboard shortcut in tmux.

The forwarded ports allow me to use Squeezelite on my laptop to listen to music from LMS, no matter where I am in the world, as long as I am connected to the internet.

In my configuration for tmux, I have also made a keyboard shortcut to run Cursebox in a popup, with the forwarded port from my home server further forwarded to the Cursebox SSH server.

Thus, with a few muscle-memorised keypresses, I can launch cursebox (running in a remote container) to control the locally running Squeezelite. Or my physical Squeezeboxes whem I'm at home.