All projects

My product2025–2026Social media planning

Blitz Planner

Plan, create and publish social media content as a team, with an AI copilot and an API your agents can use.

Founder and engineerVisit site
blitz-planner / weekidle
week 47 · 0 / 9 plannedLMJSAK
M
T
W
T
F
S
S

The problem

Social media teams juggle a calendar, a chat, a shared drive and each network’s own app. Assignments, approvals and publishing end up scattered.

What I built

  1. 01

    Team planning

    Organizations, worker scheduling and objectives in one shared calendar.

  2. 02

    AI copilot

    A copilot drafts posts and carousels from the brand’s content memory.

  3. 03

    Direct publishing

    Approved content is published directly, including TikTok carousels through Direct Post.

  4. 04

    Ready for agents

    A public REST API, a TypeScript SDK and a remote MCP server let AI agents plan and publish.

Key decisions

For technical readers: key decisions
  1. Publishing that cannot run twice

    A retried job must never post the same content twice. Each post has a single queue job, and each account it targets is claimed with a conditional database update before publishing. An account already published returns its stored post ID instead of posting again.

    Trade-off: State is tracked per account, so a post can end up partially published, and the status says so.

  2. AI credits as a ledger

    AI video generation is billed in credits. Credits are reserved before a request reaches the provider and released if the provider rejects it or the video fails. A Stripe refund takes back credits in proportion, and events arriving out of order cannot restore them.

    Trade-off: More states to handle than charging after the fact. In return, a customer never pays for a failed generation.

  3. One contract for four surfaces

    The REST API, the TypeScript SDK, the MCP server and the docs change together, with tests on each. Purchases stay out of the agent-facing surfaces on purpose.

    Trade-off: Every public change costs more work, so integrators never call a tool the API no longer supports.

Under the hood

  • Next.js app, NestJS API, remote MCP server with 28 tools and a published TypeScript SDK.
  • Publishing adapters for Instagram, LinkedIn, TikTok and YouTube.
  • API keys stored as peppered HMAC hashes, social tokens encrypted with AES-256-GCM.
  • Subscriptions and credit packs billed with Stripe, through signed, idempotent webhooks.

Stack

  • Next.js
  • NestJS
  • BullMQ
  • Redis
  • Prisma
  • Stripe
  • MCP
Next projectGrow Mentions

Contact

Working on something similar?

Tell me where you are stuck. In 30 minutes we will know if I can help.

Book a 30-min call

Freelance projects or a contract inside your team, in English or French. Based in France, working remotely; the booking page shows times in your time zone.