Hafiz Khalid · hmsk.life

Content Studio

From a brief to a finished social post, on your own server

For small teams and agencies that post for several brands. Pick a brand and a format, and the pipeline writes the script and caption, then optionally makes the voice-over, an on-brand image and a short video.

Runs
On your own server
Licence
MIT, open source
Topic
Apps to run yourself
  1. 1.

    Run it yourself

    It runs on your own server, under your control.

  2. 2.

    Read the code

    Open source under MIT. Read it before you run it.

  3. 3.

    Stay in touch

    One email when it gets a new feature. Nothing else.

Screenshot of Content Studio running on a server, with example data: Brief in, script, caption, voice-over, key visual and video out. Bring your own AI keys. (open the full-size image)
Fig. 1: Content Studio with example data.

What it does

  1. Turns a short dropdown brief into platform-ready drafts: hook, script, caption, shot list and hashtags.
  2. Works with Anthropic, OpenAI, Google Gemini or any OpenAI-compatible server (LM Studio, Ollama, OpenRouter); a free mock mode needs no key.
  3. Brand profiles you edit in the app (voice, audience, offers, guardrails), with an optional second-pass compliance review of every draft.
  4. Drafts learn from your best and worst past posts and are checked for repeated hooks.
  5. Optional voice-over (ElevenLabs), short video (Higgsfield Kling) and key visuals that use your brand's reference photos.
  6. Approve or reject drafts into a history and export them as JSON or Markdown; nothing is posted automatically.

Why I built it

I run social media for several of my own brands. Writing every post from scratch did not scale, and generic AI tools ignored each brand's voice and rules. This pipeline keeps the brand context in one place and does the repetitive part.

Hafiz

Limits. You pay the AI providers you connect directly. Review AI output before you publish it.

Run it on your own server

Docker with Compose, or Node.js 20.9+ (22 recommended) and PostgreSQL 14+. All API keys optional; each provider bills its own usage.

Stack
Next.js, PostgreSQL, AI APIs (bring your own keys)
Licence
MIT
git clone https://github.com/Shazi1212/hmsk-content-studio.git

Also to run yourself

Newsletter

Hear when Content Studio gets better.

One email when Content Studio or another tool gets a real update. A few times a year, no tracking.