title: Home

Mercury WebSocket Message Broker

% my ( $latest ) = $site->app( 'blog' )->recent_posts( 1 ); % if ( $latest ) { % my ( $version ) = $latest->title =~ /(v\d+[.]\d+(?:[.]\d+)?)/; Latest release: <%= $version %> (<%= $latest->date->strftime( '%Y-%m-%d' ) %>) % }

Mercury is a simple message broker that allows for some common messaging patterns using WebSockets. This allows communication between web browsers and other WebSocket-capable programs.

Features

Demo

Try out the live demo of Mercury

Installing

Install the latest version of Mercury from CPAN:

curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org -n Mercury

Getting Started

To use the example application locally, run:

mercury broker

See the mercury documentation for more information.

Help