Giter Club home page Giter Club logo

threadx.ai's Introduction

Banner

GitHub code size in bytes GitHub last commit GitHub commit activity month GitHub license

๐Ÿ“Œ Overview

  • 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.

๐Ÿ” Table of Contents

๐Ÿ“ Project Structure

โ”œโ”€โ”€ .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

๐Ÿ“ Project Summary

๐Ÿ’ป Stack

  • 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.

โš™๏ธ Setting Up

  • Step 1

Your Environment Variable

GOOGLE_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
NEXT_AUTH_URL=
NEXTAUTH_SECRET=
GITHUB_SECRET=
GITHUB_ID=
DATABASE_URL=
NEXTAUTH_SECRET=
OPENAI_API_KEY=

๐Ÿš€ Run Locally

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

๐Ÿ™Œ Contributors

๐Ÿ“„ License

This project is licensed under the MIT License - see the MIT License file for details.

threadx.ai's People

Contributors

codescalper avatar imadipal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.