{"id":31570574,"url":"https://github.com/tiennm99/bulk-telegram-sticker","last_synced_at":"2025-10-05T12:48:15.491Z","repository":{"id":284943267,"uuid":"956519445","full_name":"tiennm99/bulk-telegram-sticker","owner":"tiennm99","description":"Create stickers automatically","archived":false,"fork":false,"pushed_at":"2025-07-20T11:58:43.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T13:23:45.219Z","etag":null,"topics":["telegram","telegram-sticker","telegram-sticker-converter","telegram-stickers"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiennm99.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-28T11:45:40.000Z","updated_at":"2025-07-20T11:58:47.000Z","dependencies_parsed_at":"2025-03-28T14:32:39.435Z","dependency_job_id":"366f2565-c059-43da-a737-81df462431bf","html_url":"https://github.com/tiennm99/bulk-telegram-sticker","commit_stats":null,"previous_names":["tiennm99/bulk-telegram-sticker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tiennm99/bulk-telegram-sticker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiennm99%2Fbulk-telegram-sticker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiennm99%2Fbulk-telegram-sticker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiennm99%2Fbulk-telegram-sticker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiennm99%2Fbulk-telegram-sticker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiennm99","download_url":"https://codeload.github.com/tiennm99/bulk-telegram-sticker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiennm99%2Fbulk-telegram-sticker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278457485,"owners_count":25989955,"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-10-05T02:00:06.059Z","response_time":54,"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-sticker","telegram-sticker-converter","telegram-stickers"],"created_at":"2025-10-05T12:48:14.253Z","updated_at":"2025-10-05T12:48:15.479Z","avatar_url":"https://github.com/tiennm99.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bulk Telegram Sticker Pack Creator\n\nThis tool helps you create and upload sticker packs to Telegram using a two-step process:\n1. Prepare and process your images\n2. Create and upload the sticker pack\n\n## Setup\n\n1. Install the required dependencies:\n```bash\npip install -r requirements.txt\n```\n\n2. Get your Telegram API credentials:\n   - Go to https://my.telegram.org/auth\n   - Log in with your phone number\n   - Go to 'API development tools'\n   - Create a new application\n   - Copy the `API_ID` and `API_HASH`\n\n3. Create a `.env` file in the project root with your credentials:\n```\nAPI_ID=your_api_id\nAPI_HASH=your_api_hash\nPHONE=your_phone_number\n```\n\n## Usage\n\n### Step 1: Prepare Images\n\n1. Create an `input` directory in the project root\n2. Place your sticker images in the `input` directory (supported formats: PNG, JPG, JPEG)\n3. Run the preparation script:\n```bash\npython prepare.py\n```\n\nThis will:\n- Convert all images to WebP format (512x512 pixels)\n- Create an `output` directory with the processed images\n- Generate a `sticker_config.json` file in the `output` directory\n\n4. Edit the `output/sticker_config.json` file to:\n   - Change the sticker pack title and short name\n   - Modify emojis for each sticker\n   - Add or remove stickers from the pack\n\nExample configuration:\n```json\n{\n    \"sticker_pack\": {\n        \"title\": \"My Awesome Stickers\",\n        \"short_name\": \"my_awesome_stickers\",\n        \"stickers\": [\n            {\n                \"original\": \"sticker1.png\",\n                \"webp\": \"sticker1.webp\",\n                \"emoji\": \"😀\"\n            },\n            {\n                \"original\": \"sticker2.png\",\n                \"webp\": \"sticker2.webp\",\n                \"emoji\": \"😎\"\n            }\n        ]\n    }\n}\n```\n\n### Step 2: Create Sticker Pack\n\n1. Run the main script to create and upload the sticker pack:\n```bash\npython main.py\n```\n\n2. The first time you run the script, you'll need to authenticate with your phone number\n3. The script will create the sticker pack and upload all stickers according to the configuration\n\n## Important Notes\n\n- The `short_name` must be unique across all Telegram sticker packs\n- Input images will be automatically resized to 512x512 pixels while maintaining aspect ratio\n- Images are converted to WebP format with transparency support\n- Make sure your input images are clear and of good quality\n- The first time you run the script, you'll need to authenticate with your phone number\n\n## Troubleshooting\n\nDue to the nature of interacting with Telegram's Sticker bot, some issues may occur:\n\n1. **Manual Intervention Required**: Sometimes the script may fail to complete the process automatically. In such cases:\n   - The script will indicate that manual completion is needed\n   - You can continue the process manually by messaging @Stickers\n   - Follow the bot's prompts to complete the sticker pack creation\n\n2. **Common Issues**:\n   - Bot response delays: The script includes delays between actions, but sometimes the bot may need more time\n   - Network issues: Ensure you have a stable internet connection\n   - Rate limiting: If you create multiple packs, Telegram may temporarily limit your actions\n\n3. **If the Script Fails**:\n   - Check the error message for specific details\n   - You can start a new conversation with @Stickers and complete the process manually\n   - The bot will guide you through the remaining steps\n\nRemember that while the script automates most of the process, you may need to complete some steps manually if unexpected issues arise.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiennm99%2Fbulk-telegram-sticker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiennm99%2Fbulk-telegram-sticker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiennm99%2Fbulk-telegram-sticker/lists"}