wiki-vault/Wiki/Dev/pbs-hub.md
Travis Herbranson 7eb8d756d1 compile: first compile — 17 entities, 2 synthesis, all indexes rebuilt
Read all 62 source files (Dev: 37, Homelab: 22, Venture: 3, Reference: 0).

Entity pages created (17):
- Wiki/Reference: lovebug, jenny, sunnie, n8n, ob1, tailscale, authentik,
  traefik, cloudflare, obsidian, gitea, plant-based-southerner, claude-code,
  dispatch, docker
- Wiki/Homelab: proxmox
- Wiki/Dev: pbs-hub, herbydev

Synthesis pages created (2):
- Wiki/Homelab/homelab-ingress-stack — four-layer ingress model (Cloudflare +
  Traefik + Authentik + Tailscale); operational lessons from 10+ source files
- Wiki/Dev/ai-memory-architecture — three memory layers (wiki + OB1 + Dispatch
  context); ingest paths; harness-vs-model design decision

All 11 index pages rebuilt (Sources/Dev, Venture, Homelab, Reference, Sources
root; Wiki/Dev, Venture, Homelab, Reference, Wiki root; vault root index.md).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 18:15:31 -04:00

2.7 KiB
Raw Blame History

type path tags created updated
entity Wiki/Dev
pbs
python
2026-05-08 2026-05-08

pbs-hub

What it is

pbs-hub is the Python Flask application that consolidates two previously separate services — pbs-api and the Content Hub — into a single unified backend for Plant Based Southerner. It provides the API layer for the membership platform (recipe saving, member authentication), the Instagram automation pipeline, and content management. The Blueprint architecture allows modular feature ownership without a full microservices split.

Current state

In active development (Phase 5 of Content Hub). Architecture decisions locked:

  • Blueprint structure — each major feature area (recipes, membership, instagram, content) is a Flask Blueprint
  • Databasepbs_hub MySQL DB with tables: projects, platform_posts, pbs_recipes
  • Auth — WordPress cookie-based auth for logged-in member verification
  • Recipe saving — backend API for The Garden membership saves recipes via pbs_hub DB

Phase 5 merges pbs-api + Content Hub codebases. Prior phases (14) built the Instagram automation database schema ("Great Lockout of 2026" workaround), reel detection system, and content tracking.

Where it lives

  • PBS Linode Docker stack (pbs-hub service)
  • Behind Traefik ingress
  • Git: PBS project repo (Gitea + GitHub)
  • DB: pbs_hub on shared MySQL instance in PBS stack

History

  • 2026 — MySQL schema created for Instagram automation; "Great Lockout of 2026" workaround implemented
  • 2026 — Three-tier reel detection system designed (Phase 4)
  • 2026 — DB connection fix: pool_pre_ping=True, pool_recycle=1800
  • 2026 — Phase 5 architecture planned: merge pbs-api + Content Hub into Blueprint Flask app