Go to file
Ken-Håvard Lieng 69d5f41270 Fix message rendering 2018-11-05 07:11:15 +01:00
assets Fix message rendering 2018-11-05 07:11:15 +01:00
client Fix message rendering 2018-11-05 07:11:15 +01: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 Code split the client, update dependencies 2018-11-04 07:23:07 +01: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-31 15:49:41 +07: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 Code split the client, update dependencies 2018-11-04 07:23:07 +01:00
go.sum Code split the client, update dependencies 2018-11-04 07:23:07 +01: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 start the frontend:

gulp

and 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