All Projects → UKnowWhoIm → whatsapp-telegram-bridge

UKnowWhoIm / whatsapp-telegram-bridge

Licence: MIT license
A simple bridge to receive whatsapp chats on telegram.

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to whatsapp-telegram-bridge

Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+20136.36%)
Mutual labels:  bridge, whatsapp
Mautrix Whatsapp
A Matrix-WhatsApp puppeting bridge
Stars: ✭ 484 (+2100%)
Mutual labels:  bridge, whatsapp
Whapp Irc
whatsapp web <-> irc gateway
Stars: ✭ 208 (+845.45%)
Mutual labels:  bridge, whatsapp
minecraft-discord-bridge
A minecraft <-> discord bridge with no server-side requirements
Stars: ✭ 30 (+36.36%)
Mutual labels:  bridge
telegram
A Matrix-Telegram hybrid puppeting/relaybot bridge
Stars: ✭ 914 (+4054.55%)
Mutual labels:  bridge
superchats
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
Stars: ✭ 100 (+354.55%)
Mutual labels:  whatsapp
wa-avd-docker
A Docker image based on Ubuntu Desktop with VNC and noVNC access, that runs a lightweight Android Virtual Device with WhatsApp pre-installed.
Stars: ✭ 113 (+413.64%)
Mutual labels:  whatsapp
proca
Widget to transform your website into a cutting-edge campaign in 10 min. multi-lingual, privacy first.
Stars: ✭ 29 (+31.82%)
Mutual labels:  whatsapp
q-municate-web
Q-municate Web chat application
Stars: ✭ 66 (+200%)
Mutual labels:  whatsapp
whatsapp-verify
Check if a phone number exists on Whatsapp
Stars: ✭ 74 (+236.36%)
Mutual labels:  whatsapp
WhatSoup
A web scraper that exports your entire WhatsApp chat history.
Stars: ✭ 86 (+290.91%)
Mutual labels:  whatsapp
WhatsAppBar
Little sweet addition to your WhatsApp Desktop
Stars: ✭ 36 (+63.64%)
Mutual labels:  whatsapp
alice
Alice is a whatsapp bot made to manage coding groups.
Stars: ✭ 14 (-36.36%)
Mutual labels:  whatsapp
laravel-stripe
No description or website provided.
Stars: ✭ 14 (-36.36%)
Mutual labels:  bridge
ChristmasSpiritBreaker-andNewYearsToo
Python script which automatically sends Christmas/New Year's messages from a custom messages list on Whatsapp, Facebook Messenger or via SMS in a given time range, to a custom contacts list. Time to work smart, not hard.
Stars: ✭ 81 (+268.18%)
Mutual labels:  whatsapp
starkgate-frontend
Bridge interface allows users to transfer ERC20 tokens from Ethereum to StarkNet and vice versa.
Stars: ✭ 75 (+240.91%)
Mutual labels:  bridge
whatsapp-chatbot-1c-example
Внешняя обработка для программы 1С:Предприятие, которая демонстрирует реализацию простого чат-бота для мессенджера WhatsApp.
Stars: ✭ 13 (-40.91%)
Mutual labels:  whatsapp
WhatsAppThem
A simple PWA which you can use to send WhatsApp messages without saving the number.
Stars: ✭ 21 (-4.55%)
Mutual labels:  whatsapp
FlexHybridApp-Android
WebView bridge interface with Promise pattern
Stars: ✭ 20 (-9.09%)
Mutual labels:  bridge
NoPMsBot
https://telegram.dog/ShriMADhaBot
Stars: ✭ 127 (+477.27%)
Mutual labels:  bridge

Whatsapp Telegram Bridge

This project creates a bridge between a whatsapp chat and a telegram channel, ie you could recieve the messages sent on whatsapp through telegram.

How to use

It is recommended that you use Node and NPM locally and use Docker if you wanna deploy, as the container is very large.

  1. Create a settings.json file from the settings.example.json. In the PIPES key store your all your required whatsapp chat's names.

  2. Create a telegram bot. Find the API key, and store it as value of key TOKEN.

  3. If you want to use it for a private channel, follow this link, and obatin chat_id

    If you don't mind creating a public channel, create it and obtain chat_id(@your channel name in url)

  4. Add chat_id to your corresponding whatsapp chat's key.

  5. Run

    npm install
    npm start
    
  6. It will display a QR code for whatsapp authentication, scan the QR code using whatsapp. You won't have to do this again.

Deploy

  1. Run the script and login locally.(This is important as we need that session data)

  2. Deploy the docker container with a cloud service(Heroku is free).

  3. Set TOKEN environment variable with your BOT_API_KEY

  4. Set PIPES environment variable as a JSON String of your Whatsapp-Telegram Pipes.

All Settings

Settings can be stored in a json file or as environment variables.

TOKEN

The BOT_API_TOKEN obtained while creating your telegram bot.

PIPES

The mappings between whatsapp chats and telegram channel. Must be stored as JSON. Can have multiple pipes.

SHOW_DEFAULT_HEADER

Show or hide default header.

Sent from whatsapp chat: $chat_name

Sent by: $sender

Currently headers don't work for attachments.

Default is true

CUSTOM_HEADER

Add your own header to all messages sent except attachments.

Note: Passing a CUSTOM_HEADER won't disable DEFAULT_HEADER, you have to explicitly set it to false.

Limitations

  • Since WhatsApp has no official API, the API used is based on WhatsApp Web. So you can't use WhatsApp Web while running this.

  • WhatsApp Web relies on your phone's internet too, so even if you deploy this on a server, your phone must have 24x7 internet access too.

Acknowledgements

Whatsapp API - Venom

Telegram Bot API - node-telegram-bot-api

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].