{"id":22027080,"url":"https://github.com/tapnisu/forwarding-discord-telegram","last_synced_at":"2026-03-07T02:33:48.234Z","repository":{"id":37799422,"uuid":"429025430","full_name":"tapnisu/forwarding-discord-telegram","owner":"tapnisu","description":"Selfbot that forwards your Discord messages to Telegram","archived":false,"fork":false,"pushed_at":"2025-09-21T03:32:35.000Z","size":1274,"stargazers_count":37,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-21T05:38:58.966Z","etag":null,"topics":["bot","discord","nodejs","selfbot","selfbot-for-discord","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://github.com/tapnisu/forwarding-discord-telegram","language":"TypeScript","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/tapnisu.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-11-17T11:50:53.000Z","updated_at":"2025-09-21T03:32:39.000Z","dependencies_parsed_at":"2023-11-07T04:44:32.854Z","dependency_job_id":"6d989137-3924-45aa-8643-52084c8acacc","html_url":"https://github.com/tapnisu/forwarding-discord-telegram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tapnisu/forwarding-discord-telegram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapnisu%2Fforwarding-discord-telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapnisu%2Fforwarding-discord-telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapnisu%2Fforwarding-discord-telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapnisu%2Fforwarding-discord-telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tapnisu","download_url":"https://codeload.github.com/tapnisu/forwarding-discord-telegram/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapnisu%2Fforwarding-discord-telegram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","discord","nodejs","selfbot","selfbot-for-discord","telegram","telegram-bot"],"created_at":"2024-11-30T07:35:01.737Z","updated_at":"2026-03-07T02:33:48.203Z","avatar_url":"https://github.com/tapnisu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forwarding Discord to Telegram\n\nSelfbot that forwards your Discord messages to Telegram\n\n\u003e **Warning**:\n\u003e Selfbots are against Discord's Terms of Service, use at your own risk!\n\n## Setup\n\n## Natively\n\n1. Install node.js from \u003chttps://nodejs.org/en/\u003e\n\n   \u003e **Important**:\n   \u003e You should use version 18 or newer!\n\n   If your system doesn't have Node 18 (or newer), you can use [Node Version Manager](https://github.com/nvm-sh/nvm).\n\n2. Clone this project:\n\n   ```shell\n   git clone https://github.com/tapnisu/forwarding-discord-telegram.git\n   cd forwarding-discord-telegram\n   ```\n\n3. Install [pnpm](https://pnpm.io/) using [Corepack](https://nodejs.org/api/corepack.html):\n\n   ```shell\n   npm i -g corepack@latest\n   corepack enable\n   corepack install\n   ```\n\n4. Create `.env` file\n\n   ```env\n   DISCORD_TOKEN=\u003cYOUR_DISCORD_TOKEN\u003e\n   TELEGRAM_TOKEN=\u003cYOUR_TELEGAM_TOKEN\u003e\n   TELEGRAM_CHAT_ID=\u003cYOUR_TELEGRAM_CHAT_ID\u003e\n\n   # Optional\n   # TELEGRAM_TOPIC_ID=\u003cYOUR_TELEGRAM_TOKEN_ID\u003e\n   ```\n\n5. Config your bot via [`config.json`](сonfig.json) (insert your values)\n\n   ```json\n   {\n     \"outputChannels\": [],\n     \"allowedGuildsIds\": [],\n     \"mutedGuildsIds\": [],\n     \"allowedChannelsIds\": [],\n     \"mutedChannelsIds\": [],\n     \"allowedUsersIds\": [],\n     \"mutedUsersIds\": [],\n     \"channelConfigs\": {},\n     \"disableLinkPreview\": false,\n     \"imagesAsMedia\": true,\n     \"showDate\": false,\n     \"showChat\": true,\n     \"stackMessages\": false,\n     \"showMessageUpdates\": false,\n     \"showMessageDeletions\": false\n   }\n   ```\n\n6. Install dependencies:\n\n   ```shell\n   pnpm install\n   ```\n\n7. Build bot via\n\n   ```shell\n   pnpm build\n   ```\n\n8. Run bot via\n\n   ```shell\n   pnpm start\n   ```\n\n### Docker\n\n1. [Install Docker Engine](https://docs.docker.com/engine/install/)\n\n2. Config your bot via [`config.json`](сonfig.json) (insert your values)\n\n   ```json\n   {\n     \"outputChannels\": [],\n     \"allowedGuildsIds\": [],\n     \"mutedGuildsIds\": [],\n     \"allowedChannelsIds\": [],\n     \"mutedChannelsIds\": [],\n     \"allowedUsersIds\": [],\n     \"mutedUsersIds\": [],\n     \"channelConfigs\": {},\n     \"disableLinkPreview\": false,\n     \"imagesAsMedia\": true,\n     \"showDate\": false,\n     \"showChat\": true,\n     \"stackMessages\": false,\n     \"showMessageUpdates\": false,\n     \"showMessageDeletions\": false\n   }\n   ```\n\n3. Run forwarding-discord-telegram using Docker\n\n   ```shell\n   docker run -d \\\n     --name forwarding-discord-telegram \\\n     --env DISCORD_TOKEN=${DISCORD_TOKEN} \\\n     --env TELEGRAM_TOKEN=${TELEGRAM_TOKEN} \\\n     --env TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID} \\\n     -v $(pwd)/config.json:/app/config.json \\\n     --restart unless-stopped \\\n     tapnisu/forwarding-discord-telegram\n   ```\n\n### Docker Compose\n\n1. [Install Docker Engine](https://docs.docker.com/engine/install/)\n\n2. Config your bot via [`config.json`](сonfig.json) (insert your values)\n\n   ```json\n   {\n     \"outputChannels\": [],\n     \"mutedGuildsIds\": [],\n     \"allowedGuildsIds\": [],\n     \"mutedChannelsIds\": [],\n     \"allowedChannelsIds\": [],\n     \"allowedUsersIds\": [],\n     \"mutedUsersIds\": [],\n     \"channelConfigs\": {},\n     \"disableLinkPreview\": false,\n     \"imagesAsMedia\": true,\n     \"showDate\": false,\n     \"showChat\": true,\n     \"stackMessages\": false,\n     \"showMessageUpdates\": false,\n     \"showMessageDeletions\": false\n   }\n   ```\n\n3. Run forwarding-discord-telegram using Docker Compose\n\n   ```shell\n   docker compose up -d\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapnisu%2Fforwarding-discord-telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftapnisu%2Fforwarding-discord-telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapnisu%2Fforwarding-discord-telegram/lists"}