tool that facilitates connection between bullet and web-application
JavaScript Erlang
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


jacket is a library that utilizes bullet library in order to abstract and facilitate communication between Erlang and Javascript applications.

Such a connection allows Erlang programmers to use Erlang data types in their web applications and have a sense that a web client is one the processes in Erlang runtime. This is because an Erlang-side behaviour is implemented in a way similiar to the gen_server's behaviour implementation (including state persistence between callbacks calls) and no further data conversion (like to/from JSON) is necessary.


See examples directory for usage examples.

Please type


to start the example. Then visit http://localhost:8080.


This example uses 3 different transports in a Javascript-side (WebSockets, SSE and XHR longpolling) and shows how handler state is kept between events in all 3 cases.