{"id":27134757,"url":"https://github.com/tayyabasghar/yasac","last_synced_at":"2026-04-07T09:32:31.971Z","repository":{"id":217051492,"uuid":"739331297","full_name":"TayyabAsghar/yasac","owner":"TayyabAsghar","description":"YASAC, A social app clone of threads made in Next.js 14 with minimal features.","archived":false,"fork":false,"pushed_at":"2024-11-20T06:00:33.000Z","size":848,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T00:58:58.080Z","etag":null,"topics":["clerk","mongodb","nextjs","uploadthing","vercel"],"latest_commit_sha":null,"homepage":"https://yasac-three.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TayyabAsghar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-05T10:04:59.000Z","updated_at":"2024-11-20T06:00:37.000Z","dependencies_parsed_at":"2024-05-20T01:32:02.999Z","dependency_job_id":null,"html_url":"https://github.com/TayyabAsghar/yasac","commit_stats":null,"previous_names":["tayyabasghar/yasac"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TayyabAsghar/yasac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TayyabAsghar%2Fyasac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TayyabAsghar%2Fyasac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TayyabAsghar%2Fyasac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TayyabAsghar%2Fyasac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TayyabAsghar","download_url":"https://codeload.github.com/TayyabAsghar/yasac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TayyabAsghar%2Fyasac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31508084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clerk","mongodb","nextjs","uploadthing","vercel"],"created_at":"2025-04-08T00:59:04.345Z","updated_at":"2026-04-07T09:32:31.956Z","avatar_url":"https://github.com/TayyabAsghar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cdiv\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Next_JS-black?style=for-the-badge\u0026logoColor=white\u0026logo=nextdotjs\u0026color=000000\" alt=\"nextdotjs\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-MongoDB-black?style=for-the-badge\u0026logoColor=white\u0026logo=mongodb\u0026color=47A248\" alt=\"mongodb\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Tailwind_CSS-black?style=for-the-badge\u0026logoColor=white\u0026logo=tailwindcss\u0026color=06B6D4\" alt=\"tailwindcss\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Clerk-black?style=for-the-badge\u0026logoColor=white\u0026logo=clerk\u0026color=6C47FF\" alt=\"clerk\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Shadcn_UI-black?style=for-the-badge\u0026logoColor=white\u0026logo=shadcnui\u0026color=000000\" alt=\"shadcnui\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Zod-black?style=for-the-badge\u0026logoColor=white\u0026logo=zod\u0026color=3E67B1\" alt=\"zod\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/-Typescript-black?style=for-the-badge\u0026logoColor=white\u0026logo=typescript\u0026color=3178C6\" alt=\"typescript\" /\u003e\n  \u003c/div\u003e\n\n  \u003ch3 align=\"center\"\u003eYASAC (Yet Another Social App Clone)\u003c/h3\u003e\n\n   \u003cdiv align=\"center\"\u003e\n     A clone to Thread Social App made with minimal features to learn Nextjs SSR Components and Page Routers.  \n    \u003c/div\u003e\n\u003c/div\u003e\n\n## \u003ca name=\"table\"\u003e📋 Table of Contents\u003c/a\u003e\n\n1. 👋 [Introduction](#introduction)\n2. 💻 [Tech Stack](#tech-stack)\n3. ✨ [Features](#features)\n4. 🐛 [Known Issues](#known-issues)\n5. 🏁 [Quick Start](#quick-start)\n6. 📢 [Shout Outs](#shout-outs)\n\n## \u003ca name=\"introduction\"\u003e👋 Introduction\u003c/a\u003e\n\nBuild a full stack Threads clone using Next.js 14+ with a redesigned look transformed from a Figma design, user interaction to community management, technical implementation, and various features, including nested deep comments, notifications, real-time-search, responsive for all types of devices and more.\n\n## \u003ca name=\"tech-stack\"\u003e💻 Tech Stack\u003c/a\u003e\n\n- [Next.js](https://nextjs.org/)\n- [MongoDB](https://www.mongodb.com/)\n- [Shadcn UI](https://ui.shadcn.com/)\n- [TailwindCSS](https://tailwindcss.com/)\n- [Clerk](https://clerk.com/)\n- [Webhooks](https://clerk.com/docs/integrations/webhooks/overview)\n- Serverless APIs\n- [Uploadthing](https://uploadthing.com/)\n- [React Hook Form](https://react-hook-form.com/)\n- [Zod](https://zod.dev/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [Vercel](https://vercel.com/)\n\n## \u003ca name=\"features\"\u003e✨ Features\u003c/a\u003e\n\n#### ⭐ **Authentication**:\n Authentication using Clerk for email, password, and social logins (Google and Facebook) with a comprehensive profile management system.\n\n#### ⭐ **Visually Appealing Home Page and Landing Page**:\n A visually appealing home page showcasing the latest threads and landing page for an engaging user experience.\n\n#### ⭐ **Create Thread Page**:\nA dedicated page for users to create threads, fostering community engagement.\n\n#### ⭐ **Commenting and Nested Commenting Feature**:\nA commenting feature to facilitate discussions within threads along with nested threads and commenting, providing a structured discussion.\n\n#### ⭐ **Delete Commenting and Nested Commenting Feature**:\nUsers now can delete a thread or a comment and also remove all the nested comments for the user profile screen.\n\n#### ⭐ **User / Community Search with Pagination**:\nA user and community search feature with pagination for easy exploration and discovery of other users and communities.\n\n#### ⭐ **Activity Page**:\nDisplay notifications on the activity page when someone comments on a user's thread, enhancing user engagement.\n\n#### ⭐ **Profile Page**:\nUser profile pages for showcasing information and enabling modification of profile settings.\n\n#### ⭐ **Follow / UnFollow User**:\nFollow a user to see its threads in your feed. Users can see their or others open users followers from the user profile screen.\n\n#### ⭐ **Private Profile**:\nFeature to make a profile private and remove all the profile threads from the feed of normal users.\n\n#### ⭐ **Create and Invite to Communities**:\nAllow users to create new communities and invite others using customizable template emails.\n\n#### ⭐ **Community Member Management**:\nA user-friendly interface to manage community members, allowing role changes and removals.\n\n#### ⭐ **Admin-Specific Community Threads**:\nEnable admins to create threads specifically for their community and its members.\n\n#### ⭐ **Community Profiles**:\nDisplay community profiles showcasing threads and members for a comprehensive overview.\n\n#### ⭐ **Blazing-Fast Performance**:\nOptimal performance and instantaneous page switching for a seamless user experience.\n\n#### ⭐ **Server Side Rendering**:\nUtilize Next.js with Server Side Rendering for enhanced performance and SEO benefits.\n\n#### ⭐ **MongoDB with Complex Schemas**:\nHandle complex schemas and multiple data populations using MongoDB.\n\n#### ⭐ **File Uploads with UploadThing**:\nFile uploads using UploadThing for a seamless media sharing experience.\n\n#### ⭐ **Real-Time Events Listening**:\nReal-time events listening with webhooks to keep users updated.\n\n#### ⭐ **Middleware, API Actions, and Authorization**:\nUtilize middleware, API actions, and authorization for robust application security.\n\n#### ⭐ **Next.js Layout Route Groups**:\nNew Next.js layout route groups for efficient routing.\n\n#### ⭐ **Data Validation with Zod**:\nData integrity with data validation using Zod.\n\n#### ⭐ **Form Management with React Hook Form**:\nEfficient management of forms with React Hook Form for a streamlined user input experience.\n\nand many more, including code architecture and reusability.\n\n## \u003ca name=\"Known Issues\"\u003e🐛 Known Issues\u003c/a\u003e\n- Webhook to add members to the community is failing on vercel.\n- Switching between Organization and User account mess up the profile tab.\n- UI of some of the features is implemented but functionality is not there like **Repost** and **Send**.\n\n## \u003ca name=\"quick-start\"\u003e🏁 Quick Start\u003c/a\u003e\n\nFollow these steps to set up the project locally on your machine.\n\n**Prerequisites**\n\nMake sure you have the following installed on your machine:\n\n- [Git](https://git-scm.com/)\n- [Node.js](https://nodejs.org/en)\n- [npm](https://www.npmjs.com/) (Node Package Manager)\n\n**Cloning the Repository**\n\n```bash\ngit clone https://github.com/TayyabAsghar/yasac.git\ncd yasac\n```\n\n**Installation**\n\nInstall the project dependencies using npm:\n\n```bash\nnpm install\n```\n\n**Set Up Environment Variables**\n\nCreate a new file named `.env` in the root of your project and add the following content:\n\n```env\nMONGODB_URL=''\nCLERK_SECRET_KEY=''\nUPLOADTHING_APP_ID=''\nUPLOADTHING_SECRET=''\nNEXT_CLERK_WEBHOOK_SECRET=''\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=''\nNEXT_PUBLIC_CLERK_SIGN_IN_URL='/sign-in'\nNEXT_PUBLIC_CLERK_SIGN_UP_URL='/sign-up'\nNEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL='/home'\nNEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL='/onboarding'\n\n```\n\nReplace the placeholder values with your actual credentials. You can obtain these credentials by signing up for the corresponding websites on [MongoDB](https://www.mongodb.com/), [Clerk](https://clerk.com/), and [Uploadthing](https://uploadthing.com/). \n\n**Running the Project**\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser to view the project.\n\n\n## \u003ca name=\"shout-outs\"\u003e📢 Shout Outs\u003c/a\u003e\n\n\u003cdiv\u003e\n     My sincere thanks to \u003ca href=\"https://www.youtube.com/@javascriptmastery/videos\" target=\"_blank\"\u003e\u003cb\u003eJavaScript Mastery\u003c/b\u003e\u003c/a\u003e for having detailed videos on Nextjs for motivating and helping me creating this project.\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftayyabasghar%2Fyasac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftayyabasghar%2Fyasac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftayyabasghar%2Fyasac/lists"}