← all projects

Automation Complete 2024

RepostAI

Blog post to a week of social content

The problem

Writers and creators produce one piece of long-form content and then have to manually re-derive it into a dozen different formats for every social platform - a tedious, repetitive task that eats more time than the writing itself.

The approach

Built RepostAI, a service that takes any article URL and generates platform-optimized social content - X threads, LinkedIn posts, Instagram captions - with adjustable tone, wrapped in a subscription product with rate limiting, usage analytics, and Stripe billing.

Node.jsExpressLLM APIsStripeRate Limiting

RepostAI takes a single article and turns it into a week’s worth of social content, formatted for the conventions of each platform rather than copy-pasted across all of them.

generation

Given an article, the service generates:

  • X threads - broken into tweet-length beats with a hook-first structure.
  • LinkedIn posts - longer-form, professional framing.
  • Instagram captions - punchier, hashtag-aware.

Tone is adjustable per generation, so the same article can be repurposed differently for a personal brand versus a company account.

const content = await repostai.generate({
  articleUrl: "https://example.com/post",
  platforms: ["x", "linkedin", "instagram"],
  tone: "conversational",
});

product

RepostAI ships as a subscription SaaS product: Stripe handles billing and plan management, rate limiting enforces per-tier usage caps (a hard requirement given the LLM API cost per generation), and usage analytics track consumption against those caps.

status

Complete: the generation pipeline, tone controls, and Stripe-backed subscription/rate-limiting infrastructure are all built and functioning.

What I took away

  • Platform-optimized doesn't just mean shorter - an X thread, a LinkedIn post, and an Instagram caption each have different structural conventions the generation prompt has to encode.
  • Rate limiting and usage analytics aren't afterthoughts for an LLM-backed SaaS product - API cost is the main input to pricing, so you need to measure it from day one.
  • Stripe subscription billing is the easy 80% of a SaaS product; the harder 20% is usage-based limits that map cleanly onto the pricing tiers.

0 comments

0/1000

Loading…