| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This Next.js application serves as a bot that mirrors messages from a Telegram channel to a Discord channel using webhooks.
This Application is still under development. Please be patient for daily updates.
A Next.js app uses server-side rendering to power a bot connecting Telegram and Discord. It fetches Telegram messages via API (Long Pooling Method), forwards them to Discord using webhooks, ensuring real-time sync. Seamless platform interaction without switching.
Additionally, the app features a web UI with a live dashboard for monitoring message flow and settings configuration for managing bot preferences and integrations.
To deploy and run the Telegram to Discord Message Mirror Bot locally or on your server:
Clone the repository:
git clone https://github.com/shadowctrl/Telegram-Discord-Bot
cd telegram-to-discord-bot
Install Dependencies:
yarn install or npm install
Configure up environment variables: 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
Telegram_Token=1274727484:AHBDFHSDFH-SDFJBSDHJF-SDHBBS
NEXT_PUBLIC_Base_Url=http://localhost:3000
Start the Application
yarn dev or npm run dev
Open https://localhost:3000/settings in your browser
Paste telegram channel ID without #.
Create a Discord webhook in your server and Paste the URL.
save the settings.
To run this project, you will need to add the following environment variables to your .env file. Please refer Step 3 in Getting Started
Telegram ID
Discord Webhook URL
Contributions are always welcome!
For support, raise a issue here or email admin@shadowctrl.me.
| Back | FazBrowse Home | New Git URL |