GithubHelp home page GithubHelp logo

rendevior / hayanime Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 2.0 199 KB

Yet another simple script that can watch or download anime

License: GNU General Public License v3.0

Shell 100.00%
anime cli bash emina-cli ani anime-downloader downloader watch-anime shell

hayanime's Introduction

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)

hayanime's People

Contributors

fearocanity avatar rendevior avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

stl3 izwanizany

hayanime's Issues

QualityPicker: command not found

I run into this error just after choosing episode and quality

I get the message "Please Wait... I'm doing my Job" but then this happens:

# /usr/local/sbin/emina-cli: line 599: QualityPicker: command not found

And the cli exits

Integer Error when playing Half/Special Episode

When playing 86 Season 2, i'm encountering /bin/hayanime: line 700: [: 6.5: integer expression expected
but playing still works in previous version before the range of episode added v2.4.3
image

Can't find project

TheGlockMisc/TorrentTGBlock

I can't find this project it write 404 error

can you send this project to me or your contact method

thanks for helping

my email was [email protected]

Hope can help me

Before I have google search there have a lot same method example block torrent or p2p with iptables

because after complete save , then I retest it failed but I have test your TorrentTGBlock it works great

I found your project in phcorner

but today I need rebuild the vps ( upgrade os ) this project gone .... I can't find other method to block torrent in my vps

hope you can sell this project to me my contact method : [email protected]

I promise only personal using and never sharing with other , thanks

Improvements will be added/changed Soon

Soon to be applied/added, Working on it. v1.0.0

  • Adding more Sources (Depends)
  • Truncate Code to as Much Shorter Version (To Make it as Simple as Possible)
  • Rearranging the Code
  • Faster Error/Parsing Checks
  • Removing Useless/Unnecessary Dependencies (If Possible)
  • Supporting Other Video Players
  • Bug Fixing
  • Argument Parsing Changes and Long Options #1

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.