Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fayasnoushad/gemini-bot
A telegram gemini generative ai bot made with gemini api.
https://github.com/fayasnoushad/gemini-bot
gemini gemini-api gemini-pro gemini-pro-vision generative-ai telegram telegram-bot
Last synced: 10 days ago
JSON representation
A telegram gemini generative ai bot made with gemini api.
- Host: GitHub
- URL: https://github.com/fayasnoushad/gemini-bot
- Owner: FayasNoushad
- License: mit
- Created: 2024-03-16T06:58:22.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-24T10:09:32.000Z (8 months ago)
- Last Synced: 2024-10-11T20:19:00.556Z (26 days ago)
- Topics: gemini, gemini-api, gemini-pro, gemini-pro-vision, generative-ai, telegram, telegram-bot
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 7
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gemini-Bot
A telegram gemini generative ai bot made with gemini api.---
## Deploy
```sh
git clone https://github.com/FayasNoushad/Gemini-Bot.git
cd Gemini-Bot
python3 -m venv venv
. ./venv/bin/activate
pip3 install -r requirements.txt
#
python3 main.py
```---
## Variables
### Required
- `API_HASH` Your API Hash from my.telegram.org
- `API_ID` Your API ID from my.telegram.org
- `BOT_TOKEN` Your bot token from @BotFather
- `DATABASE_URL` From Mongo DB### Not Required
- `DATABASE_NAME` Your database name
- `AUTH` Authorisation (True or False), default is false
- `AUTH_USERS` Authorised users IDs seperated by whitespace
---## Credits
- [Google AI Studio](https://aistudio.google.com/)
- [Contributors](https://github.com/FayasNoushad/Gemini-Bot/graphs/contributors)
- [Pyrogram](https://github.com/pyrogram/pyrogram)---