Chat with advanced LLM models using the Groq API.
This project depends on some software and third-party services.
-
Make sure you already have Node.js and PostgreSQL installed on your machine.
-
Under the hood, this app will make requests to the Groq API, so you need to get your Groq API key.
-
The app is using Github and Google for authentication using OAuth2. You need to to get the OAuth2 client ID and secret for Github and Google.
-
An email server for sending emails e.g: SendGrid.
After cloning this repo, follow these steps:
-
Connect to your PostgreSQL server and create new database and user:
CREATE DATABASE grok_talk; CREATE USER grok_talk WITH PASSWORD '<your password>'; GRANT ALL PRIVILEGES ON DATABASE grok_talk TO grok_talk;
-
Copy the
.env.local_sample
to.env.local
and fill in all of the values. -
Install the dependencies:
npm install
-
Run the database migrations:
npm run dev:migrate
-
Run the development server:
npm run dev:server
You can open the app on http://localhost:8002
using your browser.
MIT