A next-generation video streaming platform built for the future
Live Website : vidion.vercel.app
Modern โข Fast โข Beautiful
Core Features
User Experience
Content & Discovery
๐ฌ High-quality video streaming
๐จ Dark/Light theme support
๐ Trending content
๐ Intelligent search
๐ฑ Fully responsive design
๐ท๏ธ Category organization
โฉ Smooth playback controls
โก Blazing fast performance
๐ฏ Curated tutorials
๐บ Multiple content types
โจ Smooth animations
๐ฅ Hot & trending
๐พ Watch history tracking
๐ฏ Intuitive navigation
๐ View analytics
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ป Programming ๐ Algorithms ๐ Patterns ๐ข Number Systems โ
โ ๐งฎ Math Problems ๐ Complexity ๐ Data Structures (Arrays, โ
โ Linked Lists, Stacks, Queues, Trees, Graphs) โ
โ ๐ฏ Advanced Topics (Sorting, Searching, String & Matrix Algorithms, โ
โ Bit Manipulation, Pointers, Recursion, C++) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Layer
Technologies
Framework
Next.js 16.1.6 โข React 19.1.0
Language
TypeScript 5
Styling
Tailwind CSS 3.4 โข CSS Modules
UI Components
Radix UI โข Lucide Icons
Animation
Framer Motion 12.7.1
State Management
Zustand 5.0.3
Forms & Validation
React Hook Form โข Zod 3.24
Database
Neon (PostgreSQL) โข Drizzle ORM
APIs
YouTube Data API v3 โข TMDB
Deployment
Vercel โข Edge Runtime
Vidiony/
โโโ app/ # Next.js App Router
โ โโโ api/ # API Routes
โ โโโ (auth)/ # Authentication pages
โ โโโ (main)/ # Main content pages
โ โโโ movies/ # Movie streaming
โ โโโ shorts/ # Short-form videos
โ โโโ ...
โโโ components/ # Reusable UI components
โ โโโ ui/ # Base components
โ โโโ ... # Feature components
โโโ contexts/ # React contexts
โโโ hooks/ # Custom hooks
โโโ lib/ # Utilities & helpers
โโโ public/ # Static assets
โ โโโ previews/ # Screenshots
โ โโโ icons/ # PWA icons
โโโ styles/ # Global styles
โโโ types/ # TypeScript definitions
โโโ scripts/ # Build & utility scripts
Requirement
Version
Node.js
โฅ 20.0.0
Bun
โฅ 1.0.0 (recommended)
pnpm
โฅ 8.0.0 (alternative)
# Clone the repository
git clone https://github.com/preetam-90/Vidiony.git
cd Vidiony
# Install dependencies (Bun - recommended)
bun install
# Or using pnpm
pnpm install
# Or using npm
npm install
Create a .env.local file in the root directory:
# Required
NEXT_PUBLIC_YOUTUBE_API_KEYS = your_api_key_1,your_api_key_2
# Optional - for additional features
TMDB_API_KEY = your_tmdb_api_key
DATABASE_URL = your_neon_database_url
๐ For detailed API setup instructions, see YOUTUBE_API_GUIDE.md
# Start development server (Bun)
bun run dev
# Or with pnpm
pnpm dev
# Open in browser
# http://localhost:3000
# Production build
bun run build
# Start production server
bun run start
# Lint code
bun run lint
Command
Description
bun run dev
Start development server
bun run build
Build for production
bun run start
Start production server
bun run lint
Run ESLint
bun run generate-pwa-assets
Generate PWA icons
# Check API key validity
node check-api-keys.js
# Clean invalid/quota-exceeded keys
node clean-api-keys.js
๐ง Performance Optimizations
โก Edge Runtime support
๐ผ๏ธ Image optimization with Sharp
๐ฆ Granular code splitting
๐จ Font optimization
๐ณ Tree shaking
๐ Route prefetching
๐พ Static generation where applicable
๐ Vercel Analytics & Speed Insights
This project is private and proprietary. All rights reserved.
Built with โค๏ธ using Next.js
โญ Star this repo if you find it useful!