Go to file
Ken-Håvard Lieng c5a9a5b1c1 Print go version 2018-12-15 11:30:29 +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 Pass in config struct 2018-12-11 10:54:05 +01:00
pkg Dont refresh session keys on bootloader requests 2018-11-08 08:39:47 +01:00
server Pass in config struct 2018-12-11 10:54:05 +01:00
storage Add colored nicks settings option 2018-10-15 08:56:17 +02:00
vendor Update dependencies 2018-12-06 11:03: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
.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
Dockerfile Embed version info in docker build 2018-12-02 07:39:23 +01:00
LICENSE
README.md Use stable readme download links 2018-12-02 11:31:35 +01:00
config.default.toml
go.mod Update dependencies 2018-12-06 11:03:03 +01:00
go.sum Update dependencies 2018-12-06 11:03:03 +01:00
install.sh Embed version info in docker build 2018-12-02 07:39:23 +01:00
main.go

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