Go to file
Ken-Håvard Lieng 7d97d10e76 Open dm tab on /msg 2020-05-06 04:50:27 +02:00
assets Open dm tab on /msg 2020-05-06 04:50:27 +02:00
client Open dm tab on /msg 2020-05-06 04:50:27 +02:00
commands Add vscode to config command editor stack and enable passing in an arbitrary editor 2020-05-01 04:31:20 +02:00
config Add auth config struct and restructure social auth provider config to enable iteration and adding other providers 2020-05-01 04:35:26 +02:00
pkg Sleep before first reconnect attempt 2020-05-05 01:35:05 +02:00
server Log direct messages and keep track of open direct message tabs 2020-05-06 04:19:55 +02:00
storage Log direct messages and keep track of open direct message tabs 2020-05-06 04:19:55 +02:00
vendor Convert withModal to useModal 2020-05-03 09:05:16 +02: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 .goreleaser.yml 2020-04-30 08:16:06 +02:00
.travis.yml Turn modules off when installing go-bindata on travis 2020-04-20 02:07:12 +02:00
Dockerfile Embed version info in docker build 2018-12-02 07:39:23 +01:00
LICENSE
README.md Update gulp instructions in README 2020-04-24 03:04:46 +02:00
config.default.toml Replace Freenode with freenode in default config 2020-05-04 21:36:21 -07:00
go.mod Convert withModal to useModal 2020-05-03 09:05:16 +02:00
go.sum Convert withModal to useModal 2020-05-03 09:05:16 +02: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

go install

Client

This requires Node.js and yarn.

Fetch the dependencies:

GO111MODULE=off go get github.com/jteeuwen/go-bindata/...
yarn global add gulp-cli
cd 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