项目
在 GitHub 查看
ammaarreshi/Gemini-Search
关于
使用 Gemini 2.0 Flash 和 Grounding 构建的 Perplexity 风格 AI 搜索引擎克隆。
数据与分析可以做什么
- 🔍 Real-time web search integration
- 🤖 Powered by Google's latest Gemini 2.0 Flash model
- 📚 Source citations and references for answers
- 💬 Follow-up questions in the same chat session
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Gemini Search
A Perplexity-style search engine powered by Google's Gemini 2.0 Flash model with grounding through Google Search. Get AI-powered answers to your questions with real-time web sources and citations.
Created by @ammaar
Features
- 🔍 Real-time web search integration
- 🤖 Powered by Google's latest Gemini 2.0 Flash model
- 📚 Source citations and references for answers
- 💬 Follow-up questions in the same chat session
- 🎨 Clean, modern UI inspired by Perplexity
- ⚡ Fast response times
Tech Stack
- Frontend: React + Vite + TypeScript + Tailwind CSS
- Backend: Express.js + TypeScript
- AI: Google Gemini 2.0 Flash API
- Search: Google Search API integration
Setup
Prerequisites
- Node.js (v18 or higher recommended)
- npm or yarn
- A Google API key with access to Gemini API
Installation
Clone the repository:
git clone https://github.com/ammaarreshi/Gemini-Search.git cd Gemini-SearchInstall dependencies:
npm installCreate a
.envfile in the root directory:GOOGLE_API_KEY=your_api_key_hereStart the development server:
npm run devOpen your browser and navigate to:
http://localhost:3000
Environment Variables
GOOGLE_API_KEY: Your Google API key with access to Gemini APINODE_ENV: Set to "development" by default, use "production" for production builds
Development
npm run dev: Start the development servernpm run build: Build for productionnpm run start: Run the production servernpm run check: Run TypeScript type checking
Security Notes
- Never commit your
.envfile or expose your API keys - The
.gitignorefile is configured to exclude sensitive files - If you fork this repository, make sure to use your own API keys
License
MIT License - feel free to use this code for your own projects!
Acknowledgments
- Inspired by Perplexity
- Built with Google's Gemini API
- UI components from shadcn/ui
探索相关项目
加载中…