Tayyub Yaqoob

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.
From topic to published video
  1. Find topics

    Scores ideas by demand, and discounts any idea backed by one viral video.

    • YouTube Data API
    • scikit-learn
  2. Research

    A sourced brief for each video.

    • Claude
    • ChatGPT
  3. Script

    Any number not in the brief fails the check.

    • Claude
    • Python checks
  4. Visuals

    Only clearly licensed footage.

    • Pexels
    • Pixabay
    • fal.ai
    • Gemini
    • Remotion
  5. Voice

    Narration and captions.

    • ElevenLabs
    • Whisper
  6. Render and check

    Automated quality checks.

    • FFmpeg
    • Pillow
  7. Approve and publish

    A person approves each video.

    • YouTube
    • TikTok
    • Instagram
    • Facebook
    • LinkedIn
    • Pinterest
    • Threads
Runs on
  • Python
  • SQLite
  • APScheduler
  • 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.

One audit, start to finish
  1. Connect

    Read-only access to the client's analytics.

    • Next.js
    • Google OAuth
  2. Queue

    Long audits run in the background.

    • FastAPI
    • Cloud Tasks
  3. Read settings and data
    • GA4 Admin API
    • GA4 Data API
  4. Crawl the live site

    Tags, consent and dataLayer.

    • Playwright
  5. Score

    229 checks, each with its evidence.

    • Python
  6. Report

    Ready to send to a client.

    • PDF
    • PowerPoint
    • Excel
    • Resend
Runs on
  • Google Cloud Run
  • Supabase
  • Redis
  • Secret Manager
  • Sentry

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.

From a list of companies to a first email
  1. Prospect list
    • CSV
  2. Scan the site

    One anonymous page load.

    • Playwright
  3. Evidence

    Which tags, ad platforms and consent setup are live.

    • Python
  4. Rank

    By likely cost of the problem.

    • Python
  5. 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.

From a new story to a published post
  1. Watch

    61 news and research feeds.

    • RSS
    • WordPress
  2. Brief

    Fetches every source. Fewer than four and it refuses.

    • WP-CLI
  3. Draft
    • Claude
  4. Check

    Every figure against its source, then a pre-publish check.

    • Custom WP-CLI checks
  5. Publish

    Site, newsletter and social.

    • WordPress
    • Newsletter
Runs on
  • Hostinger
  • SSH
  • Shell scripts
  • launchd