whatsapp web <-> irc gateway
whapp-irc is not supported anymore, and probably never will be anymore by me. Feel free to fork.
https://git.theta.eu.org/eta/whatsxmpp or https://github.com/eeeeeta/sms-irc or https://github.com/tulir/mautrix-whatsapp/ are all alternatives.
a simple whatsapp web <-> irc gateway
To use whapp-irc optimally you should set the following client capabilities: -
server-time(this will show the time when the message was sent in whatsapp in your IRC client, instead of when the bridge received it); -
whapp-irc/replay(this will replay all the messages the bridge missed, for example: when the bridge is turned off. The bridges stores the timestamp of the last message for every chat on disk and will send all newer messages to the client).
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; -
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
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.
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
if you want to build whapp-irc locally (no guaranty it works with your chromium version and what not), make sure you have go, dep, and chromium. Then, clone the repo in your
#whapp-ircon freenode, you can mention lieuwex if nobody responds.