Introducing the Chatify – your new and interactive assistant for talking with your image. This web app is designed to make extracting text from images and answering questions about them as easy task.
Screenity.video.-.Jul.16.2024.mp4
https://chatify-jade-eight.vercel.app/
- Extract text from uploaded Image
- Ask Question from based on the uploaded images
- Get an answer from a GenAI (Gemini)
Client: React,Vite, Typescript, TailwindCSS
Server: Node, Express, MongoDB, Cloudinary
Needed to save the uploaded images , using server's disk storage is not optimal cause it'll increase the resources consumed my server system, So went for Cloudinary to save those images and get a url to save in mongoDB table.
clone the repo
git clone https://github.com/shayan-cyber/Chatify.git
cd server
npm i
make a .env file and add
PORT=3000
MONGO_URI="your_mongoDB_URL"
CLOUD_NAME="your_cloudinary_cloud_name"
CLOUDINARY_KEY="your_cloudinary_key"
CLOUDINARY_SECRET="your_cloudinary_secret"
Run the server
npm run start
cd client
npm i
make a .env file and add
VITE_SERVER_URL=http://localhost:3000
VITE_GEMINI_API_KEY=""
Run the client
npm run dev
Client URL: http://localhost:5173/
Server URL: http://localhost:3000/
POST /api/bot/upload
Parameter | Type | Description |
---|---|---|
image |
file |
required. |
text |
string |
required. |
GET /api/bot/history