{"id":20779071,"url":"https://github.com/jjwizardmp/bash-script-image-to-webp","last_synced_at":"2026-05-18T06:14:11.488Z","repository":{"id":156560394,"uuid":"595942636","full_name":"JJWizardMP/Bash-Script-Image-to-Webp","owner":"JJWizardMP","description":"A Bash Script that allows us download, transform and load all images from a CDN","archived":false,"fork":false,"pushed_at":"2023-02-01T05:59:25.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T14:45:11.245Z","etag":null,"topics":["bash","bash-script","cwebp","linux-shell","wget"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JJWizardMP.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":"2023-02-01T05:54:22.000Z","updated_at":"2023-02-01T05:57:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"36729941-009a-41a5-ace2-426826761d84","html_url":"https://github.com/JJWizardMP/Bash-Script-Image-to-Webp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JJWizardMP/Bash-Script-Image-to-Webp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JJWizardMP%2FBash-Script-Image-to-Webp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JJWizardMP%2FBash-Script-Image-to-Webp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JJWizardMP%2FBash-Script-Image-to-Webp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JJWizardMP%2FBash-Script-Image-to-Webp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JJWizardMP","download_url":"https://codeload.github.com/JJWizardMP/Bash-Script-Image-to-Webp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JJWizardMP%2FBash-Script-Image-to-Webp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","bash-script","cwebp","linux-shell","wget"],"created_at":"2024-11-17T13:25:53.825Z","updated_at":"2026-05-18T06:14:11.459Z","avatar_url":"https://github.com/JJWizardMP.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Image To Webp\r\n[//]: ![](https://cdn.travelpulse.com/images/99999999-9999-9999-9999-999999999999/9ad39357-0a71-33e2-023b-939625f6847b/500x309.jpg)\r\n![](https://i.ytimg.com/vi/PPQ8m8xQAs8/maxresdefault.jpg)\r\n\r\n## Introduction\r\n\r\nCreate a bash script for download all (.png|.jpg) images from a CDN, transform to (.webp) and Load in the same CDN and teh correct directory\r\n\r\n- s3cmd: S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3 and other cloud storage service providers that use the S3 protocol\r\n\r\n## Requeriments\r\n\r\n- Write a bash script that allows download all (.png|.jpg) images from a CDN, transform to (.webp) and Load in the same CDN and teh correct directory\r\n\r\n## Technologies\r\n\r\n#### Command line\r\n\r\n| [s3cmd](https://s3tools.org/s3cmd)  |\r\n| :----------------------------------: |\r\n\r\n### Image to Webp Script:\r\n\r\nThis script download, transform and load to space CDN\r\n\r\nWe have to assign execute permissions to be able to execute it correctly by Cron, otherwise it will not have execute permissions (Do not forget config your .env and add your database credentials):\r\n\r\n```sh\r\nchmod ugo+x script.sh \r\n```\r\n\r\nRun the main script.\r\n\r\n```sh\r\n./script.sh\r\n```\r\n## Contributors\r\n\r\nThis project was written by:\r\n\r\n- Programmer :\r\n  - [Joan de Jesús Méndez Pool](https://github.com/JJWizardMP)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjwizardmp%2Fbash-script-image-to-webp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjwizardmp%2Fbash-script-image-to-webp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjwizardmp%2Fbash-script-image-to-webp/lists"}