ncmget
v0.2.1
Published
A lightweight and powerful cli tool for NetEase Cloud Music Getter.
Maintainers
Readme
🎵 NCMGET
A lightweight and powerful cli tool for NetEase Cloud Music Getter
English · 中文
✨ Features
| Feature | Description | |---------|-------------| | 🎵 Programmatic API | NCMGET class with full TypeScript support | | 💻 CLI Toolkit | Batch processing, filename templates, browser preview | | 🌐 REST Server | Hono-powered API server with CORS | | 🔐 EAPI Encryption | Native AES-128-ECB, zero dependencies | | 📥 Streaming Downloads | Queue management, progress bars, auto-retry |
📦 Installation
# Global install
npm install -g ncmget
# Or use directly
npx ncmget --help🚀 Quick Start
CLI Usage
ncmget <command> [options]
# Examples
ncmget search "hello" # Search songs
ncmget song 123456 # Get song info
ncmget url 123456 # Get song URL
ncmget serve # Start REST API serverAPI Usage
import { NCMGET } from 'ncmget';
const ncm = new NCMGET();
// Search songs
const songs = await ncm.search('hello');
// Get song URL
const url = await ncm.url(123456, 320);
// Get lyrics
const lrc = await ncm.lrc(123456);📚 Documentation
🔧 Build from Source
git clone https://github.com/Roy-Jin/ncmget.git
cd ncmget
npm install
npm run build📄 License
MIT © Roy-Jin
