User built a CLI for beehiiv to automate tasks like checking subscriber counts and post performance, suggesting that an official CLI could save time for users who need to automate their workflows.
Running a newsletter means you end up doing a lot of the same things repeatedly: checking subscriber counts, pulling post performance, exporting lists for ad audiences. Doing all of that through the beehiiv web UI is fine... until you're trying to automate anything, script cron jobs, or just want a quick number without hunting through dashboards. beehiiv doesn't have an official CLI. So I built one. **bhv** is a Python CLI for the beehiiv API. I run [WaypointSur](https://waypointsur.com), a newsletter for English-speaking expats on Spain's Costa del Sol — currently at 1,242 active subscribers. Most of my ops are now scripted, and this is the piece that makes that possible. What it does: $ bhv subscribers --count Active 1,242 Inactive 129 Pending 21 Total 1,392 $ bhv posts --limit 3 Title Date Opens Open% Click% The €3,000 rule doesn't exist... 2026-03-13 359 42.7% 5.0% Your landlord can raise the rent 2026-03-12 404 49.9% 2.7% The speed trap you won't see 2026-03-11 434 56.1% 2.8% Core features: - Subscriber counts (total, active, inactive, pending) - Post performance with open rates and click rates - Subscriber lookup by email - CSV export - SHA-256 hashed subscriber export for Meta Custom Audiences Open source, MIT license. No affiliation with beehiiv. **Repo:** https://github.com/Insightslab-ai/bhv If you're running beehiiv and doing anything with automation or ads, hopefully this saves you some time. Happy to hear what's missing or what else would be useful.