Go to file
2017-05-10 05:44:59 +02:00
assets Add support for owner, admin and halfop user modes 2017-05-10 03:47:34 +02:00
client Add support for owner, admin and halfop user modes 2017-05-10 03:47:34 +02:00
commands Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
irc Fix tests 2017-04-13 01:59:16 +02:00
letsencrypt Upgrade server dependencies, manage them with govendor 2017-04-18 03:02:51 +02:00
server Add message scrollback 2017-05-02 23:21:25 +02:00
storage Prioritize user modes properly serverside 2017-05-10 05:44:59 +02:00
vendor Use firebase push IDs for messages 2017-04-20 05:32:22 +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 Add yarn-error.log to .gitignore 2017-04-30 02:22:56 +02:00
.travis.yml Remove go vendor environment variable from travis 2017-04-23 08:52:05 +02:00
config.default.toml Add configurable HSTS and some other headers 2016-01-25 22:41:54 +01:00
docker.sh Switch to redux and webpack 2015-12-29 00:34:32 +01:00
Dockerfile Let's Encrypt 2016-01-04 19:26:32 +01:00
LICENSE
main.go Remove gomaxprocs call 2016-03-09 23:05:13 +01:00
README.md Add HTTP/2 push 2017-04-15 04:48:24 +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.

Fetch the dependencies:

npm install -g gulp
go get github.com/jteeuwen/go-bindata/...
cd $GOPATH/src/github.com/khlieng/dispatch/client
npm install

Run the build:

gulp build

The server needs to be rebuilt after this.

For development with hot reloading enabled run:

gulp
dispatch --dev

Libraries

The libraries this project is built with.

Server

Client