Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
View your Emacs buffers in a browser. Live.
Clojure Emacs Lisp
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources/public/css
src-cljs/webmacs
src/webmacs
test/webmacs/test
.gitignore
.travis.yml
README.org
TODO.org
project.clj
webmacs.el

README.org

Webmacs

Description

Webmacs is a package which lets other people watch you editing stuff in Emacs on every modern web browser.

Usage

Server Side

The server is written in Clojure. Currently no pre-built jar is available, so you need leiningen.

$ git clone https://github.com/the-kenny/webmacs.git
$ cd webmacs
$ lein run

This will run a local webserver on port 3000. The entry point for Emacs is port 9881.

You can change these defaults via environment variables EMACS_PORT and WEB_PORT.

Emacs Side

  1. Put webmacs.el somewhere in your load path
  2. Load webmacs.el
(require 'webmacs)
  1. Connect to Server
M-x webmacs-open-connection RET RET RET

(Optional: Specify other values for host and port)

  1. Enable webmacs-mode in every buffer which you want to publish
M-x webmacs-mode

Browser

Published buffers are referenced via their name:

http://localhost:3000/emacs/<buffer-name>

Future Goals

Webmacs is in pretty rough shape. A major feature missing is font-lock (syntax highlighting), and many other convenient things like listing available buffers isn’t implemented yet.

See TODO.org for things that needs to be done.

License

Copyright © 2012 Moritz Ulrich

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.