Case StudyCreator & Engineer

Basement Cowboy.

An automated AI news pipeline: scrapes 180+ sources, ranks stories with a custom scoring algorithm, enhances the best with AI summaries and generated imagery, and publishes to WordPress.

Client
Independent Product
Year
2025
Tools
Python, Flask, OpenAI API, DALL·E 3, Playwright, BeautifulSoup, WordPress API, Docker, GitHub Actions
Specimen card for Basement Cowboy: 180-plus sources pass a seven-factor ranking funnel and human curation, then publish.

Overview

Basement Cowboy is a human-in-the-loop AI publishing pipeline. It scrapes more than 180 news sources, scores every article with a custom 7-factor ranking algorithm, and surfaces the best candidates in a curation dashboard. Approved stories get summarization, categorization, and a generated feature image, then publish to WordPress fully SEO-optimized.

The Pipeline

Scraping runs on BeautifulSoup, with Playwright-driven Chromium for JavaScript-heavy and bot-protected sources. The ranking layer weighs seven signals to sort thousands of daily articles down to a shortlist. From the Flask dashboard, an editor reviews candidates, triggers AI enhancement, and publishes. The system handles WordPress REST and GraphQL delivery, categories, and metadata.

Cost-Aware AI

GPT handles summarization and categorization, DALL·E 3 generates feature imagery, and the UI shows the estimated cost of every enhancement before you commit, so the economics of AI content are visible up front.

Engineering Highlights

  • Dockerized with Gunicorn and docker-compose; GitHub Actions CI/CD
  • File-based JSON storage — zero-database deployment for simple hosting
  • Full lint/type/security tooling: pytest, black, mypy, bandit

Outcome

A shipped v1.0 that automates news curation while keeping editorial judgment and cost control in human hands.

Key Outcomes

  • Aggregates 180+ news sources with Playwright-based scraping and anti-bot handling
  • Custom 7-factor scoring algorithm ranks articles for relevance and quality
  • AI enhancement layer: GPT summarization and categorization plus DALL·E 3 feature images
  • One-click publishing to WordPress via REST and GraphQL with SEO optimization
  • Flask curation UI keeps a human in the loop, with per-article AI cost estimates