Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.04 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.04 KB

TwitchPlaysVim

A loose assembly of open-source packages, container primitives, and hacks to let twitch play vim.

Architecture

For what should be obvious reasons I'm not letting people on the internet control vim running in a shell on any hardware I own.

For now, tpv lives on a vps in the cloud somewhere. That box is running xrdp alongside a small irc client that interacts with xdotool.

These xdotool key presses get sent to a gnome-terminal window that's in a loop docker attaching to a container running vim.

VPS Setup

Prerequisites

  • non root user in sudo
  • xrdp
  • xdotool (with this patch)
  • docker

Steps

# TODO

Possible Improvements

  • dockerise the whole rdp+xdotool nonsense
  • many other things