Skip to content

Chat-Shastra is an Advanced Next13 Chat-Bot as well as AI Image Generator Using Open-AI API. Basically its a combination of Chat-GPT and Dall-E for free. We also Use Clerk for Authentication.

Notifications You must be signed in to change notification settings

sanskargouchandra/Chat-Shastra

Repository files navigation

logo

Chat-Shastra with NEXT.JS!

Chat-Shastra is an Advanced Next13 Chat-Bot as well as AI Image Generator Using Open-AI API. Basically its a combination of Chat-GPT and Dall-E for free. We also Use Clerk for Authentication.

🌟 About the Project

📷 Demo Video


Chat-Shastra.mp4

forthebadge forthebadge forthebadge

⚙️ Installation

🧰 Getting Started

Follow these steps to install and run the project:

  1. Clone the repository

    Open your terminal and run the following command to clone the repository:

    https://github.com/sanskargouchandra/Chat-Shastra.git
  2. Navigate to the project directory

    cd Chat-Shastra
  3. Install Node.js

    The project requires Node.js to run. If you don't have it installed, you can download it from here.

  4. Install the required packages

    The project requires several packages to be installed. Run the following command to install them:

    npm i
  5. Install the required fonts

    The project requires the "font-inter" and "font-spaceGrotesk" fonts to be available. You can download them from Google Fonts.

  6. Set up the environment variables

    • Create .env.local file in fail folder
    • Create Clerk ccount and past the api keys in .env.local
    • Also create OpenAI API and pate it on .env.local.
    NEXT_PUBLIC_OPENAI_ORGANIZATION_ID=****
    NEXT_PUBLIC_OPENAI_API_KEY=***
    
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=****
    CLERK_SECRET_KEY=****
    
    
     NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
     NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
     NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/Intro
     NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/Intro
  7. Start the server

    Run the following command to start the server:

    npm run start

Now, you should be able to access the project at http://localhost:3000.


Don't forget to leave a star ⭐️

About

Chat-Shastra is an Advanced Next13 Chat-Bot as well as AI Image Generator Using Open-AI API. Basically its a combination of Chat-GPT and Dall-E for free. We also Use Clerk for Authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published