bots i built for my business. they handle payments, orders, and the stuff i got tired of doing myself.
I started a gaming community in 2020. It grew to 15,000 members, and the marketplace that came out of it has handled $400K in revenue across 142,000 orders with a team of about 50. I built opscore to manage the day-to-day operations.
Under the hood
- Real-time revenue. Watches Zelle, Venmo and PayPal over a live IMAP IDLE connection, sub-second push instead of polling, with multi-pattern parsers that reject refunds and outbound notices, and exact sender matching that blocks spoofed payment injection.
- On-chain settlement. Resolves crypto transactions across nine chains (BTC, ETH, SOL and more), prices them to USD, and matches them to my receiving addresses.
- An idempotent ledger. Every payment is written exactly once, so the same email or transaction can never double-count, and a live Discord dashboard shows totals by method and period.
- Fair, one-at-a-time queues. A SQLite-backed work queue serves one person at a time with an idle timeout, used to hand out one-time 2FA codes (racing an IMAP fetcher against a webhook fallback, with atomic dedup so no code is ever served twice) and single-use cards (consumed on claim, never reissued).
- Built to stay up. A shared core gives every bot a declarative Discord router, zod-validated config, SQLite with migrations applied on boot, an exponential-backoff crash-only supervisor, a fleet-wide kill switch, structured logging, and tests across every package.
Stack
View on GitHub