Skip to content

Subhan-code/Aizen-Verse-OSS

Repository files navigation

Aizen Verse 🌌

Modern Anime Streaming Platform

React TypeScript Vite License

Aizen Verse is a modern, mobile-first anime streaming web application built with React 19, TypeScript, and Vite 6. It focuses on performance, responsive design, and a smooth viewing experience across mobile, tablet, and desktop devices.

Important Notice: This repository contains the frontend application and player logic only. For backend services, you can use the open-source Consumet API or host your own backend implementation.

Aizen.verse.mp4

Features

  • HLS.js Video Streaming with adaptive playback
  • Mobile-First Responsive Design optimized for all devices
  • Advanced Anime Search with filtering capabilities
  • Favorites System to save your preferred content
  • Watch History to track your viewing progress
  • Dark/Light Theme Toggle with seamless transitions
  • Episode Browsing with detailed anime information
  • SPA Navigation using React Router v7 for instant page transitions
  • Custom UI Components with animations and glass-morphism effects
  • Security-Focused with environment-based configuration

Tech Stack

Technology Purpose
React 19 Frontend Framework
TypeScript Type Safety
Vite 6 Build Tool & Dev Server
Tailwind CSS Utility-First Styling
HLS.js Adaptive Video Streaming
React Router Client-Side Routing
Lucide React Icon Library

πŸ“ Project Structure

Aizen-Verse/
β”œβ”€β”€ components/        # Reusable UI components
β”œβ”€β”€ pages/             # Page-level components
β”œβ”€β”€ services/          # API abstraction layer
β”œβ”€β”€ utils/             # Utility functions
β”œβ”€β”€ App.tsx            # Main application component
β”œβ”€β”€ index.tsx          # Application entry point
β”œβ”€β”€ constants.ts        # Configuration constants
β”œβ”€β”€ custom.css         # Custom styling
└── vite.config.ts     # Vite configuration

▢️ Video Player Capabilities

  • Fullscreen playback (cross-browser compatible)
  • Touch-friendly controls optimized for mobile
  • Subtitle support with multiple language options
  • Playback speed control (0.5x – 3x)
  • Volume and mute controls
  • Native fullscreen API support
  • Responsive design for all screen sizes

Responsive Design Strategy

  • Mobile-first approach for optimal performance
  • Tablets (768px–1023px) use the mobile layout
  • Desktop-optimized layouts for large screens
  • Minimum 44px touch targets for mobile usability
  • Stable scrolling with no layout jitter

API Integration & Streaming

Note: This project is open source, but the official hosted backend and streaming APIs are private.

  • Public access may be rate-limited
  • Endpoints may change without notice
  • No uptime or availability guarantees
  • For extended or production usage, users are encouraged to self-host their own backend implementation

Backend Options

  1. Consumet API - Open-source backend service

    • Repository: api.consumet.org
    • Provides anime streaming data and metadata
    • Easy to deploy and customize
  2. Aizen Rust Proxy - Video streaming proxy

    • Repository: Aizen-rust-proxy
    • Handles video streaming requests securely
    • Improves performance and bypasses CORS restrictions
    • Written in Rust for optimal performance

πŸ§ͺ Local Development

Prerequisites

Environment Setup

  1. Clone the repository:

    git clone https://github.com/subhanqed/Aizen-Verse.git
    cd Aizen-Verse
  2. Install dependencies:

    npm install
  3. Configure environment variables:

    cp .env.example .env
    # Edit .env with your configuration
  4. Update the .env file with your backend service URLs:

    VITE_API_BASE_URL=http://localhost:3000  # Your Consumet API URL
    VITE_PROXY_URL=http://localhost:8080     # Your Rust proxy URL
    VITE_ENV=development

Available Scripts

Command Description
npm run dev Starts the development server
npm run build Builds the production bundle
npm run preview Previews the production build

Custom Styling

The project uses Tailwind CSS alongside custom utility classes defined in custom.css, including:

  • .touch-control – Mobile-optimized controls
  • .mobile-video-container – Stable mobile video layout
  • .glass – Glass-morphism UI effects
  • .animate-glitch, .shutter-up-anim – Animation utilities
  • .dark, .light-mode – Theme handling

Performance Optimizations

  • Lazy loading for images and components
  • Minimal re-renders via optimized component design
  • CSS containment for layout stability
  • Touch-optimized scrolling behavior
  • Efficient state management with React Hooks

Accessibility

  • Semantic HTML structure
  • Keyboard navigation support
  • Screen-reader friendly labels
  • Proper contrast ratios for readability
  • Touch-target sizing compliance (minimum 44px)

Security

  • No production secrets included in this repository
  • Environment variables required for API integration
  • Streaming sources are not part of this codebase
  • This project does not distribute or host copyrighted content
  • Secure handling of user preferences in localStorage
  • Video streaming requests are proxied through the Rust proxy for security
  • Proxy implementation prevents direct exposure of streaming sources

🀝 Contributing

Contributions are welcome! Here's how you can contribute:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please ensure your code follows the existing style and includes appropriate tests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Note: This license applies to the source code only. It does not grant rights to any streaming content, hosted services, or private APIs.

Disclaimer

This project is provided "as is", without warranty of any kind, express or implied. The author is not responsible for third-party deployments, content sources, or usage.

Author

Syed Subhan

⭐ If you find this project useful, consider starring the repository! Made With πŸ’œ Syed Subhan

About

Anime Streaming Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors