GeniusGPT is an AI-driven platform that offers interactive conversations, image generation, audio generation, video generation and code generation features to its users.
GeniusGPT offers a comprehensive suite of learning tools:
- Conversation: Ask questions and receive clear explanations from AI.
- Image Generation: Generate custom image files.
- Audio Generation: Generate custom audio files.
- Video Generation: Generate custom video files.
- Code Generation: Get code snippets and explanations for various programming topics.
These instructions will help you set up GeniusGPT on your local machine for development and testing.
Make sure you have the following installed:
-
Clone the repository:
bash git clone https://github.com/bhavkushwaha/GeniusGPT
-
Navigate into the project directory:
bash cd EduBuddy
-
Install dependencies:
bash npm install
-
(Optional) Set up the database and configure environment variables:
Create a .env file in the root directory with the following variables:
DB_HOST=localhost DB_PORT=5432 DB_USER=your-username DATABASE_URL=your-url NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY = "your_key" CLERK_SECRET_KEY = "your_key"
-
Start the development server:
bash npm run dev
-
Open your browser and navigate to:
-
To create a production build:
bash npm run build
GeniusGPT requires certain environment variables to be set for database connections and API key integration:
-
Database Configuration: Modify the
.envfile as needed. -
API Keys: If using third-party APIs for quiz generation or code snippets, add them in the
.envfile (we used OpenAI )OPENAI_API_KEY=your-openai-api-key
The project includes several scripts to streamline development and deployment:
- npm start: Starts the server in production mode.
- npm run dev: Starts the server in development mode with hot-reloading.
- npm run build: Builds the project for production.