A cli tool to watch movies, series and animes in Portuguese. This tool scrapes the site vizertv
English |
Рortuguês
Showcase
[vizer-cli](https://github.com/user-attachments/assets/6ef85494-1937-4ee3-bc40-a3e656c6ec38)
## Table of Contents
- [Dependencies](#dependencies)
- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [Contributing](#contributing)
## Dependencies
> [!IMPORTANT]
> For the program to work, you need two essential things: a webdriver and a media player.
>
> You also need [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) to build the project.
By default, vizer-cli uses [chromedriver](https://developer.chrome.com/docs/chromedriver) and [vlc](https://www.videolan.org/vlc/), but you can also use [geckodriver](https://github.com/mozilla/geckodriver/releases) and [mpv](https://mpv.io/) as an alternative.
You can install the dependencies on Arch Linux using the following command.
```sh
yay -S chromedriver vlc
```
To use the image-preview feature, you need to have [ueberzug](https://github.com/ueber-devel/ueberzug) installed, but you can also use [ueberzugpp](https://github.com/jstkdng/ueberzugpp) if you create an alias with the following command.
```sh
alias ueberzug='ueberzugpp'
```
> [!WARNING]
> Ueberzug doesn't support Windows, so you need something like WSL to use the image-preview feature.
> [!TIP]
> If you have Chromium installed, you don't need to install chromedriver because it's already installed
## Installation
For now, the only installation method is to compile from source.
```sh
git clone https://github.com/anotherlusitano/vizer-cli.git
cd vizer-cli/
cargo build --release
```
After that, you will have the program executable in `./target/release/`
## Usage
```
CLI tool to watch movies/series/animes in portuguese
Usage: vizer-cli [OPTIONS]
Commands:
search, -s Search for your content
help Print this message or the help of the given subcommand(s)
Options:
-e, --english Change all the texts in the app to english
-m, --mpv Use MPV media player instead of VLC
-g, --geckodriver Use geckodriver instead of chromedriver
-v, --vim VIM Mode for the enthusiast
-i, --image-preview Enable you to see the posters as you choose them
-h, --help Print help
-V, --version Print version
```
### Examples
Search content:
```sh
vizer-cli -s attack on titan
```
Use geckodriver and mpv:
```sh
vizer-cli -g -m -s darling
```
Use text in English and the image-preview feature:
```sh
vizer-cli -e -i -s dragões
```
## Contributing
Contributions are always welcome! To contribute, please follow these steps:
1. Fork the repository
2. Create a new branch
3. Make your changes
4. Use `cargo fmt` and fix all `clippy` warnings
5. Push your changes to your fork
6. Submit a pull request
Or, if you have any features ideas, go to the issues page and post them there