https://github.com/j03-dev/gemini-bot
AI Messenger Bot, with Gemini API
https://github.com/j03-dev/gemini-bot
gemini-api gpt messenger-bot russenger rust
Last synced: 12 months ago
JSON representation
AI Messenger Bot, with Gemini API
- Host: GitHub
- URL: https://github.com/j03-dev/gemini-bot
- Owner: j03-dev
- License: apache-2.0
- Created: 2024-04-27T15:55:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T12:09:20.000Z (over 1 year ago)
- Last Synced: 2025-02-13T12:32:19.332Z (over 1 year ago)
- Topics: gemini-api, gpt, messenger-bot, russenger, rust
- Language: Rust
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Gemini bot
## Who to use
### Pls check the `.env`
### Build
* run `cargo build`
### Migrate the database
* run `cargo run migrate`
### Run Russenger server
* run `cargo run runserver`
### Endpoints
- **GET `/webhook`:** Verify your chatbot with Facebook Messenger. Facebook will send a challenge, and your bot must
respond correctly for verification.
- **POST `/webhook`:** This is where Facebook Messenger sends messages from users. Handle incoming messages and respond
accordingly here.