Skip to content

ChatGPT-inspired project that leverages the OpenAI API for real-time natural language processing.

Notifications You must be signed in to change notification settings

gateremark/gaterebot

Repository files navigation

GitHub deployments

GatereBot

GatereBot is a ChatGPT-inspired project that leverages the OpenAI API for real-time natural language processing. It is built using NextJS, Tailwind CSS, OpenAI API, MongoDB and Mongoose for chat storage, React Markdown, Vercel AI SDK, and Next Auth for authentication.


Table of Contents

Features

  • Utilizes NextJS and Tailwind CSS for a responsive and modern UI
  • Real-time natural language processing using OpenAI API
  • Chat storage in MongoDB with Mongoose
  • User authentication with Next Auth
  • Integration with Vercel AI SDK for enhanced functionality
  • Supports rendering of React Markdown for rich content

Technologies

  • NextJS : React framework for server-side rendering and optimal performance.
  • Tailwind CSS : A utility-first CSS framework for rapidly designing responsive web pages.
  • OpenAI API : Enables real-time natural language processing for user interactions.
  • MongoDB and Mongoose : NoSQL database and ODM for flexible data storage and modeling.
  • React Markdown : Library for rendering Markdown content as React components.
  • Vercel AI SDK : Integrates AI capabilities into the application deployed on Vercel.
  • Next Auth : Authentication library for secure user access with social authentication providers.

Installation

  1. Clone the repository:

    git clone https://github.com/gateremark/gaterebot.git
  2. Install dependencies:

    cd gaterebot
    pnpm install
  3. Set up environment variables. Create a .env file in the root of your project and add the following:

    NEXTAUTH_SECRET=replace_me
    GITHUB_ID=replace_me
    GITHUB_SECRET=replace_me
    GOOGLE_CLIENT_ID=replace_me
    GOOGLE_CLIENT_SECRET=replace_me
    OPENAI_API_KEY=replace_me
    MONGODB_URI=replace_me
  4. Run the development server:

    pnpm run dev
  5. Open your browser and navigate to http://localhost:3000.

Deployment

GatereBot is deployed using Vercel. Any changes pushed to the main branch will trigger an automatic deployment. You can visit the live version of gaterebot at https://gaterebot.vercel.app/.

Contributing

Welcoming all contributions to improve the project! To contribute, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your feature:

    git checkout -b feature-name
  3. Make your changes and commit them:

    git commit -m "Description of your changes"
  4. Push your changes to your fork:

    git push origin feature-name
  5. Submit a pull request to the main branch of the original repository.

About

ChatGPT-inspired project that leverages the OpenAI API for real-time natural language processing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published