Skip to content

Rendevior/hayanime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Hayanime

Yet Another Simple but Powerful Anime Streamer/Downloader

Main Main Main Main Main

Screenrecording_20220604_213705.mp4

Installation

Android (Termux)

Install Dependencies needed

pkg up
pkg in aria2 ffmpeg openssl-tool -y

Now Download and Install

curl -sL -o "${PREFIX}/bin/hayanime" https://raw.githubusercontent.com/TheGlockMisc/hayanime/master/hayanime
chmod +x "${PREFIX}/bin/hayanime"

Note: Setupping MPV for Android is Optional

Setup MPV (For Android Users)

curl -sL -o "${PREFIX}/bin/mpv" "https://raw.githubusercontent.com/TheGlockMisc/mpv-android-argparse/master/mpv"
chmod +x "${PREFIX}/bin/mpv"
  • Open MPV app
  • Click at the top
  • Settings
  • Advanced
  • Edit mpv.conf
  • And insert this:
include="/storage/emulated/0/mpv/mpv.tmp"
  • Click Save

Windows (Gitbash)

Note: Install Dependencies using scoop

• Install Gitbash here
• Run "Gitbash" as Administrator

Now Download and Install

curl -sL -o "/bin/hayanime" https://raw.githubusercontent.com/TheGlockMisc/hayanime/master/hayanime
chmod +x "/bin/hayanime"

Linux | WSL

Install Dependencies needed

sudo <your-package-manager> aria2 ffmpeg mpv openssl

Download and Install

curl -sL -o "${PREFIX}/bin/hayanime" https://raw.githubusercontent.com/TheGlockMisc/hayanime/master/hayanime
chmod +x "${PREFIX}/bin/hayanime"

Usage

Its Simple..

Usage:
    hayanime [-s <server>] [-q <quality>] [-p <player>] [--dub] [anime]
    hayanime [--hist-limit="n"] [-H] [-s <server>]
    hayanime -v | -h | -D | -u
    
Sample Input:
    hayanime -s 1 -q high -p vlc One Piece

To make your life easier, and save your option

echo 'alias hayanime="hayanime <your options>"' >> ~/.bashrc

Prerequisites

  • Essentials
    • grep
    • curl
    • aria2c & FFmpeg (Downloading) / openssl (Decoding)
    • sed
    • awk
  • Players
    • MPV (Linux/Android Users)
    • VLC (Windows Users)
    • IINA (MacOS Users)

Option / Args

 Options:
    -q [low|normal|high]        : Choose specific quality                               
    -s [default|(1-5)]          : Select server                                         
    -p [vlc|built-in]           : Use specific video player (default based on os)              
    --dub                       : Watch Dubbed Anime                                    
    -d                          : Download Mode             
    -H                          : Play Anime from History
    -D                          : Reset History File
    --hist-limit=[n]            : Limit the number of history choices to be showed up in stdout (default: 15)
    --histup                    : Update the entries (for checking new episode released)
    -u                          : Update to the latest Version                          
    -v                          : Print Version and Exit                                
    -h                          : Print Help
 Debugging tools:
    -t                          : Dry Run (for testing servers availability)
    --debug                     : Show Debug (for testing purposes)
Additional Infos...
  • The quality selection on -p built-in and in some servers are not available. (default: Auto)
  • Server Selection is optional, Server 1 is fast but most of the time it always break
  • Incase of the default ones is not working, please choose the backup.
  • Built-in video player is only for termux (Android) users.

Vibration/Notification Signal, you can identify it when:

  • 1 Vibration/s : Something succeeds without errors
  • 2 Vibration/s : An error or something was failed
Exit Codes: Description
0 No Error
1 An Error occured or the process was destructed by an Exception
2 Exited using "Iterrupt"

Features

  • Supported Special Episodes and Range Ex. 6.5 | Ex. 1-5

  • History Sub-Commands

Command What does it do?
next | n Go to the next page
prev | p | back Go to the previous page
update | up Update entries
[n]n Pick and proceed to next episode
[n]p Pick and proceed to previous episode
[n]d Delete a specific entry from history
  • Keybindings on Picker
    • Q or ESC — Exit
    • W or — to go up
    • S or — to go down
    • PGUP — to go to the First Choice
    • PGDN — to go to the Last Choice

Other Features will be available near future.

License

GPL-3.0 license

Bugs & Issues

  • If you found some bugs, feel free to create a New Issue (PRs OPEN)

Releases

No releases published

Packages

No packages published

Languages