{"id":30357223,"url":"https://github.com/7591yj/tg-webm-converter","last_synced_at":"2025-08-19T07:08:32.651Z","repository":{"id":309924352,"uuid":"1037943847","full_name":"7591yj/tg-webm-converter","owner":"7591yj","description":"Convert images to Telegram WebM stickers.","archived":false,"fork":false,"pushed_at":"2025-08-14T16:21:27.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T16:30:39.871Z","etag":null,"topics":["converter","telegram","webm"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/tg-webm-converter/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7591yj.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,"zenodo":null}},"created_at":"2025-08-14T11:16:03.000Z","updated_at":"2025-08-14T15:38:34.000Z","dependencies_parsed_at":"2025-08-14T16:30:43.185Z","dependency_job_id":"a73ce48f-1887-4d86-b808-a08b9e890cdc","html_url":"https://github.com/7591yj/tg-webm-converter","commit_stats":null,"previous_names":["7591yj/tg-webm-converter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/7591yj/tg-webm-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7591yj%2Ftg-webm-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7591yj%2Ftg-webm-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7591yj%2Ftg-webm-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7591yj%2Ftg-webm-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7591yj","download_url":"https://codeload.github.com/7591yj/tg-webm-converter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7591yj%2Ftg-webm-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271114922,"owners_count":24701635,"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-08-19T02:00:09.176Z","response_time":63,"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":["converter","telegram","webm"],"created_at":"2025-08-19T07:08:27.760Z","updated_at":"2025-08-19T07:08:32.642Z","avatar_url":"https://github.com/7591yj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram WebM Converter\n\n\u003e This project started off as\n\u003e a [shell script](https://github.com/7591yj/converts/blob/main/batch_convert_telegram_webm.sh) for my own personal\n\u003e needs\n\u003e , so please do expect some rough edges.\u003cbr\u003e\n\u003e If you find any bugs or have suggestions, please open an issue.\n\u003e Thank you for your feedback!\n\nConvert images to Telegram WebM stickers.\n\n## Features\n\n- Convert an image to 100x100 WebM icon (max 32KB)\n- Convert images to 512x512 WebM stickers (max 256KB)\n- Batch processing support\n- Automatic size optimization\n\n## Requirements\n\n- Python 3.8+\n- FFmpeg\n\nThis application requires [FFmpeg](https://ffmpeg.org/) to be installed on your system.\nFFmpeg is open-source software licensed under the LGPLv2.1/GPLv2 (or later).\nPlease refer to the FFmpeg website for more details on its licensing.\n\n## Installation\n\n```bash\npip install tg-webm-converter\n```\n\n## Usage\n\n```bash\n# Convert all images in current directory\ntg-webm-converter\n\n# Convert specific file to icon, others to stickers\ntg-webm-converter -i icon.png\n\n# Convert only one file to sticker\ntg-webm-converter -f image.jpg\n\n# Convert only one file to icon\ntg-webm-converter --icon-file icon.png\n```\n\n## Build from Source\n\n### Prerequisites\n\n- Python 3.8+\n- Poetry: `curl -sSL https://install.python-poetry.org | python3 -`\n- [FFmpeg](https://ffmpeg.org/): As mentioned above, FFmpeg is a core dependency. Ensure it's installed and accessible\n  in your system's PATH.\n\n### Setup\n\n1. Clone the repository\n\n    ```bash\n    git clone https://github.com/7591yj/tg-webm-converter.git\n    cd tg-webm-converter\n    ```\n\n2. Install Dependencies with Poetry\n\n   Poetry will automatically create a virtual environment for the project and install all required dependencies.\n\n    ```bash\n    poetry install\n    ```\n\n### Running from Source\n\nOnce the development environment is set up, you can run the tg-webm-converter command directly using Poetry's run\ncommand:\n\n```bash\n# Run the application (same as `tg-webm-converter` if installed via pip)\npoetry run tg-webm-converter\n\n# Example: Convert all images in current directory\npoetry run tg-webm-converter\n\n# Example: Convert specific file to icon\npoetry run tg-webm-converter --icon-file icon.png\n\n# Run tests\npoetry run pytest\n```\n\n## Future Plans\n\n- Consider a GUI version for easier use.\n- Optimize performance for large batch conversions. \n- Explore options for even smaller file sizes.\n\n## License\n\nMIT License","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7591yj%2Ftg-webm-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7591yj%2Ftg-webm-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7591yj%2Ftg-webm-converter/lists"}