A comprehensive Express.js application that aggregates manga chapters from multiple providers including MangaDex, AsuraScans, MangaPark, MangaBuddy, and MangaKakalot.
- 🌐 Multi-provider support:
- MangaDex
- AsuraScans
- MangaPark
- MangaBuddy
- MangaKakalot
- 🔄 Standardized chapter format across all providers
- ⚡ Fast and efficient chapter page retrieval
- 🔍 Smart title matching with Anilist
- 🕒 Real-time chapter date information
- Clone this repository
git clone <repository-url>
cd manga-provider-api- Install dependencies
npm install- Start the server
npm startGET /mangadex/chapters/:anilistId- Get chapters by Anilist IDGET /mangadex/pages/:chapterId- Get chapter pages by chapter ID
GET /asurascans/chapters/:anilistId- Get chapters by Anilist IDGET /asurascans/pages/series/:seriesId/chapter/:chapterNum- Get chapter pages
GET /mangapark/chapters/:anilistId- Get chapters by Anilist IDGET /mangapark/pages/title/:mangaId/:chapterId- Get chapter pages
GET /mangabuddy/chapters/:anilistId- Get chapters by Anilist IDGET /mangabuddy/pages/:mangaId/:chapterId- Get chapter pages
GET /mangakakalot/chapters/:anilistId- Get chapters by Anilist IDGET /mangakakalot/pages/:mangaId/:chapterId- Get chapter pages
# Get MangaDex chapters
curl http://localhost:3000/mangadex/chapters/1
# Get AsuraScans chapter pages
curl http://localhost:3000/asurascans/pages/series/123/chapter/1
# Get MangaPark chapters
curl http://localhost:3000/mangapark/chapters/1{
"success": true,
"chapters": [
{
"id": "chapter-1",
"title": "Chapter 1",
"number": "1",
"url": "https://provider.com/manga/chapter-1",
"date": "2 days ago"
}
]
}{
"success": true,
"pages": [
{
"url": "https://provider.com/images/page1.jpg",
"index": 1
}
]
}.
├── src/
│ ├── index.js
│ └── providers/
│ ├── anilist.js
│ ├── asurascans.js
│ ├── mangadex.js
│ ├── mangapark.js
│ ├── mangabuddy.js
│ ├── mangakakalot.js
│ └── mapper.js
├── package.json
├── vercel.json
└── README.md
- Express.js - Fast, unopinionated web framework
- Cheerio - Efficient HTML parsing for web scraping
- Node-fetch - Lightweight HTTP client
- @consumet/extensions - Provider implementations
- String-similarity - Title matching algorithms
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test
# Build for production
npm run buildMIT
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request