{"id":13989262,"url":"https://github.com/m4mallu/uniquify","last_synced_at":"2025-07-22T10:31:37.908Z","repository":{"id":46142780,"uuid":"385666270","full_name":"m4mallu/uniquify","owner":"m4mallu","description":"Uniquify is a Telegram bot interface used to remove duplicate media files from a chat","archived":false,"fork":false,"pushed_at":"2022-08-29T13:42:15.000Z","size":30,"stargazers_count":63,"open_issues_count":1,"forks_count":55,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-29T08:38:25.153Z","etag":null,"topics":["duplicate","media","removing","robot","telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m4mallu.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}},"created_at":"2021-07-13T16:20:45.000Z","updated_at":"2024-11-18T03:34:03.000Z","dependencies_parsed_at":"2022-08-30T01:30:58.011Z","dependency_job_id":null,"html_url":"https://github.com/m4mallu/uniquify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/m4mallu/uniquify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2Funiquify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2Funiquify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2Funiquify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2Funiquify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m4mallu","download_url":"https://codeload.github.com/m4mallu/uniquify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m4mallu%2Funiquify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266475125,"owners_count":23934886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["duplicate","media","removing","robot","telegram"],"created_at":"2024-08-09T13:01:34.956Z","updated_at":"2025-07-22T10:31:37.498Z","avatar_url":"https://github.com/m4mallu.png","language":"Python","funding_links":["https://www.paypal.me/space4renjith"],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1 align=\"left\"\u003e\n    \u003ca href=\"https://github.com/m4mallu\"\u003eUniquify\u003c/a\u003e\n    \u003cimg src=\"https://telegra.ph/file/a71f4bc9ab29ac3c80c1e.gif\" height=\"50\"\u003e\n\u003c/h1\u003e\n\n#### Uniquify is a Telegram interface bot that can delete the duplicate media files from a chat.\n\n\u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eProcess\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\u003c/p\u003e\n    \u003cul\u003e\n        \u003cli\u003eBot is an interface only.\u003c/li\u003e\n        \u003cli\u003eSession user is doing the job.\u003c/li\u003e\n        \u003cli\u003eSo, \u003cstrike\u003eBot doesn't need to be in the chat\u003c/strike\u003e.\u003c/li\u003e\n        \u003cli\u003eSession user \u003cstrike\u003eneed to be an admin\u003c/strike\u003e in the chat with \u003ccode\u003eDelete messages privilege\u003c/code\u003e\u003c/li\u003e\n        \u003cli\u003eCommands can only run by the \u003ccode\u003eAuthorized users.\u003c/code\u003e\u003c/li\u003e\n        \u003cli\u003eAdd chat id using command -  Eg: \u003ccode\u003e/chat -100123456789\u003c/code\u003e (-100 not mandatory)\u003c/li\u003e\n        \u003cli\u003eAdd a delay to the process - Eg: \u003ccode\u003e/delay 2\u003c/code\u003e (Delay not mandatory)\u003c/li\u003e\n        \u003cli\u003eFinally, run \u003ccode\u003e/purge\u003c/code\u003e to start the process.\u003c/li\u003e\n        \u003cli\u003e\u003cstrong\u003ePresently supported media  types are \u003ccode\u003edocuments, video and audio\u003c/code\u003e.\u003c/strong\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eDeploy\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\u003c/p\u003e\n    \u003cb\u003e1. \u003cu\u003eDeploy to Heroku\u003c/u\u003e\u003c/b\u003e\u003cbr\u003e\n        \u003ca href=\"https://heroku.com/deploy?template=https://github.com/m4mallu/uniquify\"\u003e\n            \u003cimg height=\"30px\" src=\"https://img.shields.io/badge/Deploy%20To%20Heroku-blueviolet?style=for-the-badge\u0026logo=heroku\"\u003e\n    \u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n    \u003cb\u003e2. \u003cu\u003eDeploy to VPS\u003c/u\u003e\u003c/b\u003e\u003cbr\u003e\n    \u003cul\u003e\n        \u003cli\u003eOpen a Linux Terminal and run the following commands.\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003egit clone https://github.com/m4mallu/uniquify\u003c/code\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003ecd uniquify\u003c/code\u003e\u003c/li\u003e\n        \u003cli\u003eCreate a \u003ccode\u003econfig.py\u003c/code\u003e file with the mandatory variables.(Refer \u003ccode\u003esample_config.py\u003c/code\u003e)\u003c/li\u003e\n        \u003cli\u003eRun the following commands in the same terminal opened.\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003evirtualenv -p python3 venv\u003c/code\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003e. ./venv/bin/activate\u003c/code\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003epip3 install -r requirements.txt\u003c/code\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ccode\u003epython3 main.py\u003c/code\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eMandatory Variables\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\n        \n    API_HASH            -   Your API Hash from my.telegram.org\n    API_ID              -   Your API ID from my.telegram.org\n    BOT_TOKEN           -   Your Bot Token from @BotFather\n    AUTH_USERS          -   Create a list of User Ids to use this bot\n    TG_USER_SESSION     -   Your Telegram User Session String\n\u003c/details\u003e\n\u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eGenerate User Session\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\u003c/p\u003e\n    \u003ca href=\"https://replit.com/@m4mallu/PyrogramStringSessionMaker\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Generate-String%20Session-orange\" height=\"30\" /\u003e\n\u003c/a\u003e\n    \u003cul\u003e\n        \u003cli\u003eOpen the above link and start the application.\u003c/li\u003e\n        \u003cli\u003eGive your APP_ID, API_HASH - Get it from \u003ca href=\"https://my.telegram.org/auth\"\u003e\u003cb\u003eHERE\u003c/b\u003e\u003c/a\u003e \u003c/li\u003e\n        \u003cli\u003eOn the next step, select \u003ccode\u003e1 = User Bot\u003c/code\u003e option .\u003c/li\u003e\n        \u003cli\u003eGive your phone number in \u003ca href=\"https://www.cm.com/blog/how-to-format-international-telephone-numbers/\"\u003einternational format\u003c/a\u003e .\u003c/li\u003e\n        \u003cli\u003eGive the OTP and Auth Phrase if any\u003c/li\u003e\n        \u003cli\u003eThis will get your long user session string\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"https://docs.pyrogram.org/topics/storage-engines?highlight=string%20sessions#session-strings\"\u003e\u003cb\u003eKeep the String safe, anyone can access your account using it.\u003c/b\u003e\u003c/a\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003e@BotFather Commands\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\u003c/p\u003e\n    \n    start   -   Check alive\n    chat    -   Add chat id (Admin Only)\n    delay   -   Add a process delay (Admin Only)\n    purge   -   Initiate the process (Admin Only)\n\u003c/details\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eDeveloper\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\n        \u003cimg alt=\"GPL3\" src =\"https://c.tenor.com/10Zdx_RXqgcAAAAC/programming-crazy.gif\" width=\"260px\" style=\"max-width:100%;\"/\u003e\u003cbr\u003e\n            \u003ca href=\"https://t.me/space4renjith\"\u003e\u003cimg src=\"https://img.shields.io/badge/Renjith-Mangal-orange\" height=\"24\"\u003e\n        \u003c/a\u003e\u0026nbsp;\n            \u003ca href=\"https://t.me/rmprojects\"\u003e\u003cimg src=\"https://img.shields.io/badge/Updates-Channel-orange\" height=\"24\"\u003e\n        \u003c/a\u003e\n\u003c/p\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eDonate\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\u003cbr\u003e\n    \u003cb\u003eBuy me a coffee for the work !\u003c/b\u003e\u003cbr\u003e\n    \u003cimg src=\"https://telegra.ph/file/b926b7e8ea84826d81d8a.png\" width=\"260px\" style=\"max-width:100%;\"/\u003e\u003cbr\u003e\u003cbr\u003e\n      \u003ca href=\"https://www.paypal.me/space4renjith\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Donate-Me-blueviolet?style=for-the-badge\u0026logo=paypal\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eCredits\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\n      \u003ca href=\"https://github.com/pyrogram/pyrogram\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Pyrogram-MTProto%20API-orange?style=for-the-badge\u0026logo=pyrogram\" height=\"32.8\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eLicense\u003c/b\u003e\u003c/summary\u003e\n    \u003cp align=\"left\"\u003e\n    \u003ca href=\"https://choosealicense.com/licenses/gpl-3.0/\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/License-GPLv3-blueviolet?style=for-the-badge\u0026logo=gplv3\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003c/details\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://t.me/space4renjith\"\u003e\n        \u003cimg alt=\"GPL3\" src =\"https://telegra.ph/file/c4f778ccfc576a954dd20.gif\" width=\"340\" height=\"214\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4mallu%2Funiquify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm4mallu%2Funiquify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm4mallu%2Funiquify/lists"}