{"id":31534054,"url":"https://github.com/yazmeyaa/telegram_sticker_converter","last_synced_at":"2026-05-19T14:31:46.543Z","repository":{"id":313558586,"uuid":"1051310821","full_name":"yazmeyaa/telegram_sticker_converter","owner":"yazmeyaa","description":"Converter for Telegram stickers and animations into various formats.","archived":false,"fork":false,"pushed_at":"2025-09-14T19:41:18.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-14T21:30:38.451Z","etag":null,"topics":["animation","converter","ffmpeg","gif","go","golang","graphics","library","lottie","mp4","multimedia","tgs","webm","webp"],"latest_commit_sha":null,"homepage":"","language":"Go","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/yazmeyaa.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-05T19:15:49.000Z","updated_at":"2025-09-14T19:39:57.000Z","dependencies_parsed_at":"2025-09-06T22:26:11.311Z","dependency_job_id":"967ac5b9-d2fd-473f-87a1-177a46dde933","html_url":"https://github.com/yazmeyaa/telegram_sticker_converter","commit_stats":null,"previous_names":["yazmeyaa/telegram_sticker_converter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yazmeyaa/telegram_sticker_converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazmeyaa%2Ftelegram_sticker_converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazmeyaa%2Ftelegram_sticker_converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazmeyaa%2Ftelegram_sticker_converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazmeyaa%2Ftelegram_sticker_converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yazmeyaa","download_url":"https://codeload.github.com/yazmeyaa/telegram_sticker_converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yazmeyaa%2Ftelegram_sticker_converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266896,"owners_count":25958733,"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-04T02:00:05.491Z","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":["animation","converter","ffmpeg","gif","go","golang","graphics","library","lottie","mp4","multimedia","tgs","webm","webp"],"created_at":"2025-10-04T05:16:40.476Z","updated_at":"2025-10-04T05:16:45.293Z","avatar_url":"https://github.com/yazmeyaa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Sticker Converter\n\nConverter for Telegram stickers and animations into various formats.\\\nSupports **TGS**, **WEBP**, **WEBM**, with the ability to extract single\nframes, frame sequences, or convert to video.\n\n## Features\n\n-   Support for main Telegram sticker formats: `TGS`, `WEBP`, `WEBM`\n-   Conversion to static images, animations, and videos\n-   Flexible frame extraction: first, single, range, or all frames\n-   Resizing on transformation\n-   Easy to use as a Go library\n\n## Requirements\n\n-   **Go** ≥ 1.24\\\n-   **ffmpeg** ≥ 7.1.1 (for video/animations)\n\n## Supported conversions\n\n| Input    | Output                                                                                                       |\n| -------- | ------------------------------------------------------------------------------------------------------------ |\n| **TGS**  | PNG (first, all, N-th, range) \u003cbr\u003e JPEG (same) \u003cbr\u003e WEBP (same) \u003cbr\u003e Lottie JSON \u003cbr\u003e GIF \u003cbr\u003e WEBM \u003cbr\u003e MP4 |\n| **WEBP** | PNG \u003cbr\u003e JPEG                                                                                                |\n| **WEBM** | MP4 \u003cbr\u003e GIF \u003cbr\u003e PNG (first, all, N-th, range) \u003cbr\u003e JPEG (same) \u003cbr\u003e WEBP (same)                            |\n\n## Installation\n\n``` bash\ngo get github.com/yazmeyaa/telegram_sticker_converter\n```\n\n## Usage examples\n\n\u003e General pattern: open input file, create output file, pass\n\u003e `TransformOptions`.\n\n### Extract frame from TGS\n\n``` go\nconv := tgs.NewConverter()\n\nr, _ := os.Open(\"./sticker.tgs\")\ndefer r.Close()\n\nw, _ := os.Create(\"./sticker.png\")\ndefer w.Close()\n\nopts := converter.TGSTransformOptions{\n    Format:     converter.FormatPNG,\n    Frame:      converter.FrameN,\n    FrameIndex: 10,\n    ResizeWidth:  1024,\n    ResizeHeight: 1024,\n}\n\n_ = conv.Transform(context.Background(), r, w, opts)\n```\n\n### Convert TGS → MP4\n\n``` go\nopts := converter.TGSTransformOptions{\n    Format:      converter.FormatMP4,\n    ResizeWidth: 1024,\n    ResizeHeight: 1024,\n}\n_ = conv.Transform(ctx, r, w, opts)\n```\n\n### Convert TGS → ZIP with frames\n\n``` go\nopts := converter.TGSTransformOptions{\n    Format:      converter.FormatPNG,\n    Frame:       converter.FrameAll,\n    ResizeWidth: 1024,\n    ResizeHeight: 1024,\n}\n_ = conv.Transform(ctx, r, w, opts)\n```\n\n## License\n\nGPLv3","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazmeyaa%2Ftelegram_sticker_converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyazmeyaa%2Ftelegram_sticker_converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyazmeyaa%2Ftelegram_sticker_converter/lists"}