Automation
Automation I've built at work and on my own. Client work is described in outline only. For my own projects the diagrams show the tools used at each stage.
At 8 Million Stories
Automation I built as part of my job. Client work, so it's described in outline only.
- Client report automation
I moved about three dozen SEO and paid search reports from manual to automated. They refresh on their own, so analysts spend their time on what the numbers mean instead of assembling them.
- Organic insights decks
Looks at a client's search performance over short and long periods, picks out the changes worth their attention, and produces a branded deck.
Video production pipeline
It finds topics, researches them, writes and renders short videos, checks them and publishes them. I've made quiz shorts, personal finance explainers, English-learning stories and IELTS practice videos with it and related tools.
- One switch turns off everything that costs money or publishes, and seven permission levels unlock spending and posting one step at a time.
- When a budget would be exceeded, it falls back to cheaper visuals.
- Every stage can resume, so a failed render doesn't mean researching again.
- Find topics
Scores ideas by demand, and discounts any idea backed by one viral video.
- YouTube Data API
- scikit-learn
- Research
A sourced brief for each video.
- Claude
- ChChatGPT
- Script
Any number not in the brief fails the check.
- Claude
- Python checks
- Visuals
Only clearly licensed footage.
- Pexels
- Pixabay
- fafal.ai
- Gemini
- ReRemotion
- Voice
Narration and captions.
- ElevenLabs
- WhWhisper
- Render and check
Automated quality checks.
- FFmpeg
- PiPillow
- Approve and publish
A person approves each video.
- YouTube
- TikTok
- LiLinkedIn
- Threads
- Python
- SQLite
- APAPScheduler
- Typer
GA4 audit platform
Audits a Google Analytics 4 setup in two ways at once. It reads the configuration through Google's APIs, and drives a real browser across the live website to see which tags and consent signals actually fire. Comparing the two catches problems that neither shows on its own, such as tags firing before consent, or a published container that collects nothing.
Checks cover data quality, tags and consent, property settings, campaign tagging and ecommerce. Over 460 automated tests.
- Connect
Read-only access to the client's analytics.
- Next.js
- Google OAuth
- Queue
Long audits run in the background.
- FastAPI
- Cloud Tasks
- Read settings and data
- GA4 Admin API
- GA4 Data API
- Crawl the live site
Tags, consent and dataLayer.
- PlPlaywright
- Score
229 checks, each with its evidence.
- Python
- Report
Ready to send to a client.
- PDPDF
- PoPowerPoint
- ExExcel
- Resend
- Google Cloud Run
- Supabase
- Redis
- Secret Manager
- Sentry
Cookie consent research crawler
Studies how UK websites handle cookie consent, at scale. It visits each site three times in a fresh browser: once ignoring the banner, once rejecting and once accepting. It records the cookies and requests that appear before any choice and after a refusal, and reports totals with confidence intervals. It draws no legal conclusions, and any named site is checked by hand first.
- Fixed site list
Frozen before the run, so results can be repeated.
- CSCSV
- Three visits per site
Ignore, reject, accept.
- PlPlaywright
- Chromium
- Record
Banner options, cookies, requests.
- tltldextract
- Analyse
Totals with confidence intervals.
- pandas
- Review
Evidence checked by hand.
- Streamlit
- Altair
- ExExcel
- Python
- Typer
- pytest
Prospecting tool
Uses the same crawler to find companies whose tracking is clearly broken, from one anonymous page load. It ranks them by how much the problem is likely to be costing them and drafts an opening email based on what it found. A perfectly set-up site scores zero, because there's nothing useful to say to it. Each scan can be re-run to check its findings hold before they're used.
- Prospect list
- CSCSV
- Scan the site
One anonymous page load.
- PlPlaywright
- Evidence
Which tags, ad platforms and consent setup are live.
- Python
- Rank
By likely cost of the problem.
- Python
- Draft emails
A first email and a follow-up, saved as drafts.
- Python
- SQLite
AI news newsletter
An AI news site and newsletter that I built and ran end to end. It published up to three news posts a day and longer guides each week. A post that failed a check stayed as a draft. It's offline now.
- Watch
61 news and research feeds.
- RSS
- WordPress
- Brief
Fetches every source. Fewer than four and it refuses.
- WP-CLI
- Draft
- Claude
- Check
Every figure against its source, then a pre-publish check.
- Custom WP-CLI checks
- Publish
Site, newsletter and social.
- WordPress
- NeNewsletter
- Hostinger
- SSSSH
- Shell scripts
- launchd