{"id":16236024,"url":"https://github.com/blopa/nexmo-telegram-bot","last_synced_at":"2025-03-19T15:30:52.622Z","repository":{"id":70312569,"uuid":"132194323","full_name":"blopa/Nexmo-Telegram-Bot","owner":"blopa","description":"Nexmo integration with Telegram","archived":false,"fork":false,"pushed_at":"2018-05-06T23:04:02.000Z","size":9,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T19:33:11.808Z","etag":null,"topics":["bot","chatbot","message","nexmo","number","sms","telegram","text","virtual"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blopa.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":"2018-05-04T22:20:27.000Z","updated_at":"2025-02-06T15:48:11.000Z","dependencies_parsed_at":"2023-05-12T16:45:13.680Z","dependency_job_id":null,"html_url":"https://github.com/blopa/Nexmo-Telegram-Bot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopa%2FNexmo-Telegram-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopa%2FNexmo-Telegram-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopa%2FNexmo-Telegram-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blopa%2FNexmo-Telegram-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blopa","download_url":"https://codeload.github.com/blopa/Nexmo-Telegram-Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244002770,"owners_count":20382055,"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":["bot","chatbot","message","nexmo","number","sms","telegram","text","virtual"],"created_at":"2024-10-10T13:28:43.267Z","updated_at":"2025-03-19T15:30:52.615Z","avatar_url":"https://github.com/blopa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexmo Telegram Bot\n\nA simple Python app that integrates Nexmo API to Telegram Bot API. With this script you can send and receive messages from your Nexmo virtual number using a Telegram Bot.\n\nA big thanks to [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/), [nexmo-python](https://github.com/Nexmo/nexmo-python) and [flask](https://github.com/pallets/flask) for making such great open source tools.\n\n**This is a fan-made Telegram Bot which is not supported by or associated with Nexmo.**\n\n# How To Use\n\nOpen Python Console and run:\n```python\npip install -r requirements.txt\n```\nImport the `app.py` to your project:\n```python\nfrom app import * \n```\nRename the file `config.ini.example` to `config.ini` and fill all the information.\n\n```\n[General]\nhost=YOUR_HOST\nurl_secret=YOUR_URL_SECRET\ndisplay_message=YOUR_DISPLAY_MESSAGE\n\n[TelegramAPI]\nchat_id=YOUR_CHAT_ID\napi_token=YOUR_API_TOKEN\n\n[NexmoAPI]\napi_key=YOUR_API_KEY\napi_secret=YOUR_API_SECRET\nphone_number=YOUR_PHONE_NUMBER\n```\n# Settings\n##### [General]\n- **host**: Host where your webhook will be served.\n- **url_secret**: Random string to secure your webhook endpoint.\n- **display_message**: Message to be shown when acessing the endpoint via browser.\n\n##### [TelegramAPI]\n- **chat_id**: Your Telegram Chat ID. You can get it by deploying the application and sending the bot the command `/my_id`.\n- **api_token**: Your Telegram Bot API Token.\n\n##### [NexmoAPI]\n- **api_key**: Your Nexmo API Key.\n- **api_secret**: Your Nexmo API Secret.\n- **phone_number**: Your Nexmo Virtual Phone Number.\n\nGo to your Nexmo settings panel and [add your webhook URL in the settings](https://help.nexmo.com/hc/en-us/articles/206345667-How-do-I-add-a-webhook-URL-to-my-account-). Done.\n\n# Bot usage\n\n- **Send a new text message**: Use the command `/new` in this format `\"/new phone_number text message here\"`.\n- **Reply to a text message**: Simply reply to the Telegram message.\n- **Receive a text message**: Share your number with your friends and wait :D\n\n# Release Notes\n- **v0.0.2:**\n    - Fix string parse\n- **v0.0.1:**\n    - First version\n\n# FAQ\n**Q: Where do I run this bot?**\n\nA: I recommend using http://digitalocean.com/\n\n**Q: Can you implement \u003c???\u003e function?**\n\nA: I can try. Open a issue and I'll see what I can do.\n\n**Q: Your bot is awesome. How can I help?**\n\nA: Thank you! You can help by codding more features, creating pull requests, or donating using Bitcoin: **1BdL9w4SscX21b2qeiP1ApAFNAYhPj5GgG**\n\n# License\n----\nMIT License\n\nCopyright (c) 2018 blopa\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n**Free Software, Hell Yeah!**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblopa%2Fnexmo-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblopa%2Fnexmo-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblopa%2Fnexmo-telegram-bot/lists"}