ttyd

Share your terminal over the web with a simple command

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool for sharing terminal over the web

Commands

ttyd

Examples

Start ttyd server on default port 7681$ ttyd bash
Share terminal on custom port 8080$ ttyd -p 8080 bash
Allow multiple clients to connect simultaneously$ ttyd -m 5 bash