Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sudipb7/ai
- Owner: sudipb7
- Created: 2024-02-09T16:13:59.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T10:13:30.000Z (3 months ago)
- Last Synced: 2024-11-04T11:23:33.479Z (3 months ago)
- Topics: genai, mdast-util, nextjs, react-syntax-highlighter, shadcn-ui, supabase, supabase-ssr, tailwindcss, typescript, vercel-ai-sdk
- Language: TypeScript
- Homepage: https://ai.sudipbiswas.dev
- Size: 1.76 MB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)