Go to file
Ken-Håvard Lieng 3ec450805b Set SameSite Strict on session cookies 2018-10-06 08:56:29 +02:00
assets Use ErrorMessage component 2018-10-06 08:46:28 +02:00
client Use ErrorMessage component 2018-10-06 08:46:28 +02:00
commands Add command line option for server binding 2018-08-22 09:16:44 +02:00
pkg Set SameSite Strict on session cookies 2018-10-06 08:56:29 +02:00
server Preload fonts 2018-09-18 22:09:08 +02:00
storage Add option to hex encode the source IP of a client and use it as the ident, closes #24 2018-08-10 21:02:09 +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.8 support 2018-08-31 04:09:07 +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 Drop go 1.8 support 2018-08-31 04:09:07 +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.9 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