A beautiful, fast, and feature-rich anime streaming platform built with modern web technologies
| 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 |
- 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
aniwatchnpm package - Forms: React Hook Form with Zod validation
- Node.js 20+ and npm/yarn
-
Clone the repository
git clone https://github.com/yourusername/yoruhime.git cd yoruhime -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser
Navigate to http://localhost:5000
| Command | Description |
|---|---|
npm run dev |
Start development server on port 5000 |
npm run build |
Build for production |
npm start |
Start production server |
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
-
Install Vercel CLI
npm install -g vercel
-
Deploy
vercel
The project is optimized for Vercel with serverless functions configured in vercel.json.
- 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
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
- Frontend: Static site generated with Vite
- Backend: Express.js API routes as Vercel serverless functions
- Benefits: Automatic scaling, global CDN, zero server management
Contributions are what make the open-source community amazing! Any contributions you make are greatly appreciated.
- Fork the Project
- 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
Distributed under the MIT License. See LICENSE for more information.
- HiAnime for anime data via the
aniwatchscraper - shadcn/ui for beautiful UI components
- Radix UI for accessible primitives
- Vercel for hosting and serverless functions
Made with β€οΈ by anime fans, for anime fans