Skip to content

Yoruhime is a fast, modern anime streaming platform with a sleek UI. It features adaptive streaming, real-time search, customizable subtitles, and a vast anime library via the HiAnime scraper. Built with React, TypeScript, and serverless architecture, it’s optimized for performance and scalability on Vercel.

Notifications You must be signed in to change notification settings

walterwhite-69/Yoruhime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ™ Yoruhime (倜姫)

Modern Anime Streaming Platform

Live Demo License Node.js TypeScript

A beautiful, fast, and feature-rich anime streaming platform built with modern web technologies

πŸš€ Live Demo β€’ πŸ› Report Bug β€’ ✨ Request Feature


✨ Features

Feature Description
🎬 Vast Library Access thousands of anime titles via HiAnime scraper
πŸŽ₯ Embedded Player HLS streaming with adaptive quality (360p-1080p)
πŸ” Smart Search Real-time suggestions with auto-complete
🎨 Modern UI Glassmorphism design with smooth animations
πŸ“± Responsive Optimized for desktop, tablet, and mobile
⚑ Lightning Fast Serverless architecture on Vercel
🌐 Multi-Quality Stream in SD, HD, or Full HD based on your connection
πŸ“ Subtitles Customizable subtitle tracks
🎯 User-Friendly Intuitive navigation and clean interface

πŸ› οΈ Tech Stack

Frontend

React TypeScript Vite TailwindCSS

Backend

Node.js Express HiAnime

Key Libraries

  • UI Components: Radix UI, shadcn/ui
  • State Management: TanStack Query (React Query)
  • Video Player: HLS.js for adaptive streaming
  • Routing: Wouter (lightweight alternative to React Router)
  • Icons: Lucide React
  • Animations: Framer Motion
  • Data Source: HiAnime API via aniwatch npm package
  • Forms: React Hook Form with Zod validation

πŸš€ Getting Started

Prerequisites

  • Node.js 20+ and npm/yarn

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/yoruhime.git
    cd yoruhime
  2. Install dependencies

    npm install
  3. Start the development server

    npm run dev
  4. Open your browser

    Navigate to http://localhost:5000
    

πŸ“¦ Available Scripts

Command Description
npm run dev Start development server on port 5000
npm run build Build for production
npm start Start production server

πŸ—οΈ Project Structure

yoruhime/
β”œβ”€β”€ client/              # React frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/  # UI components
β”‚   β”‚   β”œβ”€β”€ pages/       # Page components
β”‚   β”‚   β”œβ”€β”€ lib/         # Utilities and helpers
β”‚   β”‚   └── hooks/       # Custom React hooks
β”‚   └── index.html
β”œβ”€β”€ server/              # Express backend
β”‚   β”œβ”€β”€ routes/          # API routes
β”‚   └── index.ts         # Server entry point
β”œβ”€β”€ api/                 # Vercel serverless functions
β”œβ”€β”€ shared/              # Shared types and schemas
└── public/              # Static assets

🌐 Deployment

Deploy to Vercel

  1. Install Vercel CLI

    npm install -g vercel
  2. Deploy

    vercel

The project is optimized for Vercel with serverless functions configured in vercel.json.


🎯 Key Features Explained

Custom Video Player

  • HLS Adaptive Streaming: Automatically adjusts quality based on network speed
  • Quality Selection: Manual control for 360p, 480p, 720p, and 1080p
  • Subtitle Support: Multiple subtitle tracks with customization
  • Playback Controls: Speed adjustment, volume control, progress seeking
  • Picture-in-Picture: Watch while browsing other content
  • Full-Screen Mode: Immersive viewing experience
  • Mobile Optimized: Touch controls and screen orientation lock

HiAnime Integration

Yoruhime leverages the HiAnime scraper through the aniwatch npm package to provide:

  • Real-time anime data and metadata
  • Episode information and streaming sources
  • Search functionality with autocomplete
  • Trending and top-airing anime lists
  • Multiple server options for reliability

Serverless Architecture

  • Frontend: Static site generated with Vite
  • Backend: Express.js API routes as Vercel serverless functions
  • Benefits: Automatic scaling, global CDN, zero server management

🀝 Contributing

Contributions are what make the open-source community amazing! Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your 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

πŸ“ License

Distributed under the MIT License. See LICENSE for more information.


πŸ™ Acknowledgments

  • HiAnime for anime data via the aniwatch scraper
  • shadcn/ui for beautiful UI components
  • Radix UI for accessible primitives
  • Vercel for hosting and serverless functions

⭐ Star this repository if you find it helpful!

Made with ❀️ by anime fans, for anime fans

⬆ Back to Top

About

Yoruhime is a fast, modern anime streaming platform with a sleek UI. It features adaptive streaming, real-time search, customizable subtitles, and a vast anime library via the HiAnime scraper. Built with React, TypeScript, and serverless architecture, it’s optimized for performance and scalability on Vercel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors