If you sell physical products on Shopify or run a local business, your sharpest landing-page copy usually lives in your competitors' 1-star reviews. When buyers complain about 14-day shipping delays, denied refunds, or misleading sizing, they are telling you exactly what to promise and prove on your product page.
When I looked at existing review tools for small operators, I ran into two problems:
- Enterprise reputation suites charge $300 to $1,200/month on annual contracts.
- Newer "AI review analyzers" send raw reviews to an LLM and show you paraphrased summaries where it is hard to verify whether the customer actually said that.
So I built ReviewRadar with zero LLM inference in the pipeline. It runs deterministic keyword rules over public Google Business and Trustpilot reviews, sends instant idempotent 1-2 star alerts for your own store, and mails a Monday 08:00 UTC competitor complaint digest. Pricing is $9/mo (Starter) or $19/mo (Growth) after a 7-day free trial, and anyone can run a free 30-second competitor audit on the homepage without signing up.
Here is how the core backend is built, why regex beat an LLM for this workload, and where deterministic rules fall short.
Boring Stack on a Single 2C4G VPS
ReviewRadar does not need microservices, GPU workers, or vector databases:
- Backend & UI: FastAPI + Jinja2 + HTMX
- Database: PostgreSQL 16
- TLS & Reverse Proxy: Caddy (automatic HTTPS)
- Deployment: Docker Compose on a 2-vCPU, 4 GB RAM European VPS (with 2 GB swap and daily
pg_dumpbackups)
Keeping classification deterministic means per-audit compute cost stays near zero, latency stays predictable under concurrency, and there are no surprise API bills when a competitor has hundreds of reviews.
Deterministic Tagging Instead of LLM Summaries
In app/services/rule_tagger.py, every 1-3 star review runs through 8 curated e-commerce complaint buckets:
-
shipping_delay(Shipping Delay & Lost Parcel) -
refund_return_friction(Refund & Return Friction) -
product_defect_damage(Product Defect & Damage) -
customer_support_ghosting(Unresponsive Customer Support) -
billing_subscription_trap(Billing & Subscription Trap) -
sizing_expectation_mismatch(Sizing & Expectation Mismatch) -
packaging_missing_parts(Packaging & Missing Parts) -
website_checkout_bug(Website & Checkout Glitch)
To avoid substring false positives (like bot matching bottle), each keyword uses strict alphanumeric boundary assertions and normalizes curly apostrophes (\u2019 -> ') before scanning:
def _compile_keyword_pattern(keyword: str) -> re.Pattern[str]: escaped = re.escape(keyword.strip().lower()) return re.compile(rf"(?<![a-z0-9]){escaped}(?![a-z0-9])", re.IGNORECASE) def tag(self, rating: int, title: str | None, body: str, rules=None) -> list[str]: active_rules = [r for r in (rules if rules is not None else self._default_rules) if r.is_active] haystack = f"{title or ''} {body or ''}".lower().replace("\u2019", "'") matched: list[str] = [] for rule in active_rules: patterns = self._patterns_for(rule) if any(pat.search(haystack) for pat in patterns): matched.append(rule.tag_key) if not matched and rating <= 2: return ["other_complaint"] return sorted(set(matched)) A few practical details make this work cleanly in production:
- Zero invented quotes: Every matched tag points straight to the verbatim review excerpt and source URL.
- Fallback bucket: If a 1-star or 2-star review hits none of the 8 rule sets, it still gets tagged
other_complaintinstead of silently disappearing. - Actionable templates with safety checks: Each rule carries a counter-marketing angle for competitor audits and a copy-paste English recovery reply template for your own store. Before rendering a reply template,
render_reply()verifies no{placeholder}remains unreplaced.
Idempotent Ingestion and Deduplication
Polling external review pages runs on a schedule (daily on Starter, twice daily on Growth). The last thing a store owner wants is receiving the same 1-star alert three times because a collector retried.
In app/services/deduplicator.py, PostgreSQL handles deduplication atomically during ingestion:
INSERT INTO reviews ( target_id, source, external_review_id, rating, author_name, title, body, review_url, published_at, tags ) VALUES ( %(target_id)s, %(source)s, %(external_review_id)s, %(rating)s, %(author_name)s, %(title)s, %(body)s, %(review_url)s, %(published_at)s, %(tags)s ) ON CONFLICT (source, target_id, external_review_id) DO NOTHING RETURNING id, rating; Only rows actually returned by RETURNING id, rating with rating <= 2 are queued for email or Slack/Webhook alerts, and every poll logs fetched_count, inserted_count, duration_ms, and http_status into scrape_runs.
What Deterministic Rules Miss (Honest Tradeoffs)
Regex rules are not magic, and I would rather be upfront about the limits:
- Sarcasm and indirect wording: A 1-star review reading
"Wow, my package really enjoyed touring three continents before seeing my porch"may land inother_complaintunless it matches explicit keywords. - Negation nuances: Phrases like
"not a shipping issue, the zipper broke"can match bothshipping_delayandproduct_defect_damage. - Non-English reviews: The built-in keyword rules target English e-commerce complaints; non-English stores need localized rule sets.
Even with those tradeoffs, showing small store owners exact complaint counts and verbatim 1-star quotes in 30 seconds for $9-$19/mo turns out to be far more useful than a $300/mo black-box sentiment score.
Try the 30-Second Audit
You can run a free competitor review audit without creating an account at reviews.solokit.vip (for example, test Gymshark London or any storefront on Google Business). Feedback on rule false positives or ingestion edge cases is very welcome in the comments.
![Locomotion Balance and Motion Control — Ch.09: Recovery Control [EN]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F21qb16tp5r9i8uibgad5.png)
