Tags: tarampampam/tinifier
Tags
✨ feat: Add option to keep original file after compression (#183) * ✨ feat: Add option to keep original file after compression Adds `--keep-original-file` option to preserve the original file with a `.orig` extension alongside the compressed version. This allows users to retain the original files for archival or other purposes.
♻️ refactor(cli): Improve spacing calculations in stats table (#180) Refactored the spacing logic in the fileStats Table method to ensure proper alignment of columns. This change prevents negative spacing values by using the max function, enhancing the readability of the output.
✨ Major update (v5) (#177) ## 🚀 Features - A configuration file is now supported, allowing you to store all your API keys in one place and forget about them - New flags `--retry-attempts` and `--delay-between-retries` are now available for fine-tuning retry attempts in case of errors - The new `--skip-if-diff-less` feature allows skipping file replacements with compressed content if the difference between the compressed and original versions is less than the percentage defined by this flag - The new `--preserve-time` feature improves the preservation of file creation timestamps, which can be especially useful when compressing photos from your smartphone and wanting to maintain their original order by creation date/time ## Other Changes - No external dependencies are required anymore - everything needed to compile the app is included in the repository source code - Subcommands are no longer needed (instead of `tinifier compress`, simply use `tinifier`) - File extension searches are now case-insensitive - API keys can now be set using a single flag value instead of multiple `--api-key` usages—just use `--api-key "key1,key2,..."` - Added Debian/RedHat/Alpine/AUR repositories support
PreviousNext