oiwa
oiwa copied to clipboard
A simple Telegram bot that converts a phone number to a direct whatsapp chat link
Open in WhatsApp
I was using a great app to open a whatsapp chat with a given number directly without saving that number in my contact list, but I felt it was overkill and uninstalled it, then searched telegram for a bot doint the same job but couldn't find so decided to make a new one.
See it in action
Deploy
If you want to deploy to vercel, you'll find the relevant code in
vercelbranch, just select it from top left branches menu, or locally by runninggit checkout vercel.
Using docker
Requirements
Steps
- Add your bot token to
docker-compose.ymlfile - Run
docker-compose up -d
Development
Make sure you have Python 3.12 and poetry installed.
- Clone this repo
git clone https://github.com/amr3k/oiwacd oiwa
- Run
poetry shell && poetry installpython main.py
- Build
docker buildx build --platform linux/amd64,linux/arm64 --load -t oiwa:latest .
- Run a docker container from the built image
docker run -d --name oiwa -e BOT_TOKEN=you_bot_token oiwa