A modern, feature-rich anime streaming platform built with Next.js, showcasing advanced API integration and data mapping techniques.
Made with β€οΈ by Rishab (VoidBorn)
This project is for educational and development purposes only.
- π Educational Use: Learn how to integrate multiple anime APIs and map data structures
- π» Development Reference: Understand API integration patterns and best practices
- β NOT for Commercial Use: This project is not intended for commercial deployment or profit
- π Learning Resource: Use this as a reference to build your own projects
If you use this project or its code, please provide proper attribution to Rishab (VoidBorn).
- Features
- Screenshots
- Tech Stack
- Quick Start
- Environment Setup
- API Integration
- Project Structure
- Credits & Attribution
- License
- Disclaimer
- π₯ Multiple Anime Sources - Seamlessly integrate with AniWatch, Gogoanime, Hianime, and AnimeParhe
- π AniList Integration - Sync your anime list with AniList OAuth
- π¨ Beautiful UI - Modern, responsive design with smooth Framer Motion animations
- π± Mobile Friendly - Fully responsive on all devices
- π Persistent Playback - Resume watching from where you left off
- π Dark Mode - Eye-friendly dark theme by default
- β‘ Fast Performance - Optimized streaming with HLS support
- π― Advanced Search - Find anime with filters and sorting
- π User Tracking - Keep track of watched anime with MongoDB
- π¬ Multiple Players - ArtPlayer with Chromecast support
- οΏ½ API Mapaping - Learn how to map and integrate multiple anime APIs
- πΎ Redis Caching - Optimized performance with intelligent caching
| Category | Technologies |
|---|---|
| Frontend | Next.js 14, React 18, Tailwind CSS, Framer Motion |
| Backend | Next.js API Routes, Node.js |
| Database | MongoDB with Mongoose |
| Authentication | NextAuth.js with AniList OAuth |
| Video Player | ArtPlayer, HLS.js, Vidstack |
| State Management | Zustand |
| Caching | Redis, IORedis |
| Styling | Tailwind CSS, Tailwind Animate |
| Streaming | HLS Protocol, M3U8 Proxy |
| API Integration | Axios, Fetch API |
- Node.js 18.0 or higher
- npm or yarn package manager
- MongoDB account (free tier available)
- AniList developer credentials
- Git for version control
-
Clone the repository
git clone <repository-url> cd voidanime
-
Install dependencies
npm install # or yarn install -
Configure environment variables
cp .env.example .env.local # Edit .env.local with your credentials -
Start development server
npm run dev # or yarn dev -
Open in browser
http://localhost:3000
Get your credentials from AniList Developer Console
GRAPHQL_ENDPOINT=https://graphql.anilist.co
ANILIST_CLIENT_ID=your_client_id_here
ANILIST_CLIENT_SECRET=your_client_secret_hereHow to get AniList credentials:
- Visit https://anilist.co/settings/developer
- Click "Create New Application"
- Fill in the application details
- Set redirect URL to:
https://your-domain.com/api/auth/callback/AniListProvider - Copy your Client ID and Client Secret
NEXTAUTH_SECRET=generate_a_random_secret_here
NEXTAUTH_URL=http://localhost:3000Generate NEXTAUTH_SECRET:
# On Linux/Mac
openssl rand -base64 32
# On Windows (PowerShell)
[Convert]::ToBase64String((1..32 | ForEach-Object {Get-Random -Maximum 256}))NEXT_PUBLIC_PROXY_URI=http://localhost:3000
CONSUMET_URI=https://consumet-six-alpha.vercel.app
API_URI=https://yumaapi.vercel.app# AnimeParhe Base URL - Configure your anime source
ANIMEPAHE_BASE_URL=https://animepahe.com
# M3U8 Proxy for HLS streaming (handles CORS)
VITE_PROXY_URL=https://m8u3.vercel.app/m3u8-proxy?url=
VITE_M3U8_PROXY_URL=https://m8u3.vercel.app/m3u8-proxy?url=
NEXT_PUBLIC_EXTERNAL_PROXY_URL=https://m8u3.vercel.app/m3u8-proxy?url=MONGODB_URI=mongodb+srv://username:[email protected]/?retryWrites=true&w=majoritySetup MongoDB:
- Create account at MongoDB Atlas
- Create a new cluster (free tier available)
- Create a database user with strong password
- Get your connection string
- Replace
usernameandpasswordwith your credentials
NEXT_PUBLIC_DEV_URL=http://localhost:3000
NEXT_PUBLIC_PRODUCTION_URL=https://your-domain.com# ============================================
# AniList OAuth Configuration
# ============================================
GRAPHQL_ENDPOINT=https://graphql.anilist.co
ANILIST_CLIENT_ID=your_client_id
ANILIST_CLIENT_SECRET=your_client_secret
# ============================================
# NextAuth Configuration
# ============================================
NEXTAUTH_SECRET=your_generated_secret_here
NEXTAUTH_URL=http://localhost:3000
# ============================================
# NextJS Configuration
# ============================================
NEXT_PUBLIC_PROXY_URI=http://localhost:3000
CONSUMET_URI=https://consumet-six-alpha.vercel.app
# ============================================
# Database Configuration
# ============================================
MONGODB_URI=mongodb+srv://username:[email protected]/?retryWrites=true&w=majority
# ============================================
# Deployment URLs
# ============================================
NEXT_PUBLIC_DEV_URL=http://localhost:3000
NEXT_PUBLIC_PRODUCTION_URL=https://your-domain.com
# ============================================
# Anime Sources
# ============================================
ANIMEPAHE_BASE_URL=https://animepahe.com
# ============================================
# Proxy URLs (for HLS streaming)
# ============================================
VITE_PROXY_URL=https://m8u3.vercel.app/m3u8-proxy?url=
VITE_M3U8_PROXY_URL=https://m8u3.vercel.app/m3u8-proxy?url=
NEXT_PUBLIC_EXTERNAL_PROXY_URL=https://m8u3.vercel.app/m3u8-proxy?url=
API_URI=https://yumaapi.vercel.appThis project demonstrates advanced API integration and data mapping techniques:
| Source | Provider | Status | Features |
|---|---|---|---|
| AniWatch | Consumet | β Active | Sub/Dub, Multiple Servers |
| Gogoanime | Consumet | β Active | Sub/Dub, Fast Streaming |
| Hianime | Consumet | β Active | Sub/Dub, HD Quality |
| AnimeParhe | AnimeParhe API | β Active | Sub/Dub, Download Links |
AniList (Anime Metadata)
β
βββ Consumet API (Multiple Sources)
βββ AnimeParhe API (Specific Source)
βββ Anify API (Fallback)
β
Episode Data & Streaming URLs
β
M3U8 Proxy (CORS Handling)
β
ArtPlayer (Video Playback)
- AniList GraphQL: Fetch anime metadata and user lists
- Consumet API: Get episodes and streaming sources
- AnimeParhe API: Alternative source with download support
- M3U8 Proxy: Handle CORS issues for HLS streams
- MongoDB: Store user progress and preferences
voidanime/
βββ src/
β βββ app/
β β βββ api/
β β β βββ animepahe/ # AnimeParhe API routes
β β β βββ anilist/ # AniList integration
β β β βββ source/ # Episode source handler
β β β βββ ...
β β βββ anime/ # Anime pages
β β βββ user/ # User profile pages
β β βββ ...
β βββ components/ # React components
β βββ lib/
β β βββ animepahe.js # AnimeParhe functions
β β βββ Anilistfunctions.js # AniList integration
β β βββ kyomu.js # Kyomu API integration
β β βββ ...
β βββ utils/ # Utility functions
β βββ styles/ # Global styles
βββ public/
β βββ preview/ # Screenshot previews
βββ .env.example # Environment template
βββ package.json # Dependencies
βββ README.md # This file
This project is designed to teach:
- β API Integration: How to work with multiple anime APIs
- β Data Mapping: Transform data from different sources into unified format
- β Authentication: Implement OAuth with NextAuth.js
- β Streaming: Handle HLS streams and CORS issues
- β Caching: Optimize performance with Redis
- β Database Design: MongoDB schema for user data
- β Next.js Best Practices: API routes, middleware, SSR
- β React Patterns: State management with Zustand, component composition
npm run build
npm startdocker-compose up -d# Install Vercel CLI
npm i -g vercel
# Deploy
vercelRishab (VoidBorn)
- GitHub: @voidbornfr
- Project: VoidAnime
Please provide proper attribution:
Built with [VoidAnime](https://github.com/voidbornfr/voidanime) by Rishab (VoidBorn)Or in your code:
// VoidAnime - API Integration Framework
// Created by Rishab (VoidBorn)
// Educational & Development Use Only- AniList - Anime metadata and user lists
- Consumet API - Anime streaming sources
- AnimeParhe - Anime source provider
- MongoDB - Database service
- Vercel - Deployment platform
This project is licensed under the MIT License - see the LICENSE file for details.
MIT License
Copyright (c) 2025 Rishab (VoidBorn)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
This project is created for educational and development purposes only. It demonstrates:
- How to integrate multiple APIs
- Data mapping and transformation techniques
- Building a streaming application architecture
- Best practices in Next.js and React
- β Do not use this project for commercial purposes
- β Do not deploy this as a public streaming service
- β Do not monetize content from this application
- β Do not violate copyright laws
- Users are responsible for ensuring they have the right to stream content
- We do not host any content
- We are not responsible for any copyright infringement
- Respect the terms of service of all integrated APIs
- All anime content belongs to their respective copyright holders
- This project only provides access to publicly available streaming sources
- Users must comply with local laws and regulations
Contributions are welcome! Please feel free to submit issues and pull requests.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
If you encounter any issues or have questions:
- Check existing Issues
- Create a new issue with detailed description
- Include error logs and environment details
- Thanks to all the anime API providers
- Thanks to the open-source community
- Thanks to everyone using and learning from this project














