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: 3 months 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-07-14T13:34:58.272Z (4 months 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)---