mirror of
https://github.com/Shineii86/AniKotoAPI.git
synced 2026-10-22 02:45:10 +00:00
- Sync mirror domains with official hub (anikoto.site): replace dead
anikoto.se with official anikototv.se (dataUrl.js, render.yaml, README)
- Fix redesigned #hotest spotlight carousel selectors in homeInfo and
spotlight extractors (dual-selector fallback for old layout)
- New GET /api/stream/embeds: iframe-ready Megavid/AniXo/MegaPlay URLs
that bypass Cloudflare; ?slug= auto-resolves MAL/AniList IDs (cached),
or pass ?mal=/?anilist= directly with zero scraping
- GET /api/info now returns externalIds { animeId, malId, anilistId }
for direct feed into /api/stream/embeds (best-effort, 60min cache)
- New GET /api/episodes/latest?slug=: newest-episode checker for bot
polling — latest episode + counts only (10min cache), registered
before /episodes/:id so the literal path wins
- Top rankings ?sort=day|week|month verified already supported (docs)
- Full repo-style documentation on all new modules (box headers, FEATURE
markers, NOTE/TIP inline notes, JSDoc, footers)
- Diagnostic sweep: all counts synced to 40 endpoints / 30 handlers /
29 scrapers, stale badges and sample responses fixed, render.yaml EOF,
Dockerfile node:18-alpine (EOL) -> node:22-alpine
- Tests: 38 passed / 0 failed / 2 optional skips; 77 JS files syntax-OK
32 lines
715 B
JSON
32 lines
715 B
JSON
{
|
|
"name": "AniKotoAPI",
|
|
"version": "2.5.1",
|
|
"description": "A restful API to provide all information about anime from anikototv.to",
|
|
"main": "./server.js",
|
|
"scripts": {
|
|
"start": "node ./server.js",
|
|
"dev": "nodemon server.js",
|
|
"test": "node test.js"
|
|
},
|
|
"author": "Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"axios": "^1.8.0",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"compression": "^1.8.1",
|
|
"dotenv": "^16.4.0",
|
|
"express": "^4.21.0"
|
|
},
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"nodemon": "^3.1.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Shineii86/AniKotoAPI.git"
|
|
},
|
|
"overrides": {
|
|
"undici": "7.29.0"
|
|
}
|
|
}
|