Commit Graph
23 Commits
Author SHA1 Message Date
prosolisandClaude Opus 4.6 29abc836d5 Fix CheapShark returning zero deals by using dual-fetch strategy and relaxing filters
The bot stopped posting because sortBy=recent only returned low-discount deals,
and desc=1 was inverting the sort order for savings/DealRating queries. Now fetches
both recent and top-rated deals, merges with dedup. Lowered default thresholds to
20% min discount, 7.0 min rating, and $45 max price.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 02:10:22 -07:00
prosolis dcce744b5a Merge pull request #16 from prosolis/fix/deal-source-error-handling
Improve error handling across deal sources
2026-03-20 01:50:21 -07:00
prosolisandClaude Opus 4.6 373939fedb Improve error handling across deal sources and increase CheapShark page size
Add proper error handling for price parsing, date parsing, and HTTP
status codes in CheapShark, Epic, and ITAD integrations. Fix Epic dedup
IDs to distinguish current vs upcoming offers. Bump CheapShark fetch
page size from 10 to 60.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 01:49:21 -07:00
prosolisandClaude Opus 4.6 e452e36a63 Fix deployment issues and add threads, numbered watchlist, search URL encoding
- Fix SQLite connection string (drop query param, use explicit PRAGMA)
- Register sqlite3-fk-wal driver for mautrix cryptohelper (pure Go, no CGO)
- Fetch DeviceID via /whoami when using bare access token
- Log cross-signing results at Warn/Info instead of Debug
- Post deals into Matrix threads: Game Deals, DLC Deals, Epic Free Games
- Add numbered watchlist; !extend and !unwatch accept list numbers
- URL-encode search queries for multi-word !search commands
- Add GetConfig/SetConfig helpers for persistent thread event IDs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 20:56:26 -07:00
prosolisandClaude Opus 4.6 d6c8d4f599 Add token auto-refresh, device persistence, and cross-signing
Following gogobee's auth pattern: if MATRIX_BOT_PASSWORD is set, the bot
persists device credentials to device.json, validates tokens on startup,
re-logs in automatically when tokens expire, and bootstraps cross-signing
so the device shows as verified without manual emoji verification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 20:56:26 -07:00
prosolisandClaude Opus 4.6 0cfed504a1 Remove Python codebase and clean up gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 20:56:26 -07:00
prosolisandClaude Opus 4.6 b8a0fd5f35 Rewrite Pastel from Python to Go with watchlist feature
Full rewrite of the gaming deals Matrix bot in Go for better performance
and a single static binary. Includes all original functionality (CheapShark,
ITAD, Epic free games, multi-currency pricing, dedup, preflight checks,
presence heartbeat) plus a new watchlist feature where users can DM the bot
to watch for specific game deals with 180-day auto-expiry.

New: systemd service file, DB migration script for Python-to-Go transition.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 20:56:15 -07:00
prosolis 24fc9240fe Merge pull request #15 from prosolis/claude/multi-country-currency-deals-2nZGh
Add optional Matrix thread support for per-category deal organization
2026-02-28 18:33:14 -08:00
prosolis d55f33af25 Merge pull request #14 from prosolis/claude/multi-country-currency-deals-2nZGh
Increased number of pulls by default / added multi-country deal pulling
2026-02-28 15:47:03 -08:00
prosolis da957f82ba Merge pull request #13 from prosolis/claude/add-presence-heartbeat-WckxL
Add presence heartbeat to keep bot shown as online
2026-02-28 00:17:05 -08:00
prosolis 123252e197 Merge pull request #12 from prosolis/claude/fix-isthereanydeal-api-W5umt
Fixed post formatting issues
2026-02-27 21:33:00 -08:00
prosolis 1dcb76a394 Merge pull request #11 from prosolis/claude/fix-isthereanydeal-api-W5umt
CheapShark kinda sucks.. let's move to ITAD instead
2026-02-27 21:06:12 -08:00
prosolis a83f230291 Merge pull request #10 from prosolis/claude/fix-cheapshark-rating-bug-pxVJv
Post Epic free games on first run instead of silently recording them
2026-02-27 19:38:10 -08:00
prosolis a334cb7bbe Merge pull request #9 from prosolis/claude/fix-cheapshark-rating-bug-pxVJv
Add SEND_INTRO_MESSAGE to .env.example
2026-02-27 19:13:29 -08:00
prosolis 66407c5a43 Merge pull request #8 from prosolis/claude/fix-cheapshark-rating-bug-pxVJv
More bugfixes
2026-02-27 19:05:26 -08:00
prosolis 19c070405e Merge pull request #7 from prosolis/claude/fix-cheapshark-rating-bug-pxVJv
Fix cheapshark rating and sorting issue
2026-02-27 18:50:37 -08:00
prosolis c145d83b0b Merge pull request #6 from prosolis/claude/gaming-deals-matrix-bot-ONjS7
Fixed confusing rating for CheapShark, added debugging.
2026-02-27 18:34:08 -08:00
prosolis 7b05d86dc5 Merge pull request #5 from prosolis/claude/gaming-deals-matrix-bot-ONjS7
Load .env file at startup via python-dotenv
2026-02-27 18:05:40 -08:00
prosolis b6b674ca0e Merge pull request #4 from prosolis/claude/gaming-deals-matrix-bot-ONjS7
Add --check preflight to validate config and connectivity
2026-02-27 17:54:31 -08:00
prosolis c09ecdbd21 Merge pull request #3 from prosolis/claude/gaming-deals-matrix-bot-ONjS7
Add instructions for obtaining a Matrix bot access token
2026-02-27 17:45:15 -08:00
prosolis aed260f345 Merge pull request #2 from prosolis/claude/gaming-deals-matrix-bot-ONjS7
Display all the main currencies
2026-02-27 16:58:54 -08:00
prosolis ba1a3811d6 Merge pull request #1 from prosolis/claude/gaming-deals-matrix-bot-ONjS7
Add gaming deals Matrix bot
2026-02-27 16:07:45 -08:00
prosolis 11a3eace9f Initial commit 2026-02-27 15:47:43 -08:00