This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Setting up
Lieuwe Rooijakkers edited this page Jan 13, 2019
·
7 revisions
- get a device capable of running beeps and bloops, after this called "server".
- install docker on your server.
- on your server, fill in
PATH_TO_DIR_FOR_DATA_HERE
to a local dir where whapp-irc can store stuff andIP_ADDRESS_OR_DOMAIN_HERE
to the hostname accessible from other computers (in particular the ones where you want to connect from), and 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
- setup a new server for whapp-irc in your irc client, if your client is up-to-date with the IRCv3 kids you can add the
server-time
andwhapp-irc/replay
capabilities. - connect to the created server in step 3.
- a chat to
status
should be opened, providing you with a URL to a QR code you should scan using WhatsApp on your phone, afterwards a message 'logged in' should appear. whapp-irc is now fetching your chats, wait until you get a 'ready for new messages' and you should be good. - enjoy!
whapp-irc stores information in the dir provided in step 2, you shouldn't have to rescan the QR code every time. The gateway can be a bit slow and sometimes still gives you a new QR code, you can ignore that. If for some reason nothing happens after you connect, try reconnecting and maybe even restarting the docker container (docker restart whapp-irc
)