Go to file
Ken-Håvard Lieng 675e350da3 Use Cache-Control immutable and SameSite Lax 2018-10-19 02:11:12 +02:00
assets Avoid dispatching unneeded socket actions 2018-10-16 01:04:49 +02:00
client Avoid dispatching unneeded socket actions 2018-10-16 01:04:49 +02:00
commands Add command line option for server binding 2018-08-22 09:16:44 +02:00
pkg Use Cache-Control immutable and SameSite Lax 2018-10-19 02:11:12 +02:00
server Use Cache-Control immutable and SameSite Lax 2018-10-19 02:11:12 +02:00
storage Add colored nicks settings option 2018-10-15 08:56:17 +02:00
vendor Update dependencies 2018-10-06 08:09:29 +02:00
.dockerignore Add dockerfile, add data directory flag 2015-05-29 01:59:08 +02:00
.editorconfig Switch to redux and webpack 2015-12-29 00:34:32 +01:00
.gitignore Improved Dockerfile to properly build and ship a runtime image 2018-05-17 15:44:15 -07:00
.travis.yml Drop go 1.9 support 2018-10-06 09:17:59 +02:00
Dockerfile Improved Dockerfile to properly build and ship a runtime image 2018-05-17 15:44:15 -07:00
LICENSE Add license 2015-05-01 23:50:06 +02:00
README.md Update readme 2018-10-07 01:27:26 +02:00
config.default.toml Add option to choose which address to listen on, closes #31 2018-08-22 00:31:29 +02:00
go.mod Update dependencies 2018-10-06 08:09:29 +02:00
go.sum Update dependencies 2018-10-06 08:09:29 +02:00
main.go Remove gomaxprocs call 2016-03-09 23:05:13 +01:00
release.sh Add release script 2016-01-20 00:32:33 +01:00

README.md

dispatch Build Status

Try it!

Dispatch

Features

  • Searchable history
  • Persistent connections
  • Multiple servers and users
  • Automatic HTTPS through Let's Encrypt
  • Client certificates

Usage

There is a few different ways of getting it:

1. Binary

2. Go

This requires a Go environment, version 1.10 or greater.

Fetch, compile and run dispatch:

go get github.com/khlieng/dispatch
dispatch

To get some help run:

dispatch help

3. Docker

docker run -p <http port>:80 -p <https port>:443 -v <path>:/data khlieng/dispatch

Build

Server

cd $GOPATH/src/github.com/khlieng/dispatch
go install

Client

This requires Node.js and yarn.

Fetch the dependencies:

go get github.com/jteeuwen/go-bindata/...
yarn global add gulp@next
cd $GOPATH/src/github.com/khlieng/dispatch/client
yarn

Run the build:

gulp build

The server needs to be rebuilt to embed new client builds.

For development with hot reloading enabled run:

gulp
dispatch --dev

Libraries

The libraries this project is built with.

Server

Client

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs