minisocket/minisocketx — reverse-engineered prompt
Reverse engineered prompt
Build me a small tool called MinisocketX that lets someone share a live terminal session with another person through a browser, without SSH, port forwarding, or giving out server credentials.
I want the host to run one install command, have it start a background client, open a real shell, and print a private share link. Anyone with that link can watch and type in the terminal from a normal web browser. The terminal data should be end to end encrypted, with the server only relaying encrypted WebSocket messages. Put the secret key in the URL fragment so it never gets sent to the server.
Please include a Go relay server, a Go client daemon for Linux and macOS, and a simple web terminal page. The client should reconnect automatically, keep a session file, support custom shell and terminal size, and optionally send the share URL to Telegram. Also include an installer script, Dockerfile, Makefile build targets, and basic deploy configs for systemd and nginx. Look up current docs online if you need to.
Want more depth? Deep Reverse