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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@anjishnusengupta/ny-cli

v4.0.0

Published

Terminal-based anime streaming client — self-hosted scraping via aniwatch

Readme

✦ NY-CLI

ネコアニメ CLI — Watch Anime from Your Terminal

Version npm License Stars Instagram

🌐 NyAnime Website   📦 Releases   🐛 Report Bug


🎯 What's New in v4.0.0


✨ Features

╭─────────────────────────────────────────────────────────────────╮
│                                                                 │
│   🎬  STREAMING          👤  EXPERIENCE        🔧  TECHNICAL    │
│   ───────────────        ───────────────       ───────────────  │
│                                                                 │
│   ▸ HLS Streaming        ▸ User Accounts       ▸ POSIX Shell    │
│   ▸ Multi-Server         ▸ Watch History       ▸ Node.js 18+    │
│   ▸ Sub/Dub Select       ▸ Cloud Sync          ▸ aniwatch pkg   │
│   ▸ Skip Intro           ▸ Continue Watch      ▸ Self-Hosted    │
│   ▸ Auto Subtitles       ▸ Random Anime        ▸ Dual-Stack     │
│   ▸ MPV/VLC/IINA         ▸ Profile System      ▸ Zero Config    │
│                                                                 │
╰─────────────────────────────────────────────────────────────────╯

| Feature | Description | |:--------|:------------| | 🎙️ Sub/Dub Selection | Choose sub or dub per anime — preference saved and synced to cloud | | 🔄 Multi-Server Racing | Races HD-1, HD-2, StreamTape, StreamSB in parallel via Promise.any() | | ⏭️ Skip Intro | Press s during intro to skip — uses API-provided timestamps | | 📝 Multi-Language Subs | Auto-selects English, with all available languages loaded for switching | | 🔁 Sub/Dub Fallback | If all sub servers fail, automatically retries with dub | | 🌐 Dual-Stack Networking | Happy Eyeballs (RFC 6555) — works on any IPv4, IPv6, or dual-stack network | | 🎚️ Player Support | MPV (recommended), VLC, IINA — auto-detected or configurable |

| Feature | Description | |:--------|:------------| | 🔐 Browser Auth | Login via nyanime.tech — just paste your User ID | | 📜 Watch History | Track all watched episodes with timestamps | | ☁️ Cloud Sync | Seamless sync between CLI and nyanime.tech website | | 📍 Continue Watching | Resume from where you left off — remembers your sub/dub choice | | 🎲 Random Mode | Discover new anime with random selection + sub/dub prompt | | 🔍 Quick Search | Search directly from command line or interactive menu |


🖥️ Terminal Demo

╔══════════════════════════════════════════════╗
║                                              ║
║   $ ny-cli "one piece"                       ║
║                                              ║
║   Searching for 'one piece'...               ║
║   1) One Piece (TV, 1155 sub / 1143 dub)     ║
║   2) One Piece Film: Red (Movie, 1 sub)      ║
║                                              ║
║   Select [1-20]: 1                           ║
║   Loading episodes...                        ║
║                                              ║
║   1) Sub (Japanese audio + subtitles)        ║
║   2) Dub (English audio)                     ║
║   Sub or Dub? [1/2]: 1                       ║
║                                              ║
║   One Piece (1155 eps) [SUB]                 ║
║   Episode [1-1155]: 1155                     ║
║                                              ║
║   ▸ Starting playback...                     ║
║     One Piece - Episode 1155 [SUB]           ║
║                                              ║
╚══════════════════════════════════════════════╝

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • npm
  • mpv (recommended video player)

Installation

# One-line install
curl -sL https://raw.githubusercontent.com/AnjishnuSengupta/ny-cli/main/install.sh | sh
# Or via npm
npm install -g @anjishnusengupta/ny-cli
# Clone the repository
git clone https://github.com/AnjishnuSengupta/ny-cli.git
cd ny-cli

# Install dependencies
npm install --production

# Make executable and install
chmod +x ny-cli
sudo ln -sf "$(pwd)/ny-cli" /usr/local/bin/ny-cli
yay -S ny-cli
# or
paru -S ny-cli

Usage

# Interactive mode
ny-cli

# Quick search
ny-cli "attack on titan"

# Direct search
ny-cli -s "one piece"

# Continue watching
ny-cli -c

# Trending anime
ny-cli -t

# Random anime
ny-cli -r

# Login for cloud sync
ny-cli -l

# Help
ny-cli -h

🛠️ Tech Stack

| Layer | Technologies | |:-----:|:-------------| | CLI | Shell Sed | | Backend | Node.js ES Modules | | Scraping | Aniwatch HiAnime | | Sync | Firebase NyAnime | | Players | mpv VLC |


📁 Project Structure

ny-cli/
├── 📄 ny-cli              # Main CLI script (POSIX shell)
├── 📄 backend.mjs          # Node.js scraping backend (aniwatch)
├── 📄 package.json          # npm dependencies
├── 📄 install.sh            # One-line installer
├── 📂 debian/               # Debian packaging
│   ├── changelog
│   ├── control
│   ├── install
│   └── rules
├── 📄 PKGBUILD             # Arch Linux AUR package
├── 📄 ny-cli.spec           # RPM spec file
└── 📄 LICENSE               # MIT License

🎮 Controls

During Playback (mpv)

| Key | Action | |:---:|:-------| | Space | Play / Pause | | / | Seek ±5s | | / | Seek ±60s | | s | Skip intro | | f | Fullscreen | | v | Toggle subtitles | | m | Mute | | q | Quit |


🤝 Contributing

Contributions are welcome! Here's how you can help:

# 1. Fork the repository

# 2. Create your feature branch
git checkout -b feature/amazing-feature

# 3. Commit your changes
git commit -m "feat: add amazing feature"

# 4. Push to the branch
git push origin feature/amazing-feature

# 5. Open a Pull Request

🔗 Links & Resources

| | | |:-:|:-:| | 🌐 Website | nyanime.tech | | 🖥️ Web App | github.com/AnjishnuSengupta/nyanime | | 📦 npm | @anjishnusengupta/ny-cli | | 📚 aniwatch | ghoshRitesh12/aniwatch |


📜 License

This project is licensed under the MIT License.

Use freely. Give credit. Build cool things. 💜


⚠️ Disclaimer


"In a world full of filler episodes, be the main arc."

Made with 💜 by Anjishnu

Instagram

⭐ Star this repo if you found it useful!