Giter Site home page Giter Site logo

anime-cli's Introduction

anime-cli

Command Line Interface to find, download, and stream anime.

Usage

Usage: anime-cli -q "QUERY" [-e NUMBER] [-b NUMBER] [-r NUMBER] [-n] [-x] [-h]

Options:                               
-q, --query         QUERY   Query to run
-e, --episode       NUMBER  Episode number
-b, --batch         NUMBER  Download episodes from -e up to -b
-r, --resolution    NUMBER  Specifies resolution, default is 720, put 0 in order to remove resolution from search

-x, --explore               Browse the local collection, allow you to watch downloaded shows or delete folders
-n, --noshow                Do not automatically open media player
-h, --help                  Print this help menu

Calling anime-cli without any flags and arguments or double clicking the executable (if you're on Windows) will cause it to prompt the user for inputs.

Examples:

$ anime-cli -q "steins gate 0" -e 1
[HorribleSubs] Steins Gate 0 - 01 [720p].mkv": 2.23 MB / 322.02 MB [>--------] 0.69 % 1.05 MB/s 5m
$ anime-cli -q "unknown anime" -e 14
Could not find any result for this query.
$ anime-cli -q "Sakamoto Desu ga" -b 12
[HorribleSubs] Sakamoto desu ga - 01 [720p].mkv: 329.73 MB / 329.73 MB [==========================] 100.00 % 4.69 MB/s
[HorribleSubs] Sakamoto desu ga - 02 [720p].mkv: 329.07 MB / 329.07 MB [==========================] 100.00 % 4.95 MB/s
[HorribleSubs] Sakamoto desu ga - 03 [720p].mkv: 215.03 MB / 329.65 MB [================>---------]  65.23 % 4.23 MB/s
[HorribleSubs] Sakamoto desu ga - 04 [720p].mkv: 144.81 MB / 329.33 MB [===========>--------------]  43.97 % 4.10 MB/s
...
$ anime-cli -x
Use arrow keys to navigate
Enter to Select | Esc to Quit | Del to Delete | S to Show Hidden Items: false
If you have mpv, hit Q to play all media in current folder
\anime
List of animes | Page 1 of 1:
[โ–ˆ] attack on titan 720 | 24 episode(s)
[ ] sakamoto 720 | 12 episode(s)
[ ] vinland saga 1080 | 14 episode(s)
[ ] Your Name | 1 episode(s)

If you've chosen to use MPV, as soon as you start downloading, MPV will open and begin playing the media file. If you're downloading multiple files at once, it will automatically move onto the next movie when the previous movie ends.

Pre-requisites

In order to play videos you will need mpv.

However, if you do not wish to autoplay videos, you can do cargo build --release --no-default-features

Archlinux

# pacman -S mpv

Debian-based

# apt-get install libmpv1

Windows

libmpv can be found here for windows. Click on [Dev] Extract files to any location. Copy from x86_64 for 64bit or i686 for 32bit the following files.

libmpv.dll.a -> $(project)/target/debug/deps/ and rename to mpv.lib

mpv-1.dll -> where anime-cli.exe is

Disclaimer

When downloading anime, users are subject to country-specific software distribution laws. anime-cli is not designed to enable illegal activity. We do not promote piracy nor do we allow it under any circumstances. You should own an original copy of every content downloaded through this tool. Please take the time to review copyright and video distribution laws and/or policies for your country before proceeding.

Todo

  • Support more media viewers such as VLC (if you compile without mpv it'll open in your default media player)
  • Make this work on android (You can install a linux environment and use this tool to just download)
  • A search only function as well as select correct anime from list
  • A watch only mode for already downloaded movies (Done! use -x)
  • Make an anime log so you can resume where you left off
  • Add a graphical interface (opens a terminal with inputs, close enough)

anime-cli's People

Contributors

deguitard avatar exkitsune avatar

Watchers

 avatar

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.