Complete Clone Of Youtube

screenshot of Complete Clone Of Youtube
nextjs
react
tanstack
tailwind
cmdk
drizzle-orm
neon

Next 15 and React 19 with tRPC, prefetching in server components, leveraging suspense in client components, video processing, background jobs, AI features, and much more.

Overview:

NewTube is an innovative video platform that goes beyond merely mimicking YouTube; it reinvents the user experience with a unique blend of cutting-edge web technologies. Built on a foundation of Next.js 15, TypeScript, and Tailwind CSS 4, this project serves as both a learning environment and a showcase of creativity in web development. The platform reflects a personal vision where every aspect, from the code to the user interface, expresses a commitment to quality and customization.

This is more than just a project; it’s a dynamic playground for experimentation and a testament to modern web principles. With features designed to enhance usability and engagement, NewTube is poised to stand out in the crowded landscape of video platforms.

Features:

  • Ultra-Modern UI: Crafted using Tailwind CSS 4, providing a sleek and responsive user interface that adapts smoothly across devices.
  • Secure Authentication: Implemented with Clerk, ensuring user data is protected while maintaining smooth access.
  • Dynamic Categories: Enjoy an organized experience with a dynamic system for filtering and categorizing videos efficiently.
  • Optimized Search: Find content quickly with a fast and effective search function that enhances usability.
  • Video Upload Pipeline: Utilizes Mux Direct Uploads for seamless video uploads and thumbnail generation, integrated with real-time webhook capabilities.
  • Modular Architecture: The platform employs a reusable component system, making development more streamlined and efficient.
  • Intelligent Polling: Features smart data fetching methods that keep users updated without the need for manual refreshing.
  • Upcoming Enhancements: Future features include personalized user profiles, intelligent video recommendations, and real-time comment systems, making the platform even more engaging and interactive.
nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tanstack
TanStack

TanStack is a collection of high-quality, framework-agnostic libraries including TanStack Query for data fetching, TanStack Router for routing, TanStack Table for tables, and more. These tools provide powerful, type-safe solutions for common web development challenges.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

cmdk
cmdk

cmdk is a fast, composable command menu component for React. It provides the foundation for building command palettes, search interfaces, and keyboard-navigable menus similar to those found in applications like VS Code, Linear, and Raycast.

drizzle-orm
Drizzle ORM

Drizzle ORM is a TypeScript ORM for SQL databases designed with maximum type safety in mind. It comes with a drizzle-kit CLI companion for automatic SQL migrations generation. Drizzle ORM is meant to be a library, not a framework. It stays as an opt-in solution all the time at any levels.

neon
Neon

Neon is a fully managed serverless PostgreSQL database with autoscaling, branching, and bottomless storage. It separates storage and compute to offer instant provisioning and scale-to-zero capabilities for modern cloud applications.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

react-hook-form
React Hook Form

React Hook Form is a performant, flexible, and extensible form library for React with easy validation. It reduces re-renders and improves performance by using uncontrolled components and native HTML validation, making form handling simple and efficient.

recharts
Recharts

Recharts is a powerful and easy-to-use React library for building customizable and interactive charts. Built on D3.js, it offers a wide range of pre-built chart types, such as line, bar, pie, and scatter charts, all of which can be composed with a declarative syntax.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

zod
Zod

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas that can validate data at runtime while providing excellent TypeScript inference, making it perfect for API validation, form validation, and type-safe data handling.