Skip to content

agneevX/url-cleaner-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A telegram bot based on ClearURLs extension.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.0%
  • Dockerfile 9.0%