{"id":20144844,"url":"https://github.com/alextraveylan/ecoconvert","last_synced_at":"2025-03-03T00:11:26.641Z","repository":{"id":260176295,"uuid":"870889463","full_name":"AlexTraveylan/ecoconvert","owner":"AlexTraveylan","description":"Convert images from jepg to webp or avif with rust","archived":false,"fork":false,"pushed_at":"2025-02-09T18:15:53.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T19:25:02.739Z","etag":null,"topics":["ecodesign"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/AlexTraveylan.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":"2024-10-10T21:14:47.000Z","updated_at":"2025-02-09T18:15:55.000Z","dependencies_parsed_at":"2024-10-30T00:44:51.159Z","dependency_job_id":null,"html_url":"https://github.com/AlexTraveylan/ecoconvert","commit_stats":null,"previous_names":["alextraveylan/ecoconvert"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexTraveylan%2Fecoconvert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexTraveylan%2Fecoconvert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexTraveylan%2Fecoconvert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexTraveylan%2Fecoconvert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexTraveylan","download_url":"https://codeload.github.com/AlexTraveylan/ecoconvert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241587868,"owners_count":19986628,"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":["ecodesign"],"created_at":"2024-11-13T22:12:28.227Z","updated_at":"2025-03-03T00:11:26.616Z","avatar_url":"https://github.com/AlexTraveylan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ecoconvert 🌱\n\nA high-performance command-line tool for converting and optimizing images to modern, bandwidth-efficient formats (WebP, AVIF).\n\n## Features ✨\n\n- Convert images to AVIF and WebP formats\n- Resize images (percentage or specific dimensions)\n- Quality optimization\n- Parallel processing support\n- Simple command-line interface\n\n## Installation 🚀\n\n### Prerequisites\n\n- Rust 1.56 or higher\n- Cargo (Rust package manager)\n\n### Building from source\n\n```bash\n# Clone the repository\ngit clone https://github.com/AlexTraveylan/ecoconvert.git\ncd ecoconvert\n\n# Build with default features (includes parallel processing)\ncargo build --release\n\n# The binary will be available at target/release/ecoconvert\n```\n\n## Usage\n\n```bash\n# Basic conversion\necoconvert -i input.jpg -o output.avif\n\n# Set quality (0-100)\necoconvert -i input.jpg -o output.webp --quality 30\n\n# Resize by percentage\necoconvert -i input.jpg -o output.avif --resize 50%\n\n# Set specific width (maintains aspect ratio)\necoconvert -i input.jpg -o output.webp --width 800\n\n# Set specific height (maintains aspect ratio)\necoconvert -i input.jpg -o output.avif --height 600\n\n# Set both width and height\necoconvert -i input.jpg -o output.webp --width 800 --height 600\n```\n\n### Command Options\n\n```\nOptions:\n  -q, --quality \u003cQUALITY\u003e    Set compression quality (0-100) [default: 75]\n  -r, --resize \u003cPERCENT\u003e     Resize image by percentage (e.g., \"50%\")\n  -w, --width \u003cWIDTH\u003e        Set specific width in pixels\n  -h, --height \u003cHEIGHT\u003e      Set specific height in pixels\n  -h, --help                 Print help\n  -V, --version             Print version\n```\n\n### Supported Formats\n\nInput:\n- JPEG/JPG\n\nOutput:\n- AVIF\n- WebP\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falextraveylan%2Fecoconvert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falextraveylan%2Fecoconvert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falextraveylan%2Fecoconvert/lists"}