Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2096779623/tg-gemini-bot
A simply gemini chatbot on telegram.
https://github.com/2096779623/tg-gemini-bot
Last synced: 26 days ago
JSON representation
A simply gemini chatbot on telegram.
- Host: GitHub
- URL: https://github.com/2096779623/tg-gemini-bot
- Owner: 2096779623
- License: mit
- Created: 2024-03-17T07:12:57.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T02:04:33.000Z (7 months ago)
- Last Synced: 2024-05-20T21:49:49.065Z (6 months ago)
- Language: Go
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tg-gemini-bot
A simply gemini chatbot on telegram.
# Installation
## git
```bash
git clone https://github.com/2096779623/tg-gemini-bot
cd tg-gemini-bot
go mod tidy
go build -o tg-gemini-bot
chmod +x tg-gemini-bot
TELEBOT_TOKEN=your_telegram_bot_token GEMINI_API_KEY=your_gemini_api_key ./tg-gemini-bot
# or `TELEBOT_TOKEN=your_telegram_bot_token GEMINI_API_KEY=your_gemini_api_key go run main.go` directly
```
## Docker (recommend)```bash
docker pull ghcr.io/2096779623/tg-gemini-bot:latest
docker run --restart always --env TELEBOT_TOKEN=your_telegram_bot_token --env GEMINI_API_KEY=your_gemini_api_key --name tg-gemini-bot tg-gemini-bot:latest
```# usage
```bash
Usage of tg-gemini-bot:
-proxy string
SOCKS5 proxy address
-version bool
show version
```