Go to file
2019-01-11 02:19:57 +01:00
assets Add react-modal, replace confirm usage with it 2019-01-05 07:08:34 +01:00
client Add react-modal, replace confirm usage with it 2019-01-05 07:08:34 +01:00
commands Print go version 2018-12-15 11:30:29 +01:00
config Add headers config, closes #25 2018-12-20 11:51:31 +01:00
pkg Use strings.Replacer to unescape tags 2019-01-11 02:19:57 +01:00
server Pull https handling out into a new package 2018-12-31 03:33:05 +01:00
storage Add colored nicks settings option 2018-10-15 08:56:17 +02:00
vendor Update dependencies 2018-12-31 02:20:22 +01:00
version Print prettier version info 2018-11-22 11:31:02 +01:00
.dockerignore Update dotfiles 2018-12-06 11:05:10 +01:00
.editorconfig Switch to redux and webpack 2015-12-29 00:34:32 +01:00
.gitignore Update dotfiles 2018-12-06 11:05:10 +01:00
.goreleaser.yml Update dotfiles 2018-12-06 11:05:10 +01:00
.travis.yml Add go 1.12beta1 travis build 2018-12-21 01:53:35 +01:00
config.default.toml Add headers config, closes #25 2018-12-20 11:51:31 +01:00
Dockerfile Embed version info in docker build 2018-12-02 07:39:23 +01:00
go.mod Update dependencies 2018-12-31 02:20:22 +01:00
go.sum Update dependencies 2018-12-31 02:20:22 +01:00
install.sh Embed version info in docker build 2018-12-02 07:39:23 +01:00
LICENSE Add license 2015-05-01 23:50:06 +02:00
main.go Remove gomaxprocs call 2016-03-09 23:05:13 +01:00
README.md Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +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.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 start the frontend:

gulp

And then the backend in a separate terminal:

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