Skip to content

khlieng/dispatch

Repository files navigation

dispatch Build Status

Dispatch

Features

  • Searchable history
  • Persistent connections
  • Multiple servers and users
  • Automatic HTTPS through Let's Encrypt
  • Single binary with no dependencies
  • DCC downloads
  • SASL
  • Client certificates

Usage

There is a few different ways of getting it:

1. Binary

2. Go

This requires a Go environment, version 1.11 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 \
  --restart unless-stopped \
  -d 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

IRC Channel

#dispatch @ irc.libera.chat

Libraries

The libraries this project is built with.

Server

Client

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs