HudZah / ConvertlyCLI

A command line tool to execute simple file conversions, image/video manipulations and folder changes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convertly

A command line tool to execute simple file conversions, image/video manipulations and folder changes. Use with conv <query>. Note that your outputs are being used to constantly being fine-tune a model to make it work better over time.

Installation

pip install convertly

Configuration

you will be prompted to configure the tool using your own OpenAI key.

Usage

To use Convertly, you can run the command followed by your query. For example:

> conv convert file.webp to file.png
* dwebp file.webp -o file.png

View the history of your queries with:

conv --history

Or reset your history with:

conv --clear

Example Use Cases

> conv a video in /path/to/video.mp4 to a gif
* ffmpeg -i /path/to/video.mp4 /path/to/video.gif
> conv copy all of Documents/Screenshots to a folder called Screenshots2 in the same directory
* cp -a Documents/Screenshots Documents/test
> conv rotate image.png by 90 degrees
* brew install imagemagick
* convert image.png -rotate 90 rotated_file.png

Support

Convertly wont be perfect; if you run into any issues, please send me a message or create an issue.

About

A command line tool to execute simple file conversions, image/video manipulations and folder changes.

License:MIT License


Languages

Language:Python 50.6%Language:PowerShell 36.6%Language:Shell 12.8%