https://github.com/iffse/fetch-preview
A utility to download preview images from given links.
https://github.com/iffse/fetch-preview
Last synced: 3 months ago
JSON representation
A utility to download preview images from given links.
- Host: GitHub
- URL: https://github.com/iffse/fetch-preview
- Owner: iffse
- License: other
- Created: 2023-07-25T13:21:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-27T18:59:29.000Z (almost 2 years ago)
- Last Synced: 2025-01-24T19:34:20.648Z (5 months ago)
- Language: Rust
- Homepage: https://codeberg.org/iff/fetch-preview
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fetch-preview
A utility to fetch preview images from given links.
This tool can come handy when you kept a large list of links, and you don't want to check the contents manually.
The initiative of this project is to provide a preview for my MPV playlist that I use as a [music player](https://codeberg.org/iff/dotfiles/src/branch/main/shell/ms).
## Usage
Example:
```
cargo run --release - --file path/to/file/with/links
```Usages:
```
Usage: fetch-preview [OPTION]...
Fetches a preview image for a link or a list of links in a file.Options:
-f, --file FILE Fetches a preview image for each link in FILE.
-l, --link LINK Fetches a preview image for LINK.
-o, --output_dir DIR Sets the output directory to DIR. (default: ./preview)
-h, --help Shows this help.
```