mirror of
https://github.com/Shineii86/AniKotoAPI.git
synced 2026-10-22 19:05:11 +00:00
Fixed 19 outdated occurrences across 7 files: - public/index.html: 27→30 endpoints (6 occurrences) - public/manifest.json: 27→30 endpoints - README.md: 27→30 and 24→30 endpoints (7 occurrences) - docs/index.md: 27→30 endpoints - docs/architecture.md: 27→30 endpoints - package.json: axios ^1.7.0→^1.8.0 - CHANGELOG.md: Added documentation update entry
12 KiB
12 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.8.0] - 2026-06-08
Fixed
- CRITICAL:
extractPages.helper.js— Pagination URL bug (?page→&pagewhen URL already has query params) - CRITICAL:
package.json— Fixed invalid dependency versions (axios ^1.7.0, dotenv ^16.4.0, express ^4.21.0) privacy.html+tos.html— Fixed broken footer links (//tos→/tos,//privacy→/privacy)manifest.json— Fixed invalid icon purpose ("any maskable"→"maskable")server.js— Removed duplicate CORS middleware (was using bothcors()package and custom middleware)server.js— Removed unusedcorsimportserver.js— Added__dirnamecomputation (was missing)search.controller.js— Fixed cache key collision with suggestion controllerapiRoutes.js— Made endpoint count dynamic (was hardcoded 27)- Updated endpoint count from 27→30 across all documentation files
- Fixed axios version in package.json (^1.7.0 → ^1.8.0)
vercel.json— Removed duplicate CORS header (server.js handles it)
Changed
header.config.js— Updated User-Agent to Chrome 130 (was Chrome 120)dataUrl.js— Removed redundantanikototv.tofrom ALT_DOMAINScategory.extractor.js— Removed unusedcheerioimporttest.js— Updated test script in package.json to actually run tests- Version bumped to 1.8.0
Security
- Unified CORS handling in server.js (single middleware instead of triple)
- Removed Vercel-level CORS header (Express handles it)
- Fixed XSS potential in index.html error display (used textContent pattern)
[1.7.3] - 2026-06-08
Fixed
- Health endpoint typo:
s→secondsin uptime string formatting - Request counter middleware moved before route registrations (was never executing)
- Request counter now properly tracks all API requests and errors
[1.7.2] - 2026-06-08
Added
docs/folder with complete API documentation using real live API datadocs/index.md— Overview, quick start with real responsesdocs/endpoints.md— Full API reference (27 endpoints with real data)docs/streaming.md— Streaming flow guide (3-step with real data)docs/examples.md— Code examples in cURL, JavaScript, Python, Node.js (all tested)docs/architecture.md— Project structure, tech stack, design decisions
/api/health— Health check endpoint (uptime, version, memory)/api/stats— Cache & API statistics (requests, errors, success rate)/api/openapi— OpenAPI 3.0.3 specification- Security headers: X-Frame-Options, X-Content-Type-Options, X-XSS-Protection
- Request counter middleware for statistics
CONTRIBUTING.md— Contribution guidelinestest.js— Integration test suite (18 endpoints)
Fixed
- Clean URLs:
/tosand/privacyinstead of/tos.htmland/privacy.html - Added Express routes for clean URL serving
docs/architecture.md— Project structure, tech stack, design decisions
Fixed
episodeList.extractor.js— Parse AJAX JSON response, extractserver_ids,timestamp,mal_idstreamInfo.extractor.js— Parse server list HTML into structured objectsstreamInfo.extractor.js— Parse stream URL from JSON response properly- Added cheerio import to streamInfo extractor for HTML parsing
[1.7.1] - 2026-06-08
Changed
- Updated all Vercel URLs from
anikoto.vercel.apptoanikototvapi.vercel.app - Updated across 80 references in HTML, JS, MD, XML, SVG, JSON files
[1.7.0] - 2026-06-08
Changed
- BREAKING: Rebranded entire project from
AniKatoAPItoAniKotoAPI - Renamed all references across 66 files (controllers, extractors, configs, routes)
- Updated README.md, package.json, server.js, all public pages
- Updated GitHub repository URLs from
AniKatoAPItoAniKotoAPI - Updated Vercel URLs from
anikato.vercel.apptoanikototvapi.vercel.app - Preserved
anikototv.todomain references (source website, not project name)
[1.6.0] - 2026-06-08
Added
public/manifest.json— PWA manifest with theme color, icons, display modepublic/robots.txt— Crawler directives and sitemap referencepublic/sitemap.xml— XML sitemap with homepage, API, privacy, and terms pagespublic/og-image.svg— SVG Open Graph image with gradient design, title, and taglinepublic/privacy.html— Full privacy policy (data collection, third-party, DMCA, cookies)public/tos.html— Full terms of service (acceptable use, rate limits, liability, DMCA)
Changed
- Completely rebuilt
public/index.htmlfrom scratch (premium UI/UX) - Replaced all emojis with inline SVG icons throughout the entire page
- Hero section now features a live interactive API console (fetch, run, see JSON response)
- Console has preset buttons (Home, Search, Stream, Random, Schedule) with one-click switching
- Added scroll-reveal animations via IntersectionObserver (no external libraries)
- Added animated particle system via canvas (60 particles, purple-tinted)
- Added glassmorphism sticky header with scroll-aware background blur
- Added stats section with animated counters (counts up on viewport entry)
- Added infinite scrolling marquee with feature highlights and SVG icons
- Added endpoint explorer with sidebar navigation, multi-language code tabs (cURL, JS, Python)
- Added playground section with 4 interactive cards (search, stream, random, schedule)
- Added CTA section with gradient background
- Added full footer with 4-column grid (brand, API links, resources, legal)
- Rebuilt
public/404.htmlwith glitch animation effect, scanlines, and SVG icons - All CSS uses custom properties, no external frameworks
[1.5.5] - 2026-06-08
Changed
- Completely redesigned
public/index.htmllanding page (AniNewsAPI style) - Dark theme with ambient floating orb animations, glassmorphism cards, sticky header
- Hero section with terminal-style API preview and animated gradient text
- Stats ribbon (24+ endpoints, 0 API keys, 40+ genres, live data)
- Features grid with 6 cards (search, streaming, metadata, schedule, filters, caching)
- Interactive API endpoint documentation with expandable cards, parameter tables, code examples
- "Try It Live" playground with 4 interactive demos (search, stream, random, schedule)
- Responsive mobile design
- Redesigned
public/404.htmlwith animated 404 code, floating animation, action buttons
[1.5.4] - 2026-06-08
Changed
- Restructured API Endpoints section to match HiAnime-Api documentation style
- Added category headers with blockquote format:
> ## 🏠 GET Home Info - Each endpoint now has: Endpoint path, Parameters table, Example of request (curl + JS), Sample Response
- 19 documentation sections covering all API endpoints
[1.5.3] - 2026-06-08
Fixed
- Replaced ALL placeholder/example responses in README with real live API data
- Every endpoint now shows actual data from anikototv.to (One Piece, Solo Leveling, Digimon, etc.)
- No more dummy "Anime Title" or generic placeholder objects
[1.5.2] - 2026-06-08
Added
- Disclaimer section (educational purposes, 3rd party media, no affiliation)
- Render deploy button alongside Vercel
- JavaScript
import axioscode examples for all 25 API endpoints
[1.5.1] - 2026-06-08
Fixed
- Added missing example responses to README for 11 endpoints: episodes-ajax, stream, servers, mapper-servers, new-release, newly-added, schedule, filter, genre/:name, type/:name, status/:name
- All 24 API endpoints now have collapsible live example responses in documentation
[1.5.0] - 2026-06-08
Changed
- Complete documentation rewrite of ALL source files (50+ files)
- Added box-style header comments (Project, Author, License) to every file
- Added section headers using double-line box decorators (
═════) - Added feature markers (
// ---- FEATURE: XYZ ----) before every major function - Added JSDoc comments for EVERY function with @param, @returns, @example
- Added inline notes (NOTE, WARNING, TIP) for non-obvious logic
- Added footer END markers to every module/file
- Matched code style to AlisaReactionBot repository format
- All files now searchable by feature name via grep
[1.4.0] - 2026-06-08
Fixed
- Fixed ALL CSS selectors to match actual anikototv.to HTML structure
- Fixed search results (was returning empty data array)
- Fixed anime info page (was returning empty fields)
- Fixed episode list (was returning 0 episodes)
- Fixed most-popular (was returning empty data array)
- Fixed random endpoint (was returning 500 error)
- Fixed filter endpoint (was returning 500 error)
- Fixed suggestions (was returning empty array)
- Added /api/genre/:name, /api/type/:name routes (was returning 404)
- Fixed watch page server/episode extraction
- Fixed rating field to return clean value
[1.3.0] - 2026-06-08
Added
- Stream URL extraction via
/ajax/server?get={linkId}endpoint - Server list endpoint (
/api/servers?ids={episodeIds}) - Mapper API integration for gogoanime/anivibe servers (
/api/mapper-servers) - Seasons endpoint (
/api/seasons/:id) - Watch order endpoint (
/api/watch-order/:id) - Episode list AJAX endpoint (
/api/episodes-ajax/:id) - Genre ID mapping for correct filter parameters
- Type, Status, Rating, Sort ID mappings
Fixed
- Stream extractor now properly extracts video embed URLs
- Filter endpoint now uses correct numeric IDs for genres/types/status
- Watch page extractor captures all data attributes (data-id, data-url, etc.)
- Server list extraction includes all data attributes (link-id, ep-id, cmid, sv-id)
[1.2.0] - 2026-06-08
Added
- Watch page endpoint (
/api/watch?slug={slug}&ep={ep}) - AZ List endpoint (
/api/az-list/:letter?page={page}) - New Release endpoint (
/api/new-release?page={page}) - Newly Added endpoint (
/api/newly-added?page={page}) - Status endpoint (
/api/status/:status?page={page}) - Trending Sidebar endpoint (
/api/trending-sidebar) - Complete episode navigation (prev/next)
- Related & recommended anime on watch page
- Server list for video playback
- Next episode schedule data
[1.1.0] - 2026-06-08
Fixed
- Corrected HTML selectors based on actual website analysis
- Updated episode list extraction
- Fixed stream info endpoint to use AJAX server list
- Improved error handling
[1.0.0] - 2026-06-08
Added
- Initial project setup
- Express.js server with Vercel deployment support
- Home page API endpoint (
/api/) - Anime info endpoint (
/api/info?id={anime-slug}) - Search endpoint (
/api/search?keyword={keyword}) - Search suggestions endpoint (
/api/search/suggest?keyword={keyword}) - Episode list endpoint (
/api/episodes/{anime-slug}) - Stream info endpoint (
/api/stream?id={episode-id}) - Schedule endpoint (
/api/schedule?date={YYYY-MM-DD}) - Spotlight endpoint (
/api/spotlight) - Trending endpoint (
/api/trending) - Top 10 endpoint (
/api/top-ten) - Suggestions endpoint (
/api/suggestions?keyword={keyword}) - Random anime endpoint (
/api/random) - Most popular endpoint (
/api/most-popular?page={page}) - Filter endpoint (
/api/filter?{params}) - Category endpoints (
/api/{category}?page={page}) - Caching system with 5-minute TTL
- CORS configuration with allowed origins
- Public HTML documentation page
- 404 error page
- Dockerfile for containerization
- Render.yaml for Render deployment
- MIT License
- README with API documentation
Changed
- Updated all extractors to match actual anikototv.to HTML structure
- Changed ID-based lookups to slug-based lookups
- Updated URL patterns to match actual website structure
- Improved CSS selectors for better accuracy