Muxile is a tmux plugin that lets you move your running tmux session to your phone, without needing any app. Use it to keep watching a long-running process, to re-run it if it fails, or to just control your terminal remotely. You can also be used to quickly share your session with someone.
https://user-images.githubusercontent.com/55081/128633692-59978412-d319-4059-b935-779072446d93.mp4
./muxile.tmux
tmux
sessionprefix
+T (Shift+T) to share your tmux sessionCtrl+C
)prefix
+T (Shift+T) to stop the session sharingpacman -S qrencode
, apt install qrencode
)pacman -S jq
, apt install jq
)pacman -S websocat
)Muxile uses a Cloudflare Worker that serves as WebSocket server and allows the communication between tmux and the remote viewer. It uses websocat
to send data from and to tmux over UNIX sockets. The backend code is here and you're free to run your own if you want.