Whapp-irc – A simple WhatsApp IRC gateway

收藏待读

Whapp-irc – A simple WhatsApp IRC gateway

whapp-irc

a simple whatsapp web irc gateway

information

whapp-irc/replay
server-time

configuration

irc client

To use whapp-irc optimally you should set the following client capabilities:

server-time
whapp-irc/replay

environment variables

All configuration is done using environment variables. Quick and simple.

  • HOST : the IP/domain used to generate the URLs to media files;
  • FILE_SERVER_PORT : the port used for the file httpserver, if not 80 it will be appended to the URLs;
  • IRC_SERVER_PORT : the port to listen on for IRC connections;
  • LOG_LEVEL : normal (default) or verbose , if verbose it will log all communication between whapp-irc and the chromium instance;
  • MAP_PROVIDER : The map provider to use for location messages: can be one of googlemaps (default) or openstreetmap .

docker

It’s recommend to use the docker image. It’s also the only supported version, since this way we have a consistent, predictable and reproducible version.

To run:

docker run -d 
	--name whapp-irc 
	-v PATH_TO_DIR_FOR_DATA_HERE:/root 
	-p 6667:6060 
	-p 3000:3000 
	-e "HOST=IP_ADDRESS_OR_DOMAIN_HERE" 
	lieuwex/whapp-irc

local build

make sure you have go and dep, then clone the repo in your $GOPATH and:

dep ensure
go build
./whapp-irc

support

#whapp-irc on freenode, you can mention lieuwex if nobody responds.

原文 : Github

相關閱讀

免责声明:本文内容来源于Github,已注明原文出处和链接,文章观点不代表立场,如若侵犯到您的权益,或涉不实谣言,敬请向我们提出检举。