Giter Club home page Giter Club logo

vizer-cli's Introduction

A cli tool to watch movies/series/animes in portuguese. This tool scrapes the site vizer


Showcase

vizer-cli-demo.mp4

Warning

This project is not finished. Don't have any high expectations.

Usage

CLI tool to watch movies/series/animes in portuguese

Usage: vizer-cli [OPTIONS] <COMMAND>

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
  -v, --vim            VIM Mode for the enthusiast
  -i, --image-preview  Enable you to see the posters as you choose them
  -h, --help           Print help

Dependencies

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

vizer-cli's People

Contributors

anotherlusitano avatar harunashii avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

harunashii

vizer-cli's Issues

Support for Windows

It would be cool if we could support Windows so those Windows folks could be as cool as us xD

Jokes aside, I think expanding the number of people who can use the app will help it grow

Add version flag

Just a flag to print the version of the app and ignore the rest of the arguments.
The version is in the Cargo.toml

Add menu after finish the video

Just a simple menu that can make the user:

  • Watch the next episode (if it exists)
  • Rewatch the movie/episode
  • Watch the previous episode (if it exists)
  • Search for something else
  • Quit the app

the application does not start again if the application was not properly closed (only if using the image preview feature)

if you kill the "vizer-cli" (by closing the terminal or via one task manager) while is in the choose media screen with the "--image-preview" flag enabled, the app won't open again if you try to open with the flag "--image-preview", due to the app trying to create the temporary folder for the "image preview" that already was created previously.

to fix this issue you can make the function create_temp_dir() [located in "src/fs/temp_dir.rs"] only create the folder if the folder doesn't already exist.

you can do this with the std::path; crate

example:

use std::path::Path;

fn example_fn()
{
         if !Path::new("/path/to/folder").exists()
         {
                   // Do One Action If The Folder Doesn't Exist
         }
}

Text missing when using --image-preview flag

when using the --image-preview flag all the texts like
("Total of episodes to watch:", "Select the episode you want watch:". "Total of media to watch:", "Select what you want to watch:")
doesn't appear on the screen

without the --image-preview flag
image
with the --image-preview flag
image

Translation to Portuguese

It would be cool to have the default language set to portuguese instead of english.

Its just translate all the prompts and messages to portuguese.

Support geckodriver

At the moment, the user can only use the app if they have chromedriver, so I propose to create a flag, firefox or geckodriver, to enable the use of geckodriver instead of chromedriver

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.