npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

anim4u

v0.1.9-rc.6

Published

Download Anime Movies and TV series in your terminal

Downloads

3

Readme

anim4u

Download Anime Movies and TV series in your terminal

Overview

Installation

It is highly recommended you have ffmpeg installed on your machine, as some providers will require it to convert TS files to MP4.

  • Linux (Ubuntu/Debian):
sudo apt-get install ffmpeg
  • Linux (Fedora/RHEL/CentOS):
sudo dnf install ffmpeg
  • macOS (using Homebrew): First, install Homebrew if you haven't already:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Then, install FFmpeg:

brew install ffmpeg
  • Windows:
winget install --id=Gyan.FFmpeg  -e

Then install anim4u

  npm i -g anim4u
    or
  yarn global add anim4u
    or
  pnpm i -g anim4u
  1. Install from source
    git clone https://github.com/iamstarcode/anim4u.git \
    && cd anim4u \

    && npm install \
    or
    && yarn install \
    or
    && pnpm i \

    && npm install -g .

Usage

Usage: anim4u [options] [command]

Options:
  -d, --debug     show debugging errors
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  download        Download a TV series or Movie
  clear           Clear cache
  help [command]  display help for command

download

The download command is used to scrap and download anime

Usage:
 anim4u download [<provider:anime_name>] -f -r 720 -e 1-10
Options:
  -d, --debug             Debugging (default: false)
  -f, --force             Force refecth for download cache, links and searches (default: false)
  -q, --quality <number>  the prefered quality for videos
  -e, --episodes <items>  the episodes to download
  -h, --help              display help for command
anim4u download 'animepahe:one piece' -f -q 720 -e 1,7-10,100-105
*   The download argument, <provider:search_query> is used to define a supported provider and
    the anime search keyword. `'animepahe:one piece'`
*   Downloaded anime are placed in directory where the command is run.
*   The download command is efficeint by default, stores caches of every result.
*   `-f` flag is used to force new searches and ignore cache, example are when new episodes has arrived since last time the download command was run.
*   `-q` flag is used to select a prefered video quality `360`,`480`,`720`,`1080`. When not provided a prompt will be displayed to select a preferred qulaity.
*   `-e` flag takes multiple ranges of episodes to download.
      *   `100` will be only episode 100.
      *   `7-10` will be episode 7,8,9 and 10
      *   Any episode falling between multiple ranges will only download that episode once.
      *   `1-2,1-5,3-4` will only download episode 1,2,3,4 and 5, regardless how many times they occur withing multiple ranges.
*   The project cannot modify the content type. That means, videos in the `ts` format need to be converted to other formats externally post download.
*   With ffmpeg installed, it automatically converts videos to mp4.
*   The downloading process cannot be controlled for `animepahe` provider.
*   The downloading process can keep cache of previously uncompleted downloads and resume the next time.

clear

The clear command is used to delete search history and any other downloaded video caches

anim4u clear [provider|all]

Provider

These are the currently supported providers, we plan to add more soon. Some providers may stop working unexpectedly, and we try our best to have it fixed, and some time might be due to providers server runtime being down.

| Website | Searcher Prefix | Available Qualities | Content Extension | | ---------------------------------------- | --------------- | ----------------------- | ----------------- | | AnimePahe | animepahe | 360p, 480p, 720p, 1080p | MP4 | | AnimePahe2 | animepahe2 | 360p, 480p, 720p, 1080p | MP4 / TS | | GogoAnime | gogoanime | 360p, 480p, 720p, 1080p | MP4 / TS |