Quick Start
Set up your bot and receive your first curated deals in minutes.
How it works
Understand the two-layer filter pipeline that powers Steam Deals AI.
Configuration
Tune filter thresholds, scheduler times, and API settings.
Bot Commands
Reference for all Telegram commands your subscribers can use.
What is Steam Deals AI?
Steam Deals AI is a self-hosted Telegram bot that monitors Steam for discounted games and delivers a daily curated selection directly to your subscribers. Instead of flooding users with every sale, it applies a two-layer hybrid filter to surface only the games that genuinely matter:- Layer 1 — Deterministic rules: Every deal is checked against configurable thresholds for discount percentage, Metacritic score, Steam rating, and maximum price. Deals that don’t clear the bar are rejected instantly, with no API cost.
- Layer 2 — AI curation (GPT-4o-mini): Candidates that pass the rules filter are sent to GPT-4o-mini, which selects up to 10 games with recognized community standing — AAA titles, celebrated indies, franchise entries, and viral hits. The AI adds a short reason for each pick.
The AI is never the sole judge. Rules guarantee a quality floor; the AI only decides among candidates that already meet objective criteria.
Key features
Smart caching
Snapshot caching skips GPT calls when the candidate list hasn’t changed, minimizing OpenAI costs.
Deduplication
Games already notified recently are excluded automatically for a configurable number of days.
Daily broadcasts
A cron scheduler sends curated deals to all subscribers every morning at a configurable time.
AI fallback
If OpenAI is unavailable, the bot falls back to the last valid daily snapshot instead of sending an error.
Rate limiting
The
/deals command enforces a per-chat cooldown to prevent abuse.Fully configurable
All filter thresholds, schedule, and model settings are controlled via environment variables.
How the pipeline works
/deals requests within the same day are served instantly.
Get started
Create a Telegram bot
Talk to @BotFather on Telegram to create a new bot and obtain your
BOT_TOKEN.Get an OpenAI API key
Sign up at platform.openai.com and create an API key for GPT-4o-mini access.
Clone and configure
Clone the repository, copy
.env.example to .env, and fill in your credentials and filter preferences.