120

GitHub - minimalchat/daemon: Minimal Chat's API server daemon

 6 years ago
source link: https://github.com/minimalchat/daemon
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Minimal Chat daemon


Minimal Chat is an open source live chat system providing live one on one messaging to a website visitor and an operator.

Minimal Chat is:

  • minimal: simple, lightweight, accessible
  • extensible: modular, pluggable, hookable, composable

Minimal Chat daemon is the central server providing API endpoints for operator extensions like Slack, IRC, etc. It also provides the socket.io endpoints that the web clients connect to when on a Minimal Chat enabled website.

We're glad you're interested in contributing, feel free to create an issue or pick one up but first check out our contributing doc and code of conduct.

Installation

Download the prebuilt binaries available in the releases section or clone the repo and build using Go >=1.6.

> curl -L https://github.com/minimalchat/daemon/releases/download/v0.2.0/daemon-v0.2.0 -o daemon
> chmod +x ./daemon
> ./daemon -host 0.0.0.0 -port 8080

Usage

> daemon
Minimal Chat live chat API/Socket daemon

Find more information at https://github.com/minimalchat/daemon

Flags:
  -cors
    	Set if the daemon will handle CORS
  -cors-origin string
    	Host to allow cross origin resource sharing (CORS) (default "http://localhost:3000")
  -h	Get help
  -host string
    	IP to serve http and websocket traffic on (default "localhost")
  -port int
    	Port used to serve HTTP and websocket traffic on (default 8000)
  -ssl-cert string
    	SSL Certificate Filepath
  -ssl-key string
    	SSL Key Filepath
  -ssl-port int
    	Port used to serve SSL HTTPS and websocket traffic on (default 4443)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK