A self-hosted Pinterest monitoring bot that watches a Pinterest profile's RSS feed and automatically forwards new pins to a Telegram channel — with adaptive polling, image caching, dual-layer deduplication, and a scraper-based safety net to catch anything the RSS feed misses.
[pinterest]
username = <pinterest username to monitor>
[telegram]
channel = @your_channel
token = <token_here>
[timing]
count_poll = 3600
send_delay = 3
fail_alert_at = 3
min_interval = 600
max_interval = 7200
initial_interval = 1800
[paths]
db = data/pins.db
log = logs/monitor.log
[logging]
file_level = INFO
console_level = INFOpython main.pyOn startup you'll be asked:
- Use username from config? —
yto useconfig.ini,nto type one in. - Enable streamer mode? —
yto mask the username as@****in all output.
| Command | Description |
|---|---|
/status |
Live stats: interval, fail streak, pins, board sync state |
/resync |
Force an immediate board-count check and queue gaps |
phs/
├── main.py
├── tiny_db.py # lightweight key-value store
├── config.ini # configuration
├── data/ # pin database
├── logs/ # rotating log files
└── media/ # cached pin images
No warranty - Private source code