Back to systems

System Deep Dive

Snapshot: March 2026

Nightcap Media, a full month of social content in fifteen minutes.

An AI-powered social media campaign manager that generates, schedules, reviews, and publishes content across Facebook, Instagram, Twitter, TikTok, and LinkedIn. Nine accounts. Three quality tiers. A zero-login client review portal. AI image and video generation. And a 196-test scheduling and publishing surface built to keep approval flow and account isolation boring.

  • 9managed accounts
  • 5social platforms
  • 15minfor a full month
  • 196tests in the publish stack
Abstract systems diagram for Nightcap Media

Pipeline

Generate, review, schedule, publish, archive.

The AI Wizard streams a full month of posts via SSE. Clients approve through a token-gated portal. A cron scheduler publishes at optimal times. No manual copy-paste.

Content generation
  • Gemini 3 Flash (budget), Gemini 3 Pro (premium) for text
  • Gemini Pro Image and Imagen 4.0 for AI-generated visuals
  • Veo 3.1 for AI video (paid tier, gated by default)
  • Claude for deep research, editorial, and synthesis passes
  • 3-candidate rejection sampling with Claude critic coverage
Post lifecycle
  • Draft to pending_approval to queued to published
  • Zero-login client review portal with token-gated access
  • Smart scheduler with optimal posting time calculation
  • Per-account cost tracking and monthly budget enforcement
  • Content archive for reuse and reference

Account Network

Seven niche pages. Affiliate monetization. One server.

Multi-account architecture
  • Single Express server, single SQLite database
  • Every table carries account_id for full client siloing
  • Per-account system prompts for tailored AI voice
  • Content modes: generate, research, or hybrid
Owned accounts
  • Nightcap Media and Break Room (client services)
  • Daily Libations (cocktail and bar culture)
  • The AI Stack, AI at Desk, Neural Digest, Prompt Craft, Small Biz AI, Compact AI (affiliate network)
Monetization
  • SaaS affiliate commissions (20–40% recurring)
  • B2B referrals, course affiliates, newsletter sponsors
  • Digital products and prompt packs
  • Cross-promotion between pages in the network

Stack

Express, SQLite, Gemini, Meta Graph API.

  • Node.js
  • Express
  • SQLite
  • PM2
  • SSE
  • Resend
  • Gemini 3
  • Claude
  • Imagen 4.0
  • Veo 3.1
  • Meta Graph API
  • GCS

Need AI content generation that actually publishes?

That takes pipeline design, not just a prompt.

Email Rarity Index