Postcraft MVP preview · demo mode

Turn a rough idea into a post that's ready to publish

Type a sentence or a few bullet points and get a polished post with a hook, hashtags and an optional call to action, ready to copy.

0/500

Built on a simple REST API

The front end calls one endpoint. In the delivered MVP it runs on a small Node.js server that keeps the API key off the browser and calls OpenAI or Claude.

  • Vue 3 + Vite front end, single page
  • Node.js / Express backend, one POST route
  • Structured JSON output (hook, body, hashtags, CTA)
  • Swap model provider with one environment variable
  • Git repo, README and one-click deploy notes
POST /api/generate
{
  "idea": "free tool for cafés to track waste",
  "platform": "linkedin",
  "tone": "professional",
  "length": "medium",
  "cta": true
}

200 OK
{
  "hook": "Most cafés throw away profit every day…",
  "body": "…",
  "hashtags": ["#SmallBusiness", "#FoodWaste"],
  "cta": "Try it free, link in comments",
  "chars": 612
}

Demo mode: this page writes posts with a built-in template engine so it runs without an API key. The delivered MVP sends the same request to a real language model.