Hacker GitHub

← All repos

yudai/gotty

View on GitHub ↗ ★ 19,555 Go

Share your terminal as a web application

30 mentions on Hacker News by 26 people: 8 stories, 22 comments · first 2015-08-16 · latest 2025-12-01

Mentions per year 30 mentions · busiest year 2017 (7)
20082026
  1. We used to run terminal in browser using https://github.com/yudai/gotty and the entire dev team remapped their Ctrl+w to Ctrl+`. We did frontend and backend development with this setup almost for 1.5 years. Muscles memory and till this…
    comment by melvinodsa · 2025-12-01 · in Advent of Sysadmin 2025
  2. …I use their computers' screens and keyboards, but I'm coding on my phone through a browser tab and https://github.com/yudai/gotty Beats the hell out of trying to be productive on Windows.
  3. I’ve been using GoTTY ( https://github.com/yudai/gotty ) to do the same thing, combined with ngrok or Cloudflare tunnels to get a publically accessible URL. To enable multiplayer mode, just need screen/tmux.
  4. …windows machines (I'm no fan of Microsoft either), and I wanted a big screen and keyboard, so I ran https://github.com/yudai/gotty on my phone and used a browser on the windows box to access the nix-enabled shell on my phone, which had…
    comment by __MatrixMan__ · 2023-02-15 · in Apple doesn’t want you developing hobby apps
  5. …and terminal to your browser, and a simple sandbox. [0] https://rkeene.dev/js-repl/?arg=bash [1] https://github.com/yudai/gotty
    comment by rkeene2 · 2022-01-06 · in Unix in the Browser Tab
  6. …started should be relatively straight forward. [1]: https://github.com/xtermjs/xterm.js/ [2]: https://github.com/yudai/gotty
    comment by philipswood · 2021-09-03 · in Web-based editor
  7. …before to share a screen with coworkers is to work in tmux and start a web tty service like gotty ( https://github.com/yudai/gotty ). After you resolve the standard network issues (port visibility and whatnot) you just need to configure it…
  8. …a few decades, starting from teleprinters[2] to text terminals[3] and terminal emulators[4]. [0] https://github.com/yudai/gotty [1] https://en.m.wikipedia.org/wiki/Terminal_emulator [2] https://en.m.wikipedia.org/wiki/Teleprinter [3]…
    comment by pcr910303 · 2019-11-26 · in Cloudmacs: access your Emacs in browser
  9. this seems to be using gotty [1] to run spacemacs and serve it up as a web app. [1]: https://github.com/yudai/gotty
    comment by nuggien · 2019-11-25 · in Cloudmacs: access your Emacs in browser
  10. …in the same camp as you are, a funny method that would "kinda work" would be to use something like https://github.com/yudai/gotty but I feel like that's a pretty hacky solution haha.
  11. …but have come across them: * https://github.com/vitorbaptista/shellshare * https://tmate.io/ * https://github.com/yudai/gotty - actually gives you a tty in a browser * https://github.com/dtinth/ttycast (edit: formatting)
  12. This has been done: https://github.com/yudai/gotty
  13. I use gotty https://github.com/yudai/gotty , which works great.
  14. Some related tools: https://github.com/yudai/gotty#alternatives
  15. …I've used tmux together with it, to show a simple thing to a friend and it worked quite well. https://github.com/yudai/gotty
    comment by Moter8 · 2018-02-07 · in Visual Studio Live Share Preview
  16. Check out gotty https://github.com/yudai/gotty maybe that's what you want.
    comment by rmetzler · 2017-11-01 · in Show HN: /usr/bin/htop
  17. GoTTY does that for every console app: https://github.com/yudai/gotty
    comment by egeozcan · 2017-11-01 · in Show HN: /usr/bin/htop
  18. I think gotty is similar: https://github.com/yudai/gotty I'm not really sure what the differences are.
  19. https://github.com/yudai/gotty is a good place to start figuring out how they're implemented (tty streaming server + termjs type thing).
    comment by Goopplesoft · 2017-06-01 · in Skylake now GA on GCE
  20. How would that compare to GoTTY[1]? [1] https://github.com/yudai/gotty
  21. …outside of the scope of a weekend project :) Besides, gotty might be better suited for that task: https://github.com/yudai/gotty
  22. https://github.com/yudai/gotty/blob/master/app/app.go#L73-L1... ^ Those are the key lines really. It's running the command in a pseudo-terminal, capturing the output (as text) and sending it over a web socket.