{"id":18458504,"url":"https://github.com/shadowctrl/teledis","last_synced_at":"2025-08-21T03:08:40.659Z","repository":{"id":247912403,"uuid":"827211570","full_name":"shadowctrl/TeleDis","owner":"shadowctrl","description":"TeleDis, A Next.js application that bridges Telegram and Discord channels with a user-friendly web UI for seamless integration.","archived":false,"fork":false,"pushed_at":"2024-07-21T07:45:01.000Z","size":1771,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T22:34:47.617Z","etag":null,"topics":["api","bot-development","discord","discord-bot","nextjs","telegram","telegram-bot","telegram-dis","telegram-discord","telegram-forward-bot","telegram-to-discord","telegram-to-discord-bot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shadowctrl.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-07-11T07:58:51.000Z","updated_at":"2025-02-04T01:11:02.000Z","dependencies_parsed_at":"2024-11-06T08:29:40.305Z","dependency_job_id":null,"html_url":"https://github.com/shadowctrl/TeleDis","commit_stats":null,"previous_names":["shadowctrl/mirrorbot","shadowctrl/teledis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowctrl%2FTeleDis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowctrl%2FTeleDis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowctrl%2FTeleDis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowctrl%2FTeleDis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowctrl","download_url":"https://codeload.github.com/shadowctrl/TeleDis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249110139,"owners_count":21214285,"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":["api","bot-development","discord","discord-bot","nextjs","telegram","telegram-bot","telegram-dis","telegram-discord","telegram-forward-bot","telegram-to-discord","telegram-to-discord-bot"],"created_at":"2024-11-06T08:18:55.809Z","updated_at":"2025-04-15T16:41:02.811Z","avatar_url":"https://github.com/shadowctrl.png","language":"TypeScript","readme":"# Telegram to Discord Mirror Bot\n\nThis Next.js application serves as a bot that mirrors messages from a Telegram channel to a Discord channel using webhooks.\n\n## Important Notice\nThis Application is still under development. Please be patient for daily updates.\n\n# Table of Contents\n\n- [Overview](#overview)\n- [Features](#features)\n- [Prerequisites](#prerequisites)\n- [Getting Started](#getting-started)\n- [Environmental variables](#environment-variables)\n- [Technoligies Used](#technologies-used)\n- [Contributing](#contributing)\n- [Developers](#developers)\n- [Support / Issues](#support)\n- [Buy Me a Coffee](#-you-can-help-me-by-donating)\n\n## Overview\n\nA Next.js app uses server-side rendering to power a bot connecting Telegram and Discord. It fetches Telegram messages via API ([Long Pooling Method](https://en.wikipedia.org/wiki/Push_technology#Long_polling)), forwards them to Discord using webhooks, ensuring real-time sync. Seamless platform interaction without switching.\n\nAdditionally, the app features a web UI with a live dashboard for monitoring message flow and settings configuration for managing bot preferences and integrations.\n\n## Features\n\n- Live Dashboard \u0026 Monitoring\n- Built-in logging with Next.js API\n- 24-hour message backup on errors\n- Efficient webhook integration\n- Server-Side Rendering for reliable performance\n\n## Prerequisites\n\n1. Telegram Bot Token\n2. Discord webhook URL\n3. Telegram Channel ID\n4. Telegram \u0026 Discord channel\n6. server for continuous monitoring. *Low budget hosting setup. Contact query@shadowctrl.me*\n\n## Getting Started\n\nTo deploy and run the Telegram to Discord Message Mirror Bot locally or on your server:\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/shadowctrl/Telegram-Discord-Bot\n   cd telegram-to-discord-bot\n\n   ```\n\n2. **Install Dependencies**:\n\n   ```bash\n   yarn install or npm install\n\n   ```\n\n3. **Configure up environment variables**:\n   _edit .env.local in parent directory with approrpriate values. set NEXT_PUBLIC_Base_Url to your next application url. If not sure leave it as it is_\n\n   ```bash\n   Telegram_Token=1274727484:AHBDFHSDFH-SDFJBSDHJF-SDHBBS\n   NEXT_PUBLIC_Base_Url=http://localhost:3000\n\n   ```\n\n4. **Start the Application**\n\n   ```bash\n   yarn dev or npm run dev\n\n   ```\n\n5. **Open https://localhost:3000/settings in your browser**\n\n- Paste telegram channel ID without #.\n\n  - Example: https://web.telegram.org/a/#-1002162160712. My Channel ID is \"-1002162160712\".\n\n- Create a Discord webhook in your server and Paste the URL.\n  - Example of Webhook URL: https://discord.com/api/webhooks/1423567663/dfjghuisdjghiasdghfysdgyfh\n- save the settings.\n\n6. **Go with your First message in telegram channel which should appear automaically in Discord channel via webhook.** _For any issues ([click here](https://github.com/shadowctrl/Telegram-Discord-Bot/issues)] to get support._\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file. Please refer **Step 3** in [Getting Started](#getting-started)\n\n`Telegram ID`\n\n`Discord Webhook URL`\n\n## Technologies Used\n\n- [Next.js](https://nextjs.org/) - React framework with server-side rendering.\n- [Telegram API](https://core.telegram.org/bots/api) - API for interacting with Telegram bots and channels.\n- [Discord Webhooks](https://discord.com/developers/docs/resources/webhook) - Webhooks for sending messages to Discord channels.\n\n## Contributing\n\nContributions are always welcome!\n\n- **Make a pull request**\n\n## Developers\n\n- [@shadowctrl](https://www.github.com/shadowctrl)\n\n## Support\n\nFor support, raise a issue [here](https://github.com/shadowctrl/Telegram-Discord-Bot/issues) or email admin@shadowctrl.me.\n\n## 💰 You can help me by Donating\n\n[![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://buymeacoffee.com/shadowctrl) [![PayPal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge\u0026logo=paypal\u0026logoColor=white)](https://paypal.me/shadowctrl)\n","funding_links":["https://buymeacoffee.com/shadowctrl","https://paypal.me/shadowctrl"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowctrl%2Fteledis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowctrl%2Fteledis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowctrl%2Fteledis/lists"}