Skip to content

Tatsuonline/suboptimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

suboptimal


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.

Installation

There are three different options here: installation through the package manager, manual installation of the binary or manual installation after building it from source.

Package Manager

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.

Manual Installation Of The Binary

Navigate to the releases tab and download the binary named suboptimal.

Manually install it:

mv suboptimal /usr/bin/

Manual Installation After Building From Source

Clone this repository:

git clone https://github.com/Tatsuonline/suboptimal.git

Build the release:

cargo build --release

Install it:

cargo install --path .

Documentation

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

About

A command line interface to download subtitles for a given video.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages