Thanks to visit codestin.com
Credit goes to github.com

Skip to content

An intelligent AI-powered assistant designed to simplify complex queries and deliver clear, concise answers in real time.

Notifications You must be signed in to change notification settings

RishabhJ-26/Perplex-AI

Repository files navigation

🧠 Perplex AI – Your Personalized Research Assistant

Perplex AI is a powerful AI-powered full-stack assistant that combines Google's Gemini Pro API with real-time web results from Serper.dev to answer your complex queries with high accuracy, context, and clarity.

✅ Ask anything
📚 Get relevant web sources
🔐 Authenticated with Clerk
🌐 Live on Vercel
🚀 Built using Next.js App Router, Tailwind CSS, Gemini API, and Serper.dev


🔗 Live Demo: perplex-ai-one.vercel.app


⚡ Key Features

🔎 AI-Powered Q&A
Ask any question — Perplex AI returns intelligent, well-structured answers powered by Gemini Pro.

🌐 Real-Time Search with Serper.dev
Enhances responses with fresh web data, like recent articles, news, or links.

🧠 Source-Aware Answers
Every answer is backed by cited links and summarized context for full transparency.

💡 Fast, Responsive, Clean UI
Crafted using Tailwind CSS with responsive, mobile-friendly layouts.

🧪 Next.js App Router
Utilizes the latest Next.js features including server actions, API routes, and dynamic rendering.


🛠 Tech Stack

Tech Purpose
Next.js 14 Full-stack React framework
Tailwind CSS Fast styling with modern utility classes
Gemini Pro API AI model for natural language responses
Serper.dev API Web search results and source fetching
Vercel Deployment (frontend + serverless API)
TypeScript Type safety & DX

🚀 Getting Started

1. Clone the Repo

git clone https://github.com/RishabhJ-26/Perplex-AI.git
cd Perplex-AI
  1. Install Dependencies
npm install
  1. Configure Environment Variables

    Create a .env.local file in the root and add:

GEMINI_API_KEY=your_google_gemini_api_key
SERPER_API_KEY=your_serper_api_key
  1. Run the Dev Server
npm run dev

Visit http://localhost:3000 to start chatting with Perplex AI.

🌐 Deployment Deploy to Vercel in seconds:

📌 Why I Built This I built Perplex AI to blend real-time web data with conversational AI, learning how to work with the Gemini API, implement external search integrations, and build fast full-stack apps using Next.js App Router. It was a technical challenge and an exciting learning experience!

👨‍💻 Author Rishabh Jain 📧 [email protected] 🔗 LinkedIn | GitHub

📃 License Licensed under the MIT License — use, fork, and build on it freely!

🌟 Support If you find this project helpful:

⭐ Star it 🐛 Report bugs via Issues

About

An intelligent AI-powered assistant designed to simplify complex queries and deliver clear, concise answers in real time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published