{"id":29480936,"url":"https://github.com/redstonecraftgg/webpcon","last_synced_at":"2025-07-14T23:55:07.848Z","repository":{"id":304651471,"uuid":"1018993910","full_name":"RedStoneCraftGG/WebpCon","owner":"RedStoneCraftGG","description":"A simple tool for mass converting images (JPG, PNG, BMP, GIF, TIFF) to WebP in project folders. (Best use for React projects)","archived":false,"fork":false,"pushed_at":"2025-07-14T11:15:58.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-14T14:50:40.922Z","etag":null,"topics":["converter","go","golang","image","react","reactjs-components","vite","vitejs","vitejs-react","webp"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedStoneCraftGG.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-07-13T14:05:31.000Z","updated_at":"2025-07-14T11:16:02.000Z","dependencies_parsed_at":"2025-07-14T14:50:44.746Z","dependency_job_id":"fd752658-ce99-4cc8-a740-1d038c5e8bcd","html_url":"https://github.com/RedStoneCraftGG/WebpCon","commit_stats":null,"previous_names":["redstonecraftgg/webpcon"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/RedStoneCraftGG/WebpCon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedStoneCraftGG%2FWebpCon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedStoneCraftGG%2FWebpCon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedStoneCraftGG%2FWebpCon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedStoneCraftGG%2FWebpCon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedStoneCraftGG","download_url":"https://codeload.github.com/RedStoneCraftGG/WebpCon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedStoneCraftGG%2FWebpCon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265375370,"owners_count":23755221,"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","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","go","golang","image","react","reactjs-components","vite","vitejs","vitejs-react","webp"],"created_at":"2025-07-14T23:55:05.530Z","updated_at":"2025-07-14T23:55:07.842Z","avatar_url":"https://github.com/RedStoneCraftGG.png","language":"Go","readme":"# WebP Converter\r\n\r\nA simple tool for mass converting images (JPG, PNG, BMP, GIF, TIFF) to WebP in project folders. It supports automatic backup of original files and a revert feature (restoring original files from backup).\r\n\r\nI use it for mass conversion of my project files (mostly Vite and React.js). Instead of discarding them, it's better to keep them.\r\n\r\n## Main Features\r\n\r\n- Converts all images in the folder to WebP (including subfolders)\r\n- Automatically backs up original files to .webpcon_backup\r\n- Revert feature: restores original files and deletes WebP files\r\n- Supports Windows \u0026 Linux (cross-platform)\r\n\r\n## Installation\r\n\r\nMake sure to install GCC (MinGW) or similar before building!\r\n\r\n### Windows\r\n\r\n```\r\ngo mod tidy\r\ngo build -o webcon.exe main.go\r\n```\r\n\r\nor run `build.bat`\r\n\r\n### Linux\r\n\r\n```sh\r\ngo mod tidy\r\ngo build -o webcon main.go\r\n```\r\n\r\nor run `build.sh`\r\n\r\n## Usage\r\n\r\n### Convert to WebP\r\n\r\n```\r\nwebcon \u003cproject-folder\u003e\r\n```\r\n\r\n### Revert\r\n\r\n```\r\nwebcon \u003cproject-folder\u003e revert\r\n```\r\n\r\n*Note*: Backup files will be saved in `.webcon_backup`\r\n\r\n## Known Issue\r\n\r\nFor the `.gif` format, it will be converted to a static image on the first frame. If you wish to convert it to an animated WebP anyway, use `--gif`, but I would not recommend it due to the limitations of the go-native library.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredstonecraftgg%2Fwebpcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredstonecraftgg%2Fwebpcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredstonecraftgg%2Fwebpcon/lists"}