Hacker News new | past | comments | ask | show | jobs | submit login

this seems to be using gotty [1] to run spacemacs and serve it up as a web app.

[1]: https://github.com/yudai/gotty




Yep, should have summarized in a comment, thanks! I've got a 'how does it work section' in readme: https://github.com/karlicoss/cloudmacs#how-does-it-work

- Gotty is a tool that allows accessing any TTY app as a web page (also allows forwarding input)

- We use Gotty to run emacsclient --tty -a '' command, that connects to the existing Emacs instance or starts a new one. That makes the session persist tab closing, connection problems etc.

- Your Emacs configs and files you want to expose to Cloudmacs are mapped in docker-compose.yml file.

Rest of the setup is basically dirty business of setting up Docker container, permissions etc.


Do you know how gotty compares to shellinabox? I use the latter when I cannot use SSH.

There is WeTTY, too, that is based on xterm.js, which seems interesting. This one is listed in the readme of Gotty.


I did some googling and couldn't find any clear differences, so just settled on gotty. If anyone knows, I'd be happy to add it to readme!




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: