kevinhughes27 / dotfiles

4 stars 1 forks source link

Pair Programming Setup #5

Closed kevinhughes27 closed 3 years ago

kevinhughes27 commented 3 years ago

This is the start of a new pair programming tool for myself built on top of tmux and ttyd. It allows for directly sharing a tmux session without needing to exchange ssh keys or create users, only a link and one time password need to be exchanged. All the client needs is a modern web browser.

I am able to easily update a reverse proxy to map the pairing server port to my domain. Other users could use a tunneling tool like ngrok for the same result (this could even be incorported into the scripts).

For a completely polished experience I also forked and modified ttyd (https://github.com/tsl0922/ttyd/compare/main...kevinhughes27:pair-html?expand=1) to serve and load my font with dev icons. The pair.html file commited here is the result of building the ttyd frontend with those options and copying the inline.html file in the ttyd/html/dist folder. This allows me to use the customization without needing a fully custom build of ttyd although I may still need to update this html file from time to time.