{"id":24024704,"url":"https://github.com/samislam/telegram-invite-links-cleaner-bot","last_synced_at":"2026-06-11T02:31:24.693Z","repository":{"id":270796293,"uuid":"911475947","full_name":"samislam/telegram-invite-links-cleaner-bot","owner":"samislam","description":"Clean telegram join links, remove duplicates, remove text","archived":false,"fork":false,"pushed_at":"2025-05-17T00:22:32.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T01:19:13.071Z","etag":null,"topics":["telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","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/samislam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2025-01-03T05:31:54.000Z","updated_at":"2025-05-17T00:22:35.000Z","dependencies_parsed_at":"2025-05-17T01:18:46.823Z","dependency_job_id":"0d6ba2cf-f350-43af-971a-461f23ce2091","html_url":"https://github.com/samislam/telegram-invite-links-cleaner-bot","commit_stats":null,"previous_names":["samislam/telegram-invite-links-cleaner-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samislam/telegram-invite-links-cleaner-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samislam%2Ftelegram-invite-links-cleaner-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samislam%2Ftelegram-invite-links-cleaner-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samislam%2Ftelegram-invite-links-cleaner-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samislam%2Ftelegram-invite-links-cleaner-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samislam","download_url":"https://codeload.github.com/samislam/telegram-invite-links-cleaner-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samislam%2Ftelegram-invite-links-cleaner-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34180147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["telegram","telegram-bot"],"created_at":"2025-01-08T15:34:25.436Z","updated_at":"2026-06-11T02:31:24.687Z","avatar_url":"https://github.com/samislam.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-invite-links-cleaner-bot\n\nA simple and powerful bot that can clean all your duplicated invite links and store them in one chat. Supports multi users.\n\n# Setup\n\n1. Rename the file `.env.example` to `.env.local`.\n2. Obtain a bot token from the **telegram bot father**.\n3. Paste your token in the `TELEGRAM_BOT_TOKEN` environment variable field in the `.env.local` file.\n4. Paste your bot username in the `TELEGRAM_BOT_USERNAME`.\n5. You'll need to setup MongoDB, follow guides online on how to run MongoDB on your machine, then paste your MongoDB connection URL in the `DATABASE_URL` field of the `.env.local` file.\n6. Run the following commands in your terminal:\n```bash\n$ bun install\n$ bun start\n```\n\n\u003e This bot requires bun to be installed, if you don't have bun, download it from [it's website](https://bun.sh/).\n\u003e Bun is faster than Nodejs.\n\n# Guide\nChat with the bot, tap \"start\" to start the chat, the bot includes information on how to get started, it's easy, just send the bot any URL and see how it functions.\n\nFor example, try to send the bot the following URL:\n`https://example.com`, it's going to delete your message and send you the URL in a message like `https://example.com`. If you tried to send `https://example.com` again, it's going to drop your message. Try to send `Hello`, and it's going to delete your message. Try to send\n```\nHello\nhttps://google.com\n```\nand it's going to drop your message, and send you back `https://google.com`\nThe resulting chat would be \n```\n@bot: https://example.com\n@bot: https://google.com\n```\nSo you'll have clean links base.\n\nNow, you might wonder why the bot is accepting any URL and not only telegram invitation links. This behaviour can be changed easily by changing the environment variable `ONLY_JOIN_LINKS=false` to `ONLY_JOIN_LINKS=true` in your `.env.local` file.\n\nRembmer that after changing any file, if you want to see the results, you have to restart your running service by stopping the process and rerunning the command `bun start`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamislam%2Ftelegram-invite-links-cleaner-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamislam%2Ftelegram-invite-links-cleaner-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamislam%2Ftelegram-invite-links-cleaner-bot/lists"}