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