Delete README.md
Browse files
README.md
DELETED
|
@@ -1,92 +0,0 @@
|
|
| 1 |
-
# Gemini Search
|
| 2 |
-
|
| 3 |
-
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.
|
| 4 |
-
|
| 5 |
-
Created by [@ammaar](https://x.com/ammaar)
|
| 6 |
-
|
| 7 |
-

|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
## Features
|
| 11 |
-
|
| 12 |
-
- 🔍 Real-time web search integration
|
| 13 |
-
- 🤖 Powered by Google's latest Gemini 2.0 Flash model
|
| 14 |
-
- 📚 Source citations and references for answers
|
| 15 |
-
- 💬 Follow-up questions in the same chat session
|
| 16 |
-
- 🎨 Clean, modern UI inspired by Perplexity
|
| 17 |
-
- ⚡ Fast response times
|
| 18 |
-
|
| 19 |
-
## Tech Stack
|
| 20 |
-
|
| 21 |
-
- Frontend: React + Vite + TypeScript + Tailwind CSS
|
| 22 |
-
- Backend: Express.js + TypeScript
|
| 23 |
-
- AI: Google Gemini 2.0 Flash API
|
| 24 |
-
- Search: Google Search API integration
|
| 25 |
-
|
| 26 |
-
## Setup
|
| 27 |
-
|
| 28 |
-
### Prerequisites
|
| 29 |
-
|
| 30 |
-
- Node.js (v18 or higher recommended)
|
| 31 |
-
- npm or yarn
|
| 32 |
-
- A Google API key with access to Gemini API
|
| 33 |
-
|
| 34 |
-
### Installation
|
| 35 |
-
|
| 36 |
-
1. Clone the repository:
|
| 37 |
-
|
| 38 |
-
```bash
|
| 39 |
-
git clone https://github.com/ammaarreshi/Gemini-Search.git
|
| 40 |
-
cd Gemini-Search
|
| 41 |
-
```
|
| 42 |
-
|
| 43 |
-
2. Install dependencies:
|
| 44 |
-
|
| 45 |
-
```bash
|
| 46 |
-
npm install
|
| 47 |
-
```
|
| 48 |
-
|
| 49 |
-
3. Create a `.env` file in the root directory:
|
| 50 |
-
|
| 51 |
-
```
|
| 52 |
-
GOOGLE_API_KEY=your_api_key_here
|
| 53 |
-
```
|
| 54 |
-
|
| 55 |
-
4. Start the development server:
|
| 56 |
-
|
| 57 |
-
```bash
|
| 58 |
-
npm run dev
|
| 59 |
-
```
|
| 60 |
-
|
| 61 |
-
5. Open your browser and navigate to:
|
| 62 |
-
```
|
| 63 |
-
http://localhost:3000
|
| 64 |
-
```
|
| 65 |
-
|
| 66 |
-
## Environment Variables
|
| 67 |
-
|
| 68 |
-
- `GOOGLE_API_KEY`: Your Google API key with access to Gemini API
|
| 69 |
-
- `NODE_ENV`: Set to "development" by default, use "production" for production builds
|
| 70 |
-
|
| 71 |
-
## Development
|
| 72 |
-
|
| 73 |
-
- `npm run dev`: Start the development server
|
| 74 |
-
- `npm run build`: Build for production
|
| 75 |
-
- `npm run start`: Run the production server
|
| 76 |
-
- `npm run check`: Run TypeScript type checking
|
| 77 |
-
|
| 78 |
-
## Security Notes
|
| 79 |
-
|
| 80 |
-
- Never commit your `.env` file or expose your API keys
|
| 81 |
-
- The `.gitignore` file is configured to exclude sensitive files
|
| 82 |
-
- If you fork this repository, make sure to use your own API keys
|
| 83 |
-
|
| 84 |
-
## License
|
| 85 |
-
|
| 86 |
-
MIT License - feel free to use this code for your own projects!
|
| 87 |
-
|
| 88 |
-
## Acknowledgments
|
| 89 |
-
|
| 90 |
-
- Inspired by [Perplexity](https://www.perplexity.ai/)
|
| 91 |
-
- Built with [Google's Gemini API](https://ai.google.dev/)
|
| 92 |
-
- UI components from [shadcn/ui](https://ui.shadcn.com/)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|