Forwarding Discord's RPC socket over SSH

1 · Carlos Alexandro Becker · Feb. 2, 2022, midnight
Summary
I’m doing 99% of my coding in a “big” machine instead of my laptop. I do that by SSH’ing into it, hopefully into a tmux session, and coding on Neovim. Neovim has a neat plugin that shows what’re doing as a Discord Rich Presence thing… but, Discord is running on my laptop, so… how can I make this work? Investigating After digging some source and testing a little, I found out that Discord’s bind itself to a socket in one of the following places: /var/run/discord-ipc-0 on iOS; $TMPDIR/discord-ipc-...