mirror of
https://github.com/0xGingi/Gemini-Search-Discord.git
synced 2026-09-21 11:44:32 -04:00
No description
- JavaScript 98.9%
- Dockerfile 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| commands | ||
| .dockerignore | ||
| .gitignore | ||
| config.example.json | ||
| deploy-commands.js | ||
| docker-compose.yml | ||
| Dockerfile | ||
| index.js | ||
| package.json | ||
| README.md | ||
Gemini Search Discord
A Discord bot that uses Google Gemini Flash 2.0 with web search capabilities.
Features
- Web search using Gemini Flash 2.0 (
/search) - Image analysis with Gemini Flash 2.0 (
/analyze) - Help command for information (
/help)
Setup
Prerequisites
- Node.js or Docker
- Discord Bot Token
- Paid Google Gemini API Key
Configuration
Create a config.json file in the root directory with the following structure:
{
"DISCORD_TOKEN": "your_discord_bot_token",
"DISCORD_CLIENT_ID": "your_discord_client_id",
"GEMINI_API_KEY": "your_gemini_api_key"
}
Standard Installation
-
Install dependencies:
npm install -
Deploy commands:
npm run deploy -
Start the bot:
npm start
Docker Installation
-
Make sure Docker and Docker Compose are installed on your system
-
Create your
config.jsonfile as described above -
Build and start the container:
docker-compose up -d -
View logs:
docker-compose logs -f -
Stop the bot:
docker-compose down
Available Commands
/search [query]- Search the web using Google Gemini/analyze [image] [prompt]- Analyze an uploaded image/help- Display bot information and available commands