/url-cleaner-bot

A telegram bot based on ClearURLs extension.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

URL Cleaner Bot

url_image

A (minimalist) Telegram bot to provide clean URLs and removes any tracking info in the URL.

Self-hosted version here: https://t.me/clean_urls_bot

This bot utilises two libraries (credit to the creators)

1. Telethon
2. Unalix

Usage

  1. Send a link and the bot will reply with a clean URL
  2. Add the bot in a group and the bot will reply with clean URLs there
Self-host
git clone https://github.com/agneevX/url-cleaner-bot
cd url-cleaner-bot
  • Follow this guide to get api_id, api_hash and bot_token
  • Replace those values in CONFIG.py
docker build . -t url-cleaner-bot
docker run -d url-cleaner-bot