I build small products on my own, and the one I've spent the most time on lately is MacBrowse, a hand-picked directory of Mac apps. This post covers why I made it, how it runs, the problems that cost me the most time, and what I'd tell another developer starting something similar.
Why another app directory?
Finding a good Mac app is harder than it should be. The App Store sorts everything into broad buckets like "Productivity" or "Utilities", so a clipboard manager sits next to a calendar and a PDF editor. Search results reward whoever spends the most on ads.
MacBrowse keeps the App Store category but adds narrow categories based on what an app actually does: Menu Bar & Notch, Clipboard, Coding Agents, AI and so on. Every listing is reviewed by a person before it goes live, and the site covers Mac apps only: no iPhone apps, no web dashboards. The tagline is "Browse less. Find more."
For makers there's a submit flow (details auto-filled from the app's URL, then a plan, then payment or a free listing), and for readers there are Best of lists, alternatives pages ("apps like Raycast"), comparisons, upvotes and a Sunday newsletter with the week's new apps.
Challenges and how I solved them
1. One database wasn't enough, and two databases are hard
The site started on Upstash Redis. When I moved to Cloudflare, I wanted the database next to the Worker, so I made D1 the primary store but kept the code speaking Redis commands. A small adapter translates those commands into SQL against D1.
Every write is copied to Upstash after the response is sent. If a copy fails, it waits in a replay table in D1. If D1 itself fails, Upstash answers instead and queues its writes until D1 is back. A daily cron drains both queues, and a script lists any keys where the two stores disagree.
The bug that taught me the most: loading every listing did one D1 query per key and hit the per-invocation query limit. Rewriting mget to read every key in one statement fixed it, and adding a (key, score, field) index made the sorted-set reads fast again.
Lesson: a fallback store is only useful if you also build the replay path and a way to check that the two stores still match.
2. Uploads that hung forever
Makers upload an icon and screenshots. Images are converted to WebP in the browser before upload, which keeps the files small, but occasionally an S3 request would stall and the form would sit on "Optimising and uploading…" forever.
The fix was boring but effective: every S3 write gets two 10-second attempts on the server, and the browser gives the whole upload request a 45-second deadline. A stuck upload now fails with a clear message instead of a spinner that never ends.
Lesson: put a timeout on every network call you don't control, on both sides.
3. Filling a directory before anyone submits
An empty directory doesn't attract makers. I built an admin tool that finds Mac apps on the App Store (via the iTunes Search API) and on Homebrew (the most installed casks), writes listing copy with an LLM, and publishes them as unclaimed listings. Apps without an icon and a usable screenshot are never listed.
Makers can then claim their app by receiving a code at an address on the app's domain, or by putting a token on their website. Claimed and maker-submitted listings get a verified seal.
Lesson: seed the supply side yourself, but give the real owners an easy way to take over.
4. Keeping the badge honest
Free listings require a small MacBrowse badge on the maker's site. Checking for it is harder than it sounds: some sites sit behind bot challenges, and some add the badge with JavaScript, so fetching the page doesn't find it.
So there are two checks. A daily job reads the page for a link back. And the badge image route records which site a browser loaded it on (from the Referer), so a real page view in the last 14 days also counts. Hosts shared by many makers, like github.com, never count this way.
Lesson: when one signal is unreliable, combine it with a second, independent one.
5. Being found by search engines and AI assistants
Alongside a sitemap and structured data, the site publishes llms.txt with its categories and plans, and a public MCP server so assistants like ChatGPT and Claude can search listings directly. Every host other than macbrowse.com gets noindex, so preview and Workers URLs never compete with the real domain.
Lessons for other developers
- Ship the boring reliability work early. Timeouts, retries and replay queues prevented far more support emails than any feature did.
- Narrow beats broad. The narrow categories are what make MacBrowse useful, and they're also what rank in search.
- Write down how things work. My README explains where every piece of data lives and what is cached. It saves me every time I come back to a part of the code I haven't touched in weeks.
- Deploys should be deliberate. I deploy by hand with Wrangler, only from the latest
main, so I always know what is live.
What's next
I'm adding more Best of lists and alternatives pages, improving how apps are sorted into narrow categories, and growing the newsletter. If you build a Mac app, you can list it on MacBrowse for free with the badge.
If you have questions about running Next.js on Cloudflare Workers, or about D1 with a Redis fallback, ask in the comments.