GithubHelp home page GithubHelp logo

ekkolon / youtube-thumbnail-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 40 KB

Fast, cross-platform CLI tool for generating high-quality YouTube thumbnails

License: Apache License 2.0

Rust 100.00%
cli rust thumbnail-generator thumbnails youtube

youtube-thumbnail-generator's Introduction

YouTube Thumbnail Generator

This project is a work in progress.

Fast, cross-platform CLI tool for generating high-quality YouTube thumbnails.

Table of Contents

CLI Reference

Usage

ytthumb [OPTIONS] <PATH>

Arguments

<PATH> Local image file path for generating the thumbnail

Options

-n, --name <OUT_NAME>

Generated thumbnail name. If not specified, the input filename is used with '_thumb' appended

-d, --outDir <OUT_DIR>

Specifies the output directory for the thumbnail. If unspecified, it defaults to the user's platform-specific Pictures folder

-f, --format <FORMAT>

The thumbnail's output format

Possible values:

  • png
  • jpg / jpeg

-s, --sampling <SAMPLING_FILTER>

Sampling algorithm to use for thumbnail generation

Possible values:

  • nearest: Nearest Neighbor
  • triangle: Linear Filter
  • catmull-rom: Cubic Filter
  • gaussian: Gaussian Filter
  • lanczos3: Lanczos with window 3

-h, --help

Print help (see a summary with '-h')

-V, --version

Print version

Authors

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

Roadmap

This project's roadmap will be announced soon. Stay tuned for updates!

Feedback

If you have any feedback, please reach out at [email protected]

youtube-thumbnail-generator's People

Contributors

ekkolon avatar

Watchers

 avatar

youtube-thumbnail-generator's Issues

Use claps `default_value` | `default_value_t` instead of duplicating them in `NormalizedArgs` struct

In the current implementation of our project, we use two structs:

  • Args to hold input arguments
  • NormalizedArgs to represent populated non-optional values for input fields defined in Args.

We should utilize the built-in default_value and default_value_t attributes provided by the clap crate. These attributes allow us to specify default values directly within the CLI argument definitions. By using these attributes, we can eliminate the redundancy of having default values in both the argument definitions and the NormalizedArgs struct, or rather remove NormalizedArgs altogether and make input arguments with defaults required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.