A favicon of Threads Clone

Threads Clone

An open-source Threads clone showcasing Next.js 14, TypeScript, tRPC, Tailwind CSS, Prisma, and Clerk Auth, built with the T3 stack.

A screenshot of Threads CloneVisit

Open-Source Threads Clone: Next.js 14 & T3 Stack Implementation

Discover this open-source Threads clone, a social media application developed using the create-t3-app framework. It exemplifies modern web development by integrating Next.js 13/14, TypeScript, and tRPC for robust, type-safe APIs. Styling is achieved with Tailwind CSS, while Prisma ORM manages database interactions. User authentication is handled by Clerk, and media uploads are powered by Uploadthing, offering a comprehensive full-stack development example.

Features:

  • Authentication with Clerk: Manages user sign-up, sign-in, and session handling.
  • File uploads with uploadthing: Enables users to upload media content seamlessly.
  • Advance Prisma ORM concepts: Utilizes sophisticated Prisma ORM techniques for database operations.
  • Database on Neon: Leverages Neon for a serverless PostgreSQL database backend.
  • Validation with Zod: Implements schema-based data validation for type safety.
  • Text filteration with bad-words: Integrates a library to filter out inappropriate language.
  • Image filteration with nsfw-filter: Includes functionality to check images for NSFW content.
  • Custom notifications on user interactions: Delivers tailored notifications based on user activities.
  • Custom component on top of shadcn/ui: Showcases bespoke UI elements built upon shadcn/ui.
  • Recursive threads with prisma.$queryRaw: Implements efficient querying for nested comment structures using raw SQL queries with Prisma.

Summary:

This Threads clone project serves as a practical, open-source guide to building contemporary social media platforms. Utilizing Next.js 14 and the T3 stack, it incorporates essential features like secure authentication, file management, advanced database operations, and content filtering. Developers can explore this codebase to understand and apply cutting-edge web technologies for creating scalable, interactive applications featuring custom UI elements and real-time user notifications.

Distribution:
opensource
GitHub:
137 Stars
19 Forks
Share:

 

  
 

Similar to Threads Clone: