A YouTube clone made with Next.js, Bun, React, tRPC, drizzle, tailwind, shadcn, eslint, and more.
This project is not finished yet and is still under active development. Expect breaking changes.
- Button to close and open
- "NewTube" Logo
- Home (Not finished yet)
- Subscriptions (Not finished yet)
- Trending (Not finished yet)
- History
- Liked videos
- All playlists
ShadcnUI Carouselimplementation- Buttons to move to the
rightandleft
Searchplaceholder- Search button (
lucide react)
Clerkimplementation- "Manage account" button
- Studio (goes to
/studio) - Sign out
npm install
# or
bun installnpm run dev
# or
bun run devdev- start Next.js in development modedev:all- run the app + webhook tunnel (requires ngrok)build- production buildstart- run the production serverlint- run linting
- Environment variables live in
.env.local(see the repo for an example).
- Intro & Demo
- Additional information
- Project setup
- Basic layout
- Authentication
- Database setup
- Webhook sync
- TRPC setup
- TRPC configuration
- Video categories
- Studio layout
- Studio videos
- Infinite loading
- Mux integration
- Mux webhooks
- Video form
- Video thumbnails
- AI background jobs
- AI thumbnails
- End of part 1
MIT — see LICENSE.txt.
This project will have a part 2 to it.



