WebTTY allows you to share a terminal session from your machine using WebRTC. You can pair with a friend without setting up a proxy server, debug servers behind NATs, and more. WebTTY also works in-browser.
You can create localhost server to publish everyone.
Your local webserver or game server or you can connect Raspberry pi
https://localtonet.com/ you can use this website. Its supports HTTP,TCP and UDP
And its free. Without time limits.This app doesn't have any features at the moment.
warp is a secure and simple terminal sharing that lets you share your terminal with a simple "warp open" command. It's not a terminal client at this point, but simply multiplexes stdin/stdout to raw ptys between host and clients.
The project seems no longer developed. Last version, 0.0.3, released in May 2017, can be still downloaded from GitHub.