- ThreadX lets you generate captivating Twitter threads effortlessly with the power of AI. Choose from a variety of vibes and let the AI do the rest.
- It's a project that relies on essential dependencies such as hookform/resolvers, next-auth/prisma-adapter, radix-ui/react components, vercel/kv, bcrypt, next, react, tailwindcss, and typescript.
โโโ .eslintrc.json
โโโ .gitignore
โโโ README.md
โโโ app
โ โโโ (auth)
โ โ โโโ sign-in
โ โ โ โโโ page.tsx
โ โ โโโ sign-up
โ โ โโโ page.tsx
โ โโโ Header.tsx
โ โโโ api
โ โ โโโ auth
โ โ โ โโโ [...nextauth]
โ โ โ โโโ route.ts
โ โ โโโ chat
โ โ โ โโโ route.ts
โ โ โโโ route.ts
โ โ โโโ user
โ โ โโโ route.ts
โ โโโ context
โ โ โโโ ThreadContext.tsx
โ โโโ generate
โ โ โโโ page.tsx
โ โโโ globals.css
โ โโโ layout.tsx
โ โโโ page.tsx
โโโ components.json
โโโ components
โ โโโ CheckBoxEmoji.tsx
โ โโโ ClientHero.tsx
โ โโโ Context
โ โ โโโ vibeContext.ts
โ โโโ Footer.tsx
โ โโโ LightDark.tsx
โ โโโ Number.tsx
โ โโโ SelectVibe.tsx
โ โโโ Thread.tsx
โ โโโ UserSignOut.tsx
โ โโโ form
โ โ โโโ SignIn.tsx
โ โ โโโ SignUp.tsx
โ โโโ input.tsx
โ โโโ theme-provider.tsx
โ โโโ ui
โ โโโ button.tsx
โ โโโ card.tsx
โ โโโ checkbox.tsx
โ โโโ dropdown-menu.tsx
โ โโโ form.tsx
โ โโโ input.tsx
โ โโโ label.tsx
โ โโโ select.tsx
โโโ lib
โ โโโ auth.ts
โ โโโ db.ts
โ โโโ utils.ts
โโโ next.config.js
โโโ package-lock.json
โโโ package.json
โโโ postcss.config.js
โโโ prisma
โ โโโ migrations
โ โ โโโ 20231006112435_init
โ โ โ โโโ migration.sql
โ โ โโโ 20231007111533_new_mig
โ โ โ โโโ migration.sql
โ โ โโโ 20231011131426_
โ โ โ โโโ migration.sql
โ โ โโโ 20231011132355_name
โ โ โ โโโ migration.sql
โ โ โโโ 20231012104644_image
โ โ โ โโโ migration.sql
โ โ โโโ migration_lock.toml
โ โโโ schema.prisma
โโโ tailwind.config.js
โโโ tailwind.config.ts
โโโ tsconfig.json
- app: Main application directory.
- app/(auth): Authentication-related functionalities.
- app/(auth)/sign-in: Sign-in functionality for authentication.
- app/(auth)/sign-up: Sign-up functionality for authentication.
- app/api: API-related functionalities.
- app/api/auth: Authentication-related API functionalities.
- app/api/chat: Chat-related API functionalities.
- app/api/user: User-related API functionalities.
- components: Reusable UI components.
- lib: Libraries and utility functions used in the project.
- next-auth: Authentication library for Next.js projects.
- prisma: Database toolkit and ORM for TypeScript and Node.js.
- react-hook-form: Library for flexible and efficient form validation in React.
- react-icons: Collection of popular icons as React components.
- tailwindcss: Utility-first CSS framework for rapid UI development.
- typescript: Typed superset of JavaScript that compiles to plain JavaScript.
- next: React framework for building server-side rendered and static websites.
- react: JavaScript library for building user interfaces.
- Step 1
GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
NEXT_AUTH_URL=
NEXTAUTH_SECRET=
GITHUB_SECRET=
GITHUB_ID=
DATABASE_URL=
NEXTAUTH_SECRET=
OPENAI_API_KEY=
1.Clone the threadx repository:
git clone https://github.com/codescalper/threadx
2.Install the dependencies with one of the package managers listed below:
npm install
3.Start the development mode:
npm run dev
This project is licensed under the MIT License - see the MIT License file for details.