https://github.com/deep5050/custom-thumbnail
A GitHub action that recursively creates custom thumbnails keeping aspect ratio and directory structure unchanged :)
https://github.com/deep5050/custom-thumbnail
actions aspect-ratio compress-images github-actions image image-compression resize-images thumbnail thumbnail-generator
Last synced: 2 months ago
JSON representation
A GitHub action that recursively creates custom thumbnails keeping aspect ratio and directory structure unchanged :)
- Host: GitHub
- URL: https://github.com/deep5050/custom-thumbnail
- Owner: deep5050
- License: gpl-3.0
- Created: 2020-07-24T07:04:07.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T16:54:42.000Z (over 5 years ago)
- Last Synced: 2025-02-22T06:25:06.440Z (over 1 year ago)
- Topics: actions, aspect-ratio, compress-images, github-actions, image, image-compression, resize-images, thumbnail, thumbnail-generator
- Language: Python
- Homepage:
- Size: 343 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

inplace conversion . configurable
```yaml
name: custom-thumbnail
on: [push]
jobs:
build:
name: custom-thumbnail
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: custom-thumbnail
uses: deep5050/custom-thumbnail@master
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
inplace: "disable" # 'enable' / "disable" [ write thumbnails at their origin path (replace) ], if disabled writes under '.thumbnails' directory
base_height_width: "500" # (px) max limit of height/width
keep_dir_structure: "enable" # 'enable'/'disable' keep the input images directory structure while writing to .thumbnails directory
- name: Commit & Push changes
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
## License
>GNU Public License
## Bugs
[submit bugs here](https://github.com/deep5050/custom-thumbnail/issues)
## Want To Contribute?
All kinds of contributions are welcome :raised_hands:! The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon: You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/deep5050) :clap: or by making a [Paypal donation](https://www.paypal.me/deep5050) to ensure this journey continues indefinitely! :rocket:
Thanks again for your support, it is much appreciated! :pray:
## Related Works
[qikQR](https://github.com/deep5050/qikQR) . [autobadge](https://github.com/deep5050/autobadge) . [qikstart](https://github.com/deep5050/qikstart)