Go to file
Ken-Håvard Lieng 613d9fca6e Send irc features to the client 2019-01-27 08:53:07 +01:00
assets Send irc features to the client 2019-01-27 08:53:07 +01:00
client Send irc features to the client 2019-01-27 08:53:07 +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 Send irc features to the client 2019-01-27 08:53:07 +01:00
server Send irc features to the client 2019-01-27 08:53:07 +01:00
storage Send irc features to the client 2019-01-27 08:53:07 +01:00
vendor Update dependencies 2019-01-23 08:52:17 +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
Dockerfile Embed version info in docker build 2018-12-02 07:39:23 +01:00
LICENSE
README.md Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +01:00
config.default.toml Add headers config, closes #25 2018-12-20 11:51:31 +01:00
go.mod Update dependencies 2019-01-23 08:52:17 +01:00
go.sum Update dependencies 2019-01-23 08:52:17 +01:00
install.sh Embed version info in docker build 2018-12-02 07:39:23 +01:00
main.go Remove gomaxprocs call 2016-03-09 23:05:13 +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 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