{"id":31030771,"url":"https://github.com/miliscripts/telegram-profile-batch-music-adder","last_synced_at":"2025-09-13T23:17:46.555Z","repository":{"id":313432080,"uuid":"1051416174","full_name":"MiliScripts/Telegram-Profile-Batch-Music-Adder","owner":"MiliScripts","description":"A Python tool to automatically add audio tracks from a Telegram channel to your Telegram profile's music section, making your music shelf more organized and visually appealing using kurigram (pyrogram fork) .","archived":false,"fork":false,"pushed_at":"2025-09-06T00:51:13.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-06T02:36:45.620Z","etag":null,"topics":["automation","bot","mtproto","music","pyrogram","pyrogram-userbot","python","telegram","telegrambot","telegrambot-python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MiliScripts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-06T00:36:26.000Z","updated_at":"2025-09-06T00:51:17.000Z","dependencies_parsed_at":"2025-09-06T02:36:47.161Z","dependency_job_id":"72f71961-32fd-4ea4-9151-1d37ea7b81aa","html_url":"https://github.com/MiliScripts/Telegram-Profile-Batch-Music-Adder","commit_stats":null,"previous_names":["miliscripts/telegram-profile-batch-music-adder"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MiliScripts/Telegram-Profile-Batch-Music-Adder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FTelegram-Profile-Batch-Music-Adder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FTelegram-Profile-Batch-Music-Adder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FTelegram-Profile-Batch-Music-Adder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FTelegram-Profile-Batch-Music-Adder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MiliScripts","download_url":"https://codeload.github.com/MiliScripts/Telegram-Profile-Batch-Music-Adder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiliScripts%2FTelegram-Profile-Batch-Music-Adder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275038250,"owners_count":25394640,"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-09-13T02:00:10.085Z","response_time":70,"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":["automation","bot","mtproto","music","pyrogram","pyrogram-userbot","python","telegram","telegrambot","telegrambot-python"],"created_at":"2025-09-13T23:17:43.772Z","updated_at":"2025-09-13T23:17:46.540Z","avatar_url":"https://github.com/MiliScripts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Profile Music Adder\n\nA Python tool to automatically add audio tracks from a Telegram channel to your Telegram profile's music section, making your music shelf more organized and visually appealing.\n\n## Features\n\n- 🔐 Secure login with Telegram API\n- ⚙️ Easy configuration setup\n- 🎵 Batch add music from channels to your profile\n- ⏱️ Customizable delay between operations\n- 📊 Progress tracking with detailed logs\n- 🎨 Beautiful console interface with rich formatting\n\n## Prerequisites\n\n- Python 3.7 or higher\n- Telegram API ID and API Hash\n- A Telegram account with two-factor authentication (if enabled)\n\n## Setup Instructions\n\n### 1. Create a Virtual Environment\n\n```bash\n#  virtual environment\npython -m venv venv\nvenv\\Scripts\\activate\n\n```\n\n### 2. Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n\n\n\n### 3. Get Telegram API Credentials\n\n1. Visit https://my.telegram.org/apps\n2. Log in with your Telegram account\n3. Create a new application to get your API ID and API Hash\n\n### 4. Generate Session String\n\nRun the script with the session generation flag:\n\n```bash\npython profile_music_adder.py --generate-session\n```\n\n![GET SESSION](https://files.imeow.ir/dl/default/photo_2025-09-06_04-15-10.jpg)\n\n\nFollow the prompts to:\n- Enter your API ID\n- Enter your API Hash  \n- Enter your phone number (with country code)\n- Enter the confirmation code sent to your Telegram account\n- Enter your 2FA password (if enabled)\n\nThe session string will be automatically saved to your configuration file.\n\n### 5. Configure the Channel Settings\n\n1. Find the channel containing the music you want to add to your profile\n2. Get the channel's Chat ID (usually a negative number like -1001234567890)\n3. Identify the message IDs that contain the audio files you want to add\n\nRun the script without arguments to configure settings:\n\n```bash\npython profile_music_adder.py\n```\n![CUSTOMIZE](https://files.imeow.ir/dl/default/photo_2025-09-06_04-15-18.jpg)\n\n\nYou'll be prompted to:\n- Customize settings (choose 'y')\n- Enter the Chat ID of the channel\n- Set the start message ID\n- Set the end message ID  \n- Set the delay between operations (in seconds)\n\n### 6. Run the Script\n\nAfter configuration, run the script again to start adding music:\n\n```bash\npython profile_music_adder.py\n```\n\n\n\n![ADD TRACKS](https://files.imeow.ir/dl/default/photo_2025-09-06_04-15-23.jpg)\n\n\n\nThe script will:\n1. Connect to your Telegram account\n2. Fetch messages from the specified channel and message range\n3. Add each audio file to your profile's music section\n4. Show progress with emoji indicators (✅ for success, ⚠️ for skipped)\n\n## Important Notes\n\n- Make sure the channel is accessible to your account\n- Only messages with audio files will be processed\n- Respect Telegram's limits and use appropriate delays\n- The script skips non-audio messages automatically\n- Your session string is stored in config.yml - keep this file secure\n\n## Troubleshooting\n\n- If you get \"Cannot generate session automatically\" error, run the script from command line (not IPython/Jupyter)\n- For \"Chat not found\" errors, verify the Chat ID and your access permissions\n- If messages are skipped, check if they contain audio files\n- For login issues, verify your API credentials and 2FA password\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiliscripts%2Ftelegram-profile-batch-music-adder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiliscripts%2Ftelegram-profile-batch-music-adder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiliscripts%2Ftelegram-profile-batch-music-adder/lists"}