Go to file
Pierre-Alain TORET bd46082cfe Add command line option for server binding
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-08-22 09:16:44 +02:00
assets Update client dependencies 2018-08-22 00:53:45 +02:00
client Update client dependencies 2018-08-22 00:53:45 +02:00
commands Add command line option for server binding 2018-08-22 09:16:44 +02:00
pkg Fix tests 2018-06-18 16:12:19 +02:00
server Add option to choose which address to listen on, closes #31 2018-08-22 00:31:29 +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 Persist, renew and delete sessions, refactor storage package, move reusable packages to pkg 2018-05-31 23:24:59 +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 Add go 1.11rc1 travis build 2018-08-22 00:36:28 +02:00
config.default.toml Add option to choose which address to listen on, closes #31 2018-08-22 00:31:29 +02:00
Dockerfile Improved Dockerfile to properly build and ship a runtime image 2018-05-17 15:44:15 -07:00
LICENSE
main.go Remove gomaxprocs call 2016-03-09 23:05:13 +01:00
README.md Add Sauce Labs credit 2018-05-30 04:42:32 +02:00
release.sh Add release script 2016-01-20 00:32:33 +01:00

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.8 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