├── .dockerignore ├── .eslintrc.json ├── .gitignore ├── .prettierrc.json ├── Dockerfile ├── LICENSE ├── README.md ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── src ├── app │ ├── AppWrapper.tsx │ ├── Feed.tsx │ ├── FeedItem.tsx │ ├── LoginForm.tsx │ ├── LogoutButton.tsx │ ├── PostForm.tsx │ ├── PostItem.tsx │ ├── SignUp.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── notifications │ │ ├── NotificationFeed.tsx │ │ ├── NotificationItem.tsx │ │ └── page.tsx │ ├── page.tsx │ ├── post │ │ └── [slug] │ │ │ └── page.tsx │ ├── search │ │ ├── SearchFeed.tsx │ │ ├── SearchItem.tsx │ │ └── page.tsx │ └── user │ │ └── [slug] │ │ ├── User.tsx │ │ ├── UserItem.tsx │ │ └── page.tsx ├── hooks │ ├── useAutosizeTextArea.ts │ ├── useFetcher.ts │ └── useInfiniteScroll.ts ├── pages │ └── api │ │ ├── block.ts │ │ ├── clearnotifications.ts │ │ ├── feed.ts │ │ ├── feed │ │ └── [slug].ts │ │ ├── follow.ts │ │ ├── like.ts │ │ ├── login.ts │ │ ├── mute.ts │ │ ├── notifications.ts │ │ ├── post.ts │ │ ├── post │ │ └── [slug].ts │ │ ├── quote.ts │ │ ├── recommended.ts │ │ ├── reply.ts │ │ ├── repost.ts │ │ ├── search.ts │ │ ├── unblock.ts │ │ ├── unfollow.ts │ │ ├── unlike.ts │ │ ├── unmute.ts │ │ ├── unrepost.ts │ │ ├── user │ │ └── [slug].ts │ │ ├── version.ts │ │ └── video │ │ └── [...path].ts └── store │ ├── appStore.ts │ ├── authSlice.ts │ └── index.ts ├── tailwind.config.js ├── tsconfig.json └── yarn.lock /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/README.md -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/app/AppWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/AppWrapper.tsx -------------------------------------------------------------------------------- /src/app/Feed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/Feed.tsx -------------------------------------------------------------------------------- /src/app/FeedItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/FeedItem.tsx -------------------------------------------------------------------------------- /src/app/LoginForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/LoginForm.tsx -------------------------------------------------------------------------------- /src/app/LogoutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/LogoutButton.tsx -------------------------------------------------------------------------------- /src/app/PostForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/PostForm.tsx -------------------------------------------------------------------------------- /src/app/PostItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/PostItem.tsx -------------------------------------------------------------------------------- /src/app/SignUp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/SignUp.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/notifications/NotificationFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/notifications/NotificationFeed.tsx -------------------------------------------------------------------------------- /src/app/notifications/NotificationItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/notifications/NotificationItem.tsx -------------------------------------------------------------------------------- /src/app/notifications/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/notifications/page.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/post/[slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/post/[slug]/page.tsx -------------------------------------------------------------------------------- /src/app/search/SearchFeed.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/search/SearchFeed.tsx -------------------------------------------------------------------------------- /src/app/search/SearchItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/search/SearchItem.tsx -------------------------------------------------------------------------------- /src/app/search/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/search/page.tsx -------------------------------------------------------------------------------- /src/app/user/[slug]/User.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/user/[slug]/User.tsx -------------------------------------------------------------------------------- /src/app/user/[slug]/UserItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/user/[slug]/UserItem.tsx -------------------------------------------------------------------------------- /src/app/user/[slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/app/user/[slug]/page.tsx -------------------------------------------------------------------------------- /src/hooks/useAutosizeTextArea.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/hooks/useAutosizeTextArea.ts -------------------------------------------------------------------------------- /src/hooks/useFetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/hooks/useFetcher.ts -------------------------------------------------------------------------------- /src/hooks/useInfiniteScroll.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/hooks/useInfiniteScroll.ts -------------------------------------------------------------------------------- /src/pages/api/block.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/block.ts -------------------------------------------------------------------------------- /src/pages/api/clearnotifications.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/clearnotifications.ts -------------------------------------------------------------------------------- /src/pages/api/feed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/feed.ts -------------------------------------------------------------------------------- /src/pages/api/feed/[slug].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/feed/[slug].ts -------------------------------------------------------------------------------- /src/pages/api/follow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/follow.ts -------------------------------------------------------------------------------- /src/pages/api/like.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/like.ts -------------------------------------------------------------------------------- /src/pages/api/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/login.ts -------------------------------------------------------------------------------- /src/pages/api/mute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/mute.ts -------------------------------------------------------------------------------- /src/pages/api/notifications.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/notifications.ts -------------------------------------------------------------------------------- /src/pages/api/post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/post.ts -------------------------------------------------------------------------------- /src/pages/api/post/[slug].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/post/[slug].ts -------------------------------------------------------------------------------- /src/pages/api/quote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/quote.ts -------------------------------------------------------------------------------- /src/pages/api/recommended.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/recommended.ts -------------------------------------------------------------------------------- /src/pages/api/reply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/reply.ts -------------------------------------------------------------------------------- /src/pages/api/repost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/repost.ts -------------------------------------------------------------------------------- /src/pages/api/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/search.ts -------------------------------------------------------------------------------- /src/pages/api/unblock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/unblock.ts -------------------------------------------------------------------------------- /src/pages/api/unfollow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/unfollow.ts -------------------------------------------------------------------------------- /src/pages/api/unlike.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/unlike.ts -------------------------------------------------------------------------------- /src/pages/api/unmute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/unmute.ts -------------------------------------------------------------------------------- /src/pages/api/unrepost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/unrepost.ts -------------------------------------------------------------------------------- /src/pages/api/user/[slug].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/user/[slug].ts -------------------------------------------------------------------------------- /src/pages/api/version.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/version.ts -------------------------------------------------------------------------------- /src/pages/api/video/[...path].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/pages/api/video/[...path].ts -------------------------------------------------------------------------------- /src/store/appStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/store/appStore.ts -------------------------------------------------------------------------------- /src/store/authSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/store/authSlice.ts -------------------------------------------------------------------------------- /src/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/src/store/index.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenlafl/threads-web-client/HEAD/yarn.lock --------------------------------------------------------------------------------