DevTube is a modern, feature-rich YouTube-inspired web application built with React, Redux, and Tailwind CSS.
It focuses on clean UI, real-time interactions, performance optimization, and scalable architecture, while following industry-level best practices.
⚡ Built as a desktop-first application with advanced features like AI-like search suggestions, live chat simulation, nested comments, dark/light theme, and Redux-powered state management.
🔗 https://dev-tube-gilt.vercel.app
- Auto-suggest search with debouncing
- Keyboard navigation (⬆️ ⬇️ Enter)
- Click-to-select suggestions
- Search results page with video grid
- URL-based search (
/results?search_query=)
- YouTube-style Live Chat UI
- Blinking 🔴 live indicator
- Auto-generated messages using polling
- Redux-based message store
- Smooth scrolling with hidden scrollbar
- User message input & submission
- YouTube-like threaded comments
- Parent comments with replies
- Vertical connector lines
- HTML-safe comment rendering
- Like / Dislike / Reply actions
- Optimized API fetch handling
- Global Dark / Light mode
- Redux-controlled theme state
- Theme persists across reloads
- Fully themed:
- Header
- Sidebar
- Watch page
- Live chat
- Comments
- Search suggestions
- Smooth hover & transition effects
- Icon-based sidebar using
react-icons - Collapsible sidebar (Desktop)
- Animated labels
- Nested sections:
- Home
- Shorts
- Subscriptions
- History
- Playlists
- Watch Later
- Liked Videos
- Explore Categories
- Show more / Show less functionality
- Responsive 16:9 video player
- Video metadata & channel info
- Subscribe / Unsubscribe system
- Suggested videos section
- Live chat integration
- Auto sidebar collapse on watch page
- Lazy loading with
React.lazy+Suspense - Redux caching of:
- Video details
- Trending videos
- Prevents unnecessary API calls
- Skeleton loaders & spinners
- Mobile & tablet devices see a Desktop-Only animated screen
- Prevents broken layouts on small screens
- Clean and intentional UX decision
- React 19
- React Router v7
- Redux Toolkit
- Tailwind CSS
- React Icons
- Redux Store
- Feature-based slices:
appSlice(theme, menu state)videosSlice(trending, caching)chatSlice(live chat messages)
- YouTube Data API v3
- Search videos
- Video details
- Channel info
- Comments
- Optimized API usage with caching
- Keyboard accessibility
- Hover & transition animations
- Hidden scrollbars
- Sticky headers
- Aspect-ratio safe video embeds
src/
├── components/
│ ├── Header/
│ ├── Sidebar/
│ ├── SearchComponent/
│ ├── WatchComponent/
│ ├── LiveChat/
│ ├── Comments/
│ ├── DesktopOnly.jsx
│ └── ...
├── store/
│ ├── appSlice.js
│ ├── videosSlice.js
│ ├── chatSlice.js
│ └── appStore.js
├── utils/
│ ├── constants.js
│ └── helpers.js
├── assets/
│ └── avatars/
├── App.jsx
├── main.jsx
└── index.css-
Mobile-responsive layout
-
Real backend for live chat
-
Authentication & user profiles
-
Video upload feature
-
Playlist creation
-
Infinite scrolling
Ansh Gupta
Aspiring Full-Stack & AI Engineer
⭐ If you like this project ❤️
Give it a ⭐ on GitHub — it helps a lot!





