https://github.com/ganchdev/holidays-bot
🤖
https://github.com/ganchdev/holidays-bot
Last synced: 3 months ago
JSON representation
🤖
- Host: GitHub
- URL: https://github.com/ganchdev/holidays-bot
- Owner: ganchdev
- Created: 2026-03-28T08:47:12.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-03-28T11:11:45.000Z (3 months ago)
- Last Synced: 2026-03-28T14:46:23.977Z (3 months ago)
- Language: Ruby
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Holidays Telegram Slop Bot
A Telegram bot with DeepSeek-powered natural language interface for hotel booking management.
## Features
- Natural language queries for room availability and bookings
- Create and update bookings via conversation
- Guest search and booking history
- Bulgarian language (default) with conversation memory
- Secure login via web verification + token authentication
- HTML formatted responses
## Setup
```bash
cp .env.example .env
# Edit .env with your tokens
bundle install
```
## Environment Variables
| Variable | Description |
|----------|-------------|
| `TELEGRAM_BOT_TOKEN` | Telegram bot token from @BotFather |
| `DEEPSEEK_API_KEY` | DeepSeek API key |
| `RAILS_API_URL` | Rails API URL (default: http://localhost:3000) |
## Running
```bash
bundle exec ruby bot.rb
```
## Docker
```bash
docker-compose up --build
```
## Commands
| Command | Description |
|---------|-------------|
| `/start` | Start bot, clear conversation |
| `/login` | Log in with email |
| `/logout` | Log out, clear conversation |
| `/help` | Show help |
## Login Flow
1. `/login` → enter email address
2. Bot shows link to verification page
3. Open link in browser → if logged in, see the 6-digit code
4. Enter code in Telegram → logged in with API token
## Tech Stack
- Ruby 3.3
- telegram-bot-ruby
- DeepSeek API (function calling)
- SQLite (session storage)
- Rails API (booking data)