Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sudipb7/ai

AI chatbot
https://github.com/sudipb7/ai

genai mdast-util nextjs react-syntax-highlighter shadcn-ui supabase supabase-ssr tailwindcss typescript vercel-ai-sdk

Last synced: 2 months ago
JSON representation

AI chatbot

Awesome Lists containing this project

README

        

# Chat with AI like never before

AI is a free tool to interact with Google's Gemini Pro model with an amazing user experience

![Landing page](https://ai.sudipbiswas.dev/og.png)

## Tech Stack

- Next.JS - Application foundation for a responsive and efficient user interface.
- Supabase - Secure authentication
- TypeScript - Improved code quality and maintainability through static typing.
- Shadcn UI - Attractive, user-friendly visual base thanks to TailwindCSS and RadixUI.
- Google's Generative AI - Connects to Google's Gemini Pro API.
- Vercel AI SDK - AI integration for efficient streaming.
- mdast-util-from-markdown - Markdown syntax parsing and rendering.
- react-syntax-highlighter - Code syntax highlighting.
- React-hook-form - Form state management
- Zod - Validation library for data integrity and security.
- Nodemailer - For sending feedback mails.

## Setting up locally

### 1. Clone on your local machine

```bash
https://github.com/sudipb7/x-clone.git
```

### 2. Install dependencies

```bash
npm install
```

### 3. Add environment variables to your `.env` file

```
# Google Gemini API key
GOOGLE_API_KEY=

# Email and password for SMTP server
USER=
PASS=

# Supabase project url and anon key
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
```

### 4. Create Supabase project and create user table

### 5. Run on your local server

```bash
npm run dev
```

## Connect with me

[Twitter](https://twitter.com/SudipB7_)

[LinkedIn](https://linkedin.com/in/sudipb7)