{"id":20714087,"url":"https://github.com/amr3k/oiwa","last_synced_at":"2025-07-24T17:11:26.761Z","repository":{"id":44371534,"uuid":"372244511","full_name":"amr3k/oiwa","owner":"amr3k","description":"A simple Telegram bot that converts a phone number to a direct whatsapp chat link","archived":false,"fork":false,"pushed_at":"2024-07-09T19:29:48.000Z","size":258,"stargazers_count":34,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T23:05:02.382Z","etag":null,"topics":["docker","docker-compose","fastapi","python","python-telegram-bot","self-hosted","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/OiWA_bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amr3k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-30T15:05:02.000Z","updated_at":"2025-02-11T16:17:51.000Z","dependencies_parsed_at":"2024-07-09T23:12:39.844Z","dependency_job_id":null,"html_url":"https://github.com/amr3k/oiwa","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amr3k%2Foiwa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amr3k%2Foiwa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amr3k%2Foiwa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amr3k%2Foiwa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amr3k","download_url":"https://codeload.github.com/amr3k/oiwa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250395287,"owners_count":21423400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","fastapi","python","python-telegram-bot","self-hosted","telegram-bot"],"created_at":"2024-11-17T02:29:10.484Z","updated_at":"2025-04-23T08:11:01.547Z","avatar_url":"https://github.com/amr3k.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open in WhatsApp\n\n![LICENSE](https://img.shields.io/github/license/amr3k/oiwa?style=flat\u0026color=ff0000)\n![GitHub issues](https://img.shields.io/github/issues/amr3k/oiwa?color=fdf629)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/amr3k/oiwa?color=c4fff9\u0026label=Repo%20size)\n![Lines of code](https://img.shields.io/tokei/lines/github/amr3k/oiwa?color=e63977)\n[![Hits-of-Code](https://hitsofcode.com/github/amr3k/oiwa?branch=main)](https://hitsofcode.com/github/amr3k/oiwa/view?branch=main)\n\n\n\u003cdiv align=\"center\" width=\"100%\"\u003e\n\u003cimg width=200 src=\"logo.png\"\u003e\n\u003c/div\u003e\n\n\u003e I was using a great [app](https://github.com/subhamtyagi/openinwa/) 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.\n\n## [See it in action](https://t.me/OiWA_bot)\n\n\n# Deploy\n\u003e If you want to deploy to vercel, you'll find the relevant code in `vercel` branch, just select it from top left branches menu, or locally by running `git checkout vercel`.\n## Using docker\n\n### Requirements\n\n- [docker-compose](https://github.com/docker/compose)\n\n### Steps\n\n- Add your bot token to `docker-compose.yml` file\n- Run `docker-compose up -d`\n\n## Development\n**Make sure you have Python `3.12` and [poetry](https://python-poetry.org/) installed.**\n\n- Clone this repo\n  - `git clone https://github.com/amr3k/oiwa`\n  - `cd oiwa`\n- Run\n  - `poetry shell \u0026\u0026 poetry install`\n  - `python main.py`\n- Build\n  - `docker buildx build --platform linux/amd64,linux/arm64 --load -t oiwa:\u003cversion\u003e .`\n- Run a docker container from the built image\n  - `docker run -d --name oiwa -e BOT_TOKEN=you_bot_token oiwa`\n\n\n###### Logo was designed by [dtafalonso](https://iconarchive.com/artist/dtafalonso.html) - [deviantart](https://www.deviantart.com/dtafalonso)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famr3k%2Foiwa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famr3k%2Foiwa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famr3k%2Foiwa/lists"}