Suboptimal is a minimalistic command line interface (CLI) subtitle finder written in Rust. It works for any video, movie or TV show you have! If the subtitles exist on a publically available database online, suboptimal will find and download it for you.
Currently, suboptimal uses the SubDB API to pull subtitles, with more APIs to added soon.
There are three different options here: installation through the package manager, manual installation of the binary or manual installation after building it from source.
This is the simplest option if you use the pacman package manager. You can navigate to the releases tab and download the package named suboptimal-1.0-1-x86_64.pkg.tar.xz.
Run the installation:
pacman -U suboptimal-1.0-1-x86_64.pkg.tar.xz
I will try to add this package into AUR later to make it even easier.
Navigate to the releases tab and download the binary named suboptimal.
Manually install it:
mv suboptimal /usr/bin/
Clone this repository:
git clone https://github.com/Tatsuonline/suboptimal.git
Build the release:
cargo build --release
Install it:
cargo install --path .
suboptimal 0.1.0
Finds and downloads subtitles for videos.
USAGE:
suboptimal [FLAGS] [OPTIONS] <file>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
-v, --verbose Prints details as the program runs
OPTIONS:
-l, --language <language> Specifies the language of the subtitles to download [default: en]
ARGS:
<file> The path to the file or directory of files for which to get subtitles for