r/coolgithubprojects • u/Pitiful_Direction231 • 19m ago
Specter - Compile-once, zero-token web scraping & diff monitoring
https://specterdev.online/Hi all,
I built Specter (https://github.com/pedroaugusto04/Specter) to serve as a general-purpose scraper and change monitor, so you don't have to write and maintain custom scripts for every single website while still avoiding LLM token costs on routine runs.
How it works
- You set it up: Paste a URL, describe what you want in plain text, pick a schedule, and optionally add Email or Telegram for diff alerts.
Then Specter automatically handles the rest:
- Compile Once with AI (0-Token Runtime): An LLM inspects the DOM once to generate a deterministic extraction plan. Scheduled runs execute in pure code (Cheerio/Playwright) in milliseconds with zero LLM calls.
- Live Validation & Self-Healing: Validates extracted data before saving and only wakes the LLM if consecutive runs fail due to layout changes.
- Diff Detection & Alerts: Compares routine extractions against previous snapshots and automatically notifies you via Email or Telegram whenever real data changes occur.
It’s definitely not magic or 100% perfect. In a benchmark across 75 real-world sites (news, docs, GitHub releases, tables, and SPAs) using GPT-6-Luna (medium reasoning), it hit a 72.0% pass rate, with most failures coming from rate limits/timeouts and bot-detection walls like CAPTCHAs (even with mechanisms in place to handle them, some still get through).
It’s completely free to try with some limits per account since i'm definitely not an oil sheikh. Also, while session/cookie auth is supported for pages behind logins, I strongly recommend only using that on a self-hosted setup ( it runs fine even on a cheap, low-spec computer ) rather than pasting active cookies into a third-party app you just found online.
If anyone gives it a try and runs into failures on specific sites or edge cases, I’d be happy to hear about them so I can dig in and keep improving the pipeline. Thank you :)