Add general "Accepts" method to BridgeContext and s/WhappBridge/TextMessageProxy/g
We can use this general "Accepts" method when we add more commands that call it and add some extra criteria like message type using DC_MSG*. This will help with the implementation of commands that proxy other message types like images and files.
|1 month ago|
|botcommands||1 month ago|
|bridge||1 month ago|
|core||1 month ago|
|dcwhapp||2 months ago|
|whappdc||1 month ago|
|.gitignore||2 months ago|
|README.md||2 months ago|
|config.yml.example||1 month ago|
|go.mod||1 month ago|
|go.sum||1 month ago|
|main.go||1 month ago|
Whapp-Deltachat is a bridge between WhatsApp and Deltachat. It uses go-whatsapp and go-deltachat respectively to map verified deltachat groups to whatsapp conversations. It is currently not full-featured and most likely is ridden with bugs, but pretty usable. Use at your own risk 🤓.
There are no stable releases as of yet, so the only installation method right now is just installing from source.
# clone git clone email@example.com:hugot/whapp-deltachat.git # build cd ./whapp-deltachat go build . cp ./config.yml.example ./config.yml # Now edit the config.yml file "$EDITOR" ./config.yml # Finally, run the program. ./whapp-deltachat ./config.yml
During the first time the program runs, there are two QR codes that need to be scanned: First, the program will print a QR code to stdout. Scan this QR code from your deltachat client to become a verified contact of the bridge. The bridge will then create a verified chat with you and send you a QR code to scan from your WhatsApp mobile app. When you have done this, the bridge will start doing it’s thing.
The first time that the bridge runs it will receive a lot of messages at the same time and not in chronological order. This means that pre-existing WhatsApp messages will not be in chronological order when they appear in your deltachat client. New messages received while the bridge is running will of course arrive in chronological order.
This is a list of features that are either implemented already or will be implemented in the future.
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by WhatsApp or any of its affiliates or subsidiaries. This is an independent and unofficial software. Use at your own risk.