José Alves 213c1f87fd
Tests / writer-pipeline tests (push) Successful in 4m52s
Tests / bridge tests (push) Successful in 2m38s
Tests / frontend lib tests (push) Successful in 3m3s
Tests / bridge tests (pull_request) Successful in 4m30s
Tests / writer-pipeline tests (pull_request) Successful in 4m43s
Tests / frontend lib tests (pull_request) Successful in 3m38s
test(writer-pipeline): featured-image regression guard for revista-imprensa (BIT-28134)
Adds unit coverage for resolveFeaturedImageForDraft() so the mandatory
featured-image ERRSIG cluster (BIT-27615 / BIT-26192 / BIT-22288) cannot
silently regress: ordinary drafts still throw when no image resolves,
revista-imprensa leads (by sourceKind or URL) resolve to null instead,
and non-revista URLs are not over-matched. Also covers upsertItem
preserving sourceKind across updates that omit it.

Paperclip-Issue: BIT-28134
Paperclip-Run: d45309d9-128d-4266-93db-9afe285c4486
2026-08-04 20:09:47 +01:00

news-platform

Scalable multi-domain sports news platform — Astro 5 SSR frontend, Fastify bridge, headless WordPress.

Structure

news-platform/
  frontend/         # Astro 5 SSR frontend application
  bridge/           # Fastify bridge (WordPress REST API cache + normalizer)
  writer-pipeline/  # RSS aggregator store, metrics, optional WP drafts (andebol.net)
  wordpress/        # WordPress config, themes, plugins
  config/domains/   # Per-domain configuration files
  docs/             # Architecture and runbooks
  deploy/           # LXC provisioning and deploy scripts

Quick Start

# 1. Start WordPress + MySQL
cd wordpress && docker compose up -d

# 2. Start bridge
cd bridge && npm install && npm run dev

# 3. Start frontend
cd frontend && npm install && npm run dev

Open: http://localhost:4321

Documentation

Core

Aggregator & Writer Pipeline

Internationalisation

  • Paperclip project: News Platform
  • Parent issue: BIT-345
  • Gitea remote: https://git.bitreport.pt/BitReport.pt/news-platform.git
S
Description
Scalable multi-domain sports news platform (frontend + WP bridge + SEO + LXC deploy)
Readme
4.6 MiB
0 Stars 32 Watchers 0 Forks
Languages
TypeScript 51.2%
Astro 38.9%
Shell 6.4%
CSS 2.2%
JavaScript 1.3%