├── .env.example ├── .gitignore ├── README.md ├── components.json ├── next.config.js ├── package.json ├── postcss.config.js ├── prisma ├── migrations │ ├── 20230708190621_initial │ │ └── migration.sql │ ├── 20230711161931_update │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── public ├── icon-192x192.png ├── icon-256x256.png ├── icon-384x384.png ├── icon-512x512.png ├── logo │ ├── threads-dark.svg │ └── threads.svg ├── manifest.json └── vercel.svg ├── src ├── app │ ├── [username] │ │ ├── layout.tsx │ │ ├── page.tsx │ │ └── replies │ │ │ └── page.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ └── route.tsx │ │ ├── loadmore │ │ │ └── route.ts │ │ ├── thread │ │ │ ├── create │ │ │ │ └── route.ts │ │ │ └── reply │ │ │ │ └── route.ts │ │ └── uploadthing │ │ │ ├── core.ts │ │ │ └── route.ts │ ├── create │ │ ├── comment │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ └── page.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── notifications │ │ ├── layout.tsx │ │ ├── likes │ │ │ └── page.tsx │ │ ├── mentions │ │ │ └── page.tsx │ │ ├── page.tsx │ │ └── replies │ │ │ └── page.tsx │ ├── onboarding │ │ └── page.tsx │ ├── page.tsx │ ├── search │ │ └── page.tsx │ ├── settings │ │ ├── layout.tsx │ │ └── page.tsx │ ├── sign-in │ │ └── page.tsx │ ├── styles │ │ └── editor.css │ └── thread │ │ ├── [id] │ │ └── page.tsx │ │ └── layout.tsx ├── assets │ ├── google.svg │ ├── loop-light.svg │ ├── loop.svg │ ├── verified.png │ └── verified.svg ├── components │ ├── AuthenticationForm.tsx │ ├── SubmitThread.tsx │ ├── ThreadCreate.tsx │ ├── common │ │ ├── Navbar.tsx │ │ ├── ProfilePreview.tsx │ │ └── Providers.tsx │ ├── logo │ │ └── Logo.tsx │ ├── miscellaneous │ │ ├── CloseModal.tsx │ │ └── SorryPageNotFound.tsx │ ├── notifications │ │ ├── AllNotifications.tsx │ │ ├── Notification.tsx │ │ └── NotificationsNav.tsx │ ├── onboarding │ │ ├── OnboardingProfileUpdate.tsx │ │ ├── Privacy.tsx │ │ └── Screens.tsx │ ├── profile │ │ ├── EditProfile.tsx │ │ ├── Profile.tsx │ │ └── SignOut.tsx │ ├── search │ │ ├── Bar.tsx │ │ ├── FollowButton.tsx │ │ └── SearchUser.tsx │ ├── settings │ │ └── ThemeChange.tsx │ ├── thread │ │ ├── AuthorNameLink.tsx │ │ ├── BackButton.tsx │ │ ├── HomeThreads.tsx │ │ ├── MainThread.tsx │ │ ├── MoreMenu.tsx │ │ ├── Others.tsx │ │ ├── Thread.tsx │ │ ├── ThreadComponent.tsx │ │ ├── comment │ │ │ └── CreateComponent.tsx │ │ ├── controls │ │ │ ├── Comment.tsx │ │ │ ├── Like.tsx │ │ │ ├── Repost.tsx │ │ │ ├── Share.tsx │ │ │ └── index.tsx │ │ └── create │ │ │ └── Create.tsx │ └── ui │ │ ├── alert-dialog.tsx │ │ ├── avatar.tsx │ │ ├── badge.tsx │ │ ├── button.tsx │ │ ├── card.tsx │ │ ├── dialog.tsx │ │ ├── dropdown-menu.tsx │ │ ├── input.tsx │ │ ├── label.tsx │ │ ├── scroll-area.tsx │ │ ├── separator.tsx │ │ ├── tabs.tsx │ │ ├── textarea.tsx │ │ ├── toast.tsx │ │ └── toaster.tsx ├── lib │ ├── actions │ │ ├── index.ts │ │ ├── threadActions.ts │ │ └── userActions.ts │ ├── auth.ts │ ├── db.ts │ ├── uploadImage.ts │ ├── uploadthing.ts │ ├── use-toast.ts │ ├── username.ts │ ├── utils.ts │ └── validators │ │ └── threadSubmit.ts ├── middleware.ts ├── types │ ├── editor.d.ts │ └── next-auth.d.ts └── urls │ └── navigationUrls.ts ├── tailwind.config.js └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/components.json -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prisma/migrations/20230708190621_initial/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/prisma/migrations/20230708190621_initial/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230711161931_update/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/prisma/migrations/20230711161931_update/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/icon-192x192.png -------------------------------------------------------------------------------- /public/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/icon-256x256.png -------------------------------------------------------------------------------- /public/icon-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/icon-384x384.png -------------------------------------------------------------------------------- /public/icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/icon-512x512.png -------------------------------------------------------------------------------- /public/logo/threads-dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/logo/threads-dark.svg -------------------------------------------------------------------------------- /public/logo/threads.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/logo/threads.svg -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/app/[username]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/[username]/layout.tsx -------------------------------------------------------------------------------- /src/app/[username]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/[username]/page.tsx -------------------------------------------------------------------------------- /src/app/[username]/replies/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/[username]/replies/page.tsx -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/api/auth/[...nextauth]/route.tsx -------------------------------------------------------------------------------- /src/app/api/loadmore/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/api/loadmore/route.ts -------------------------------------------------------------------------------- /src/app/api/thread/create/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/api/thread/create/route.ts -------------------------------------------------------------------------------- /src/app/api/thread/reply/route.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/app/api/uploadthing/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/api/uploadthing/core.ts -------------------------------------------------------------------------------- /src/app/api/uploadthing/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/api/uploadthing/route.ts -------------------------------------------------------------------------------- /src/app/create/comment/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/create/comment/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/create/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/create/page.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/notifications/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/notifications/layout.tsx -------------------------------------------------------------------------------- /src/app/notifications/likes/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/notifications/likes/page.tsx -------------------------------------------------------------------------------- /src/app/notifications/mentions/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/notifications/mentions/page.tsx -------------------------------------------------------------------------------- /src/app/notifications/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/notifications/page.tsx -------------------------------------------------------------------------------- /src/app/notifications/replies/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/notifications/replies/page.tsx -------------------------------------------------------------------------------- /src/app/onboarding/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/onboarding/page.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/search/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/search/page.tsx -------------------------------------------------------------------------------- /src/app/settings/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/settings/layout.tsx -------------------------------------------------------------------------------- /src/app/settings/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/settings/page.tsx -------------------------------------------------------------------------------- /src/app/sign-in/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/sign-in/page.tsx -------------------------------------------------------------------------------- /src/app/styles/editor.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/styles/editor.css -------------------------------------------------------------------------------- /src/app/thread/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/thread/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/thread/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/app/thread/layout.tsx -------------------------------------------------------------------------------- /src/assets/google.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/assets/google.svg -------------------------------------------------------------------------------- /src/assets/loop-light.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/assets/loop-light.svg -------------------------------------------------------------------------------- /src/assets/loop.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/assets/loop.svg -------------------------------------------------------------------------------- /src/assets/verified.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/assets/verified.png -------------------------------------------------------------------------------- /src/assets/verified.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/assets/verified.svg -------------------------------------------------------------------------------- /src/components/AuthenticationForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/AuthenticationForm.tsx -------------------------------------------------------------------------------- /src/components/SubmitThread.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/SubmitThread.tsx -------------------------------------------------------------------------------- /src/components/ThreadCreate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ThreadCreate.tsx -------------------------------------------------------------------------------- /src/components/common/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/common/Navbar.tsx -------------------------------------------------------------------------------- /src/components/common/ProfilePreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/common/ProfilePreview.tsx -------------------------------------------------------------------------------- /src/components/common/Providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/common/Providers.tsx -------------------------------------------------------------------------------- /src/components/logo/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/logo/Logo.tsx -------------------------------------------------------------------------------- /src/components/miscellaneous/CloseModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/miscellaneous/CloseModal.tsx -------------------------------------------------------------------------------- /src/components/miscellaneous/SorryPageNotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/miscellaneous/SorryPageNotFound.tsx -------------------------------------------------------------------------------- /src/components/notifications/AllNotifications.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/notifications/AllNotifications.tsx -------------------------------------------------------------------------------- /src/components/notifications/Notification.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/notifications/Notification.tsx -------------------------------------------------------------------------------- /src/components/notifications/NotificationsNav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/notifications/NotificationsNav.tsx -------------------------------------------------------------------------------- /src/components/onboarding/OnboardingProfileUpdate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/onboarding/OnboardingProfileUpdate.tsx -------------------------------------------------------------------------------- /src/components/onboarding/Privacy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/onboarding/Privacy.tsx -------------------------------------------------------------------------------- /src/components/onboarding/Screens.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/onboarding/Screens.tsx -------------------------------------------------------------------------------- /src/components/profile/EditProfile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/profile/EditProfile.tsx -------------------------------------------------------------------------------- /src/components/profile/Profile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/profile/Profile.tsx -------------------------------------------------------------------------------- /src/components/profile/SignOut.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/profile/SignOut.tsx -------------------------------------------------------------------------------- /src/components/search/Bar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/search/Bar.tsx -------------------------------------------------------------------------------- /src/components/search/FollowButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/search/FollowButton.tsx -------------------------------------------------------------------------------- /src/components/search/SearchUser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/search/SearchUser.tsx -------------------------------------------------------------------------------- /src/components/settings/ThemeChange.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/settings/ThemeChange.tsx -------------------------------------------------------------------------------- /src/components/thread/AuthorNameLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/AuthorNameLink.tsx -------------------------------------------------------------------------------- /src/components/thread/BackButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/BackButton.tsx -------------------------------------------------------------------------------- /src/components/thread/HomeThreads.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/HomeThreads.tsx -------------------------------------------------------------------------------- /src/components/thread/MainThread.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/MainThread.tsx -------------------------------------------------------------------------------- /src/components/thread/MoreMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/MoreMenu.tsx -------------------------------------------------------------------------------- /src/components/thread/Others.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/Others.tsx -------------------------------------------------------------------------------- /src/components/thread/Thread.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/Thread.tsx -------------------------------------------------------------------------------- /src/components/thread/ThreadComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/ThreadComponent.tsx -------------------------------------------------------------------------------- /src/components/thread/comment/CreateComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/comment/CreateComponent.tsx -------------------------------------------------------------------------------- /src/components/thread/controls/Comment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/controls/Comment.tsx -------------------------------------------------------------------------------- /src/components/thread/controls/Like.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/controls/Like.tsx -------------------------------------------------------------------------------- /src/components/thread/controls/Repost.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/controls/Repost.tsx -------------------------------------------------------------------------------- /src/components/thread/controls/Share.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/controls/Share.tsx -------------------------------------------------------------------------------- /src/components/thread/controls/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/controls/index.tsx -------------------------------------------------------------------------------- /src/components/thread/create/Create.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/thread/create/Create.tsx -------------------------------------------------------------------------------- /src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/button.tsx -------------------------------------------------------------------------------- /src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/card.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/input.tsx -------------------------------------------------------------------------------- /src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/label.tsx -------------------------------------------------------------------------------- /src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/lib/actions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/actions/index.ts -------------------------------------------------------------------------------- /src/lib/actions/threadActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/actions/threadActions.ts -------------------------------------------------------------------------------- /src/lib/actions/userActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/actions/userActions.ts -------------------------------------------------------------------------------- /src/lib/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/auth.ts -------------------------------------------------------------------------------- /src/lib/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/db.ts -------------------------------------------------------------------------------- /src/lib/uploadImage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/uploadImage.ts -------------------------------------------------------------------------------- /src/lib/uploadthing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/uploadthing.ts -------------------------------------------------------------------------------- /src/lib/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/use-toast.ts -------------------------------------------------------------------------------- /src/lib/username.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/username.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/lib/validators/threadSubmit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/lib/validators/threadSubmit.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/types/editor.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/types/editor.d.ts -------------------------------------------------------------------------------- /src/types/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/types/next-auth.d.ts -------------------------------------------------------------------------------- /src/urls/navigationUrls.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/src/urls/navigationUrls.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pawan67/threads-clone/HEAD/tsconfig.json --------------------------------------------------------------------------------