{"id":22350189,"url":"https://github.com/planetoftheweb/generate-thumbnails","last_synced_at":"2025-03-26T11:26:09.556Z","repository":{"id":147412861,"uuid":"377311237","full_name":"planetoftheweb/generate-thumbnails","owner":"planetoftheweb","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-16T00:03:05.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-07T12:48:12.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/planetoftheweb.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":"2021-06-15T22:48:23.000Z","updated_at":"2022-03-11T13:17:45.000Z","dependencies_parsed_at":"2023-06-09T05:30:20.564Z","dependency_job_id":null,"html_url":"https://github.com/planetoftheweb/generate-thumbnails","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetoftheweb%2Fgenerate-thumbnails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetoftheweb%2Fgenerate-thumbnails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetoftheweb%2Fgenerate-thumbnails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetoftheweb%2Fgenerate-thumbnails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/planetoftheweb","download_url":"https://codeload.github.com/planetoftheweb/generate-thumbnails/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245642883,"owners_count":20648934,"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":[],"created_at":"2024-12-04T11:10:37.349Z","updated_at":"2025-03-26T11:26:09.546Z","avatar_url":"https://github.com/planetoftheweb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Generate/Compress Thumbnails\n\nThis action runs a shell script `entrypoint.sh` file which will expect a folder with images as well as the width you want your thumbnails to be. It will then compress them, and resize them to a specific width (It will automatically calculate the height proportionately).\n\n# Running this action\n\n1. Go to your repo\n2. Click on the **Actions** tab\n3. Click on the **Set up a workflow yourself** link\n4. Use the following script.\n\n```yaml\nname: Generate Thumbnails\non:\n  workflow_dispatch:\njobs:\n  copy-to-branches:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-node@v2\n      - uses: actions/checkout@v2\n        with:\n          fetch-depth: 0\n      - name: Generate Thumbnails Task\n        uses: planetoftheweb/generate-thumbnails\n        env:\n          directory: photos\n          width: 500\n```\n\n5. Click the **Start commit** button\n6. Click back on the **Actions** tab\n7. Click on the **Generate Thumbnails** workflow\n8. Click on **Run Workflow**\n\nThe workflow should run automatically, you can monitor it if you want to.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetoftheweb%2Fgenerate-thumbnails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplanetoftheweb%2Fgenerate-thumbnails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetoftheweb%2Fgenerate-thumbnails/lists"}