{"id":23439673,"url":"https://github.com/sanidhyy/threads-clone","last_synced_at":"2025-04-13T08:07:43.253Z","repository":{"id":204641018,"uuid":"708657792","full_name":"sanidhyy/threads-clone","owner":"sanidhyy","description":"A Next.js 13 Meta Threads application.","archived":false,"fork":false,"pushed_at":"2025-01-18T13:09:09.000Z","size":973,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T08:06:40.711Z","etag":null,"topics":["instagram","meta","mongodb","mongoose","next","nextjs","react","reactjs","shadcn","social-media","tailwindcss","threads","twitter","vercel"],"latest_commit_sha":null,"homepage":"https://threaad.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanidhyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["sanidhyy"],"patreon":"sanidhy","custom":"https://www.buymeacoffee.com/sanidhy"}},"created_at":"2023-10-23T05:52:25.000Z","updated_at":"2025-01-18T13:09:04.000Z","dependencies_parsed_at":"2024-01-13T12:04:01.604Z","dependency_job_id":"e657c80c-1ac0-4f8f-b844-e7c2b820dbd0","html_url":"https://github.com/sanidhyy/threads-clone","commit_stats":null,"previous_names":["sanidhyy/threads-clone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fthreads-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fthreads-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fthreads-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fthreads-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanidhyy","download_url":"https://codeload.github.com/sanidhyy/threads-clone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681491,"owners_count":21144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["instagram","meta","mongodb","mongoose","next","nextjs","react","reactjs","shadcn","social-media","tailwindcss","threads","twitter","vercel"],"created_at":"2024-12-23T15:33:14.433Z","updated_at":"2025-04-13T08:07:43.206Z","avatar_url":"https://github.com/sanidhyy.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sanidhyy","https://patreon.com/sanidhy","https://www.buymeacoffee.com/sanidhy"],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n# A Next.js 13 Meta Threads application.\n\n![A Next.js 13 Meta Threads application.](/.github/images/img_main.png \"A Next.js 13 Meta Threads application.\")\n\n[![Ask Me Anything!](https://flat.badgen.net/static/Ask%20me/anything?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy \"Ask Me Anything!\")\n[![GitHub license](https://flat.badgen.net/github/license/sanidhyy/threads-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/threads-clone/blob/main/LICENSE \"GitHub license\")\n[![Maintenance](https://flat.badgen.net/static/Maintained/yes?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/threads-clone/commits/main \"Maintenance\")\n[![GitHub branches](https://flat.badgen.net/github/branches/sanidhyy/threads-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/threads-clone/branches \"GitHub branches\")\n[![Github commits](https://flat.badgen.net/github/commits/sanidhyy/threads-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/threads-clone/commits \"Github commits\")\n[![Vercel status](https://img.shields.io/badge/Vercel-000000?style=for-the-badge\u0026logo=vercel\u0026logoColor=white)](https://threaad.vercel.app/ \"Vercel status\")\n[![GitHub issues](https://flat.badgen.net/github/issues/sanidhyy/threads-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/threads-clone/issues \"GitHub issues\")\n[![GitHub pull requests](https://flat.badgen.net/github/prs/sanidhyy/threads-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/threads-clone/pulls \"GitHub pull requests\")\n\n\u003c!-- Table of Contents --\u003e\n\u003cdetails\u003e\n\n\u003csummary\u003e\n\n# :notebook_with_decorative_cover: Table of Contents\n\n\u003c/summary\u003e\n\n- [Folder Structure](#bangbang-folder-structure)\n- [Getting Started](#toolbox-getting-started)\n- [Screenshots](#camera-screenshots)\n- [Tech Stack](#gear-tech-stack)\n- [Stats](#wrench-stats)\n- [Contribute](#raised_hands-contribute)\n- [Acknowledgements](#gem-acknowledgements)\n- [Buy Me a Coffee](#coffee-buy-me-a-coffee)\n- [Follow Me](#rocket-follow-me)\n- [Learn More](#books-learn-more)\n- [Deploy on Vercel](#page_with_curl-deploy-on-vercel)\n- [Give A Star](#star-give-a-star)\n- [Star History](#star2-star-history)\n- [Give A Star](#star-give-a-star)\n\n\u003c/details\u003e\n\n## :bangbang: Folder Structure\n\nHere is the folder structure of Threads Clone.\n\n```bash\nthreads-clone/\n  |- public/\n  |- app/\n    |-- (auth)/\n        |--- onboarding/\n        |--- sign-in/\n        |--- sign-up/\n        |--- layout.tsx\n    |-- (root)/\n        |--- activity/\n        |--- communities/\n        |--- create-thread/\n        |--- profile/\n        |--- search/\n        |--- thread/\n        |--- layout.tsx\n        |--- page.tsx\n    |-- api/\n    |-- favicon.ico\n    |-- globals.css\n  |- components/\n    |-- cards/\n    |-- forms/\n    |-- shared/\n    |-- ui/\n  |- constants/\n    |-- index.ts\n  |- lib/\n    |-- actions/\n    |-- models/\n    |-- validations/\n    |-- mongoose.ts\n    |-- uploadthing.ts\n    |-- utils.ts\n  |- public/\n    |-- assets/\n    |-- icons/\n  |- .env.local/\n  |- .env.example/\n  |- components.json\n  |- middleware.ts\n  |- next.config.js/\n  |- package-lock.json\n  |- package.json\n  |- postcss.config.js\n  |- tailwind.config.js\n  |- tsconfig.json\n```\n\n\u003cbr /\u003e\n\n## :toolbox: Getting Started\n\n1. Make sure **Git** and **NodeJS** is installed.\n2. Clone this repository to your local computer.\n3. Create `.env.local` file in root folder.\n4. Contents of `.env.local`:\n\n```bash\n# .env.local file\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_XXXXXXXXXXXXXXXXXXXXXXXXX\nCLERK_SECRET_KEY=sk_test_XXXXXXXXXXXXXXXXXXXXXXXXX\nNEXT_CLERK_WEBHOOK_SECRET=whsec_XXXXXXXXXXXXXXXXXXXXX\n\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up\nNEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/onboarding\nNEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/\n\nMONGODB_URL=mongodb+srv://XXXXXXXXXXXXXXXXXXXXXXXXXXX\n\nUPLOADTHING_SECRET=sk_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nUPLOADTHING_APP_ID=XXXXXXXX\n```\n\n5. **Clerk Keys**:\n   - `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` are provided by Clerk. You need to sign up for an account on Clerk (https://www.clerk.dev/), log in, and access these keys in your account settings.\n\n![Copy Clerk Secret and Publishable Key](/.github/images/step_clerk.png \"Copy Clerk Secret and Publishable Key\")\n\n6. **Clerk Webhook Secret**:\n   - `NEXT_CLERK_WEBHOOK_SECRET` is also provided by Clerk. To obtain this secret, navigate to the Clerk dashboard and set up a webhook. You will find the secret in the webhook settings.\n\n![Copy Clerk Webhook Key](/.github/images/step_clerk_webhook.png \"Copy Clerk Webhook Key\")\n\n7. **URLs for Clerk**:\n\n   - `NEXT_PUBLIC_CLERK_SIGN_IN_URL`, `NEXT_PUBLIC_CLERK_SIGN_UP_URL`, `NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL`, and `NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL` are endpoints or URLs related to your Clerk setup. You can configure these in your Clerk dashboard.\n\n8. **MongoDB URL**:\n   - `MONGODB_URL` is the connection URL for your MongoDB database. You will need to create a MongoDB account (https://www.mongodb.com/) or use an existing one. Obtain the connection URL from your MongoDB dashboard.\n\n![Copy MongoDB Auth URL](/.github/images/step_mongodb.png \"Copy MongoDB Auth URL\")\n\n9. **Uploadthing Keys**:\n   - `UPLOADTHING_SECRET` and `UPLOADTHING_APP_ID` are provided by Uploadthing. You need to sign up for an account on Uploadthing (https://www.uploadthing.com/) and access these keys in your account settings.\n\n![Copy Uploadthing Secret Key and App ID](/.github/images/step_uploadthing.png \"Copy Uploadthing Secret Key and App ID\")\n\n### :books: Additional Resources\n\n- Clerk Documentation: https://www.clerk.dev/docs/\n- MongoDB Documentation: https://docs.mongodb.com/\n- Uploadthing Documentation: https://docs.uploadthing.com/\n\n**NOTE:** Please make sure to keep your API keys and configuration values secure and do not expose them publicly.\n\n## :camera: Screenshots:\n\n![Modern UI/UX using Tailwind CSS](/.github/images/img1.png \"Modern UI/UX using Tailwind CSS\")\n\n![Create Threads](/.github/images/img2.png \"Create Threads\")\n\n![Create Communities](/.github/images/img3.png \"Create Communities\")\n\n![View Profile](/.github/images/img4.png \"View Profile\")\n\n## :gear: Tech Stack\n\n[![React JS](https://skillicons.dev/icons?i=react \"React JS\")](https://react.dev/ \"React JS\") [![Next JS](https://skillicons.dev/icons?i=next \"Next JS\")](https://nextjs.org/ \"Next JS\") [![Typescript](https://skillicons.dev/icons?i=ts \"Typescript\")](https://www.typescriptlang.org/ \"Typescript\") [![Tailwind CSS](https://skillicons.dev/icons?i=tailwind \"Tailwind CSS\")](https://tailwindcss.com/ \"Tailwind CSS\") [![Vercel](https://skillicons.dev/icons?i=vercel \"Vercel\")](https://vercel.app/ \"Vercel\") [![MongoDB](https://skillicons.dev/icons?i=mongodb \"MongoDB\")](https://mongodb.com/ \"MongoDB\")\n\n## :wrench: Stats\n\n[![Stats for this App](/.github/images/stats.svg \"Stats for this App\")](https://pagespeed-insights-svg.glitch.me/?url=https://threaad.vercel.app/ \"Stats for this App\")\n\n## :raised_hands: Contribute\n\nYou might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.\n\n## :gem: Acknowledgements\n\nUseful resources and libraries that are used in My Portfolio\n\n- [Clerk](https://clerk.com/ \"Clerk\")\n- [ShadCN UI](https://shadcn.com/ \"ShadCN UI\")\n- [CLSX](https://www.npmjs.com/package/clsx \"CLSX\")\n- [Uploadthing](https://uploadthing.com/ \"Uploadthing\")\n- [ZOD](https://zod.dev \"ZOD\")\n- [React Hook Form](https://www.react-hook-form.com \"React Hook Form\")\n- [Class Variance Authority](https://www.npmjs.com/package/class-variance-authority \"Class Variance Authority\")\n- [React Hot Toast](https://www.npmjs.com/package/react-hot-toast \"React Hot Toast\")\n- [Lucide Icon](https://lucide.dev \"Lucide Icon\")\n- [Prettier](https://prettier.io \"Prettier\")\n- [ESLint](https://eslint.org \"ESLint\")\n- [Next PWA](https://www.npmjs.com/package/next-pwa \"Next PWA\")\n\n## :coffee: Buy Me a Coffee\n\n[\u003cimg src=\"https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black\" width=\"200\" /\u003e](https://www.buymeacoffee.com/sanidhy \"Buy me a Coffee\")\n\n## :rocket: Follow Me\n\n[![GitHub followers](https://img.shields.io/github/followers/sanidhyy?style=social\u0026label=Follow\u0026maxAge=2592000)](https://github.com/sanidhyy \"Follow Me\")\n[![Twitter](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Ftwitter.com%2FTechnicalShubam)](https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2Fsanidhyy%2Fmedical-chat-app \"Tweet\")\n[![YouTube](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge\u0026logo=youtube\u0026logoColor=white)](https://www.youtube.com/channel/UCNAz_hUVBG2ZUN8TVm0bmYw \"Subscribe my Channel\")\n\n## :books: Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## :page_with_curl: Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\n## :star: Give A Star\n\nYou can also give this repository a star to show more people and they can use this repository.\n\n## :star2: Star History\n\n\u003ca href=\"https://star-history.com/#sanidhyy/threads-clone\u0026Timeline\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=sanidhyy/threads-clone\u0026type=Timeline\u0026theme=dark\" /\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=sanidhyy/threads-clone\u0026type=Timeline\" /\u003e\n    \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=sanidhyy/threads-clone\u0026type=Timeline\" /\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n\u003cbr /\u003e\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanidhyy%2Fthreads-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanidhyy%2Fthreads-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanidhyy%2Fthreads-clone/lists"}