Go to file
2018-12-17 12:45:33 +01:00
assets Handle messages with no content, improve prepend perf 2018-12-15 11:09:57 +01:00
client Add date marker tests 2018-12-15 11:20:49 +01:00
commands Print go version 2018-12-15 11:30:29 +01:00
config Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +01:00
pkg Dont redirect private IPs and localhost 2018-12-17 12:45:33 +01:00
server Dont redirect private IPs and localhost 2018-12-17 12:45:33 +01:00
storage Add colored nicks settings option 2018-10-15 08:56:17 +02:00
vendor Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +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 Use correct gulp version on travis 2018-12-11 11:17:05 +01:00
config.default.toml Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +01:00
Dockerfile Embed version info in docker build 2018-12-02 07:39:23 +01:00
go.mod Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +01:00
go.sum Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +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