v0.1 Open source · MIT · zero runtime dependencies

Own your
social calendar.

postlite is a self-hosted scheduler for YouTube, Facebook, Instagram, LinkedIn and X. One Node process and a SQLite file, or Cloudflare's free plan. Drive it from the web, REST, MCP or the command line.

~70 MB RAM at idle No Docker No build step Node 22.13+
social.yourdomain.com
postlite dashboard showing a week calendar with scheduled posts
Carousel publishednorthwind.studio · 12:06
Claude drafted a postwaiting for your approval
Looks good for every channelvalidated before it's due

Publishes to

YouTube Facebook Instagram LinkedIn X
RAM
0MB
at idle on Node. About 105 MB at peak during a video upload.
deps
0
runtime dependencies. No Docker, no Redis, no build step.
surfaces
0
ways in: web UI, REST API, MCP server and CLI.
cost
$0
on Cloudflare's free plan: Workers, D1, R2 and Cron.
Composer

Write once.
Fit everywhere.

One caption with per-channel overrides, checked against every platform's limits as you type. A post fails when you write it, not when it's due.

Publish to
Brand
Northwind Jane Doe northwind.studio Northwind Studio Northwind Explains
Caption0 chars
Validationlive
Everything you need

A full scheduler.
None of the weight.

Calendar, brands, approvals, analytics, a media library and alerts, in about 70 MB of RAM.

Drag-and-drop calendar

Day, week, month and list views. Drag a post to reschedule it. Filter everything by brand.

C
Claudekey: agent · approval mode
PENDING
“Launch week, day 3: the calendar now supports brands. Pick one and every channel comes with it.”

Approvals for agents

Posts from approval-mode API keys wait for a person. Try it.

Northwind

Brands

Named sets of channels. Pick a brand, get every channel it owns.

48.2k▲ 12.4% reach

Analytics

Followers, views, reach and engagement per account and post. Top posts, CSV export.

Mon 09:00 ● taken
Tue 12:06 ● taken
↻ every 2 weeks repeat

Slots & repeating posts

Drop a post in the next free slot, or repeat it daily, weekly or monthly.

1080×1080
1080×1350
MP4 · 0:42
PDF · 8p
original
auto-deleted
Reel

Media library

Resumable uploads. Originals can be cleaned up after publishing (after a safety window, 7 or 30 days, or never). Thumbnails and links stay.

Post failed on X: media too largeemail · bell · 2 min ago
LinkedIn token expires in 3 days, reconnectbell · today
Daily digest: 4 published, 6 scheduledemail · 08:00

Alerts that matter

Failed posts, accounts that need reconnecting, published posts and a daily digest. Email via SMTP or Resend. Each person picks what they get.

ana@acme.ioaccountspostsmediakeys
sam@acme.ioaccountspostsmediakeys
lee@studio.coaccountspostsmediakeys

Isolated workspaces

With Cloudflare Access sign-in, every allowed email gets its own workspace: accounts, posts, media, analytics, keys, webhooks and audit log.

YouTubevideos · Shorts
Instagramposts · carousels · Reels · Stories
Facebookphotos · video · Reels · Stories
LinkedIntext · images · video · PDF
Xposts · threads · media

Every format, natively

Threads, first comments, carousels, Reels, Stories, Shorts and LinkedIn documents. Previews for each.

Built for agents

Agents can do
everything you can.

A versioned REST API, an MCP server and a CLI, all with the same reach as the web UI. Scoped keys and an audit log keep you in charge.

  • REST API with OpenAPI 3.1

    Versioned at /api/v1, with the spec at /api/v1/openapi.json.

  • MCP over stdio and Streamable HTTP

    Ready-made configs for Claude Desktop, Claude Code, Cursor and Hermes.

  • A CLI that speaks the API

    Works the same against Node and Workers instances, and can upload local files.

  • Scoped, rate-limited keys

    New keys start in approval mode. They can't approve posts, raise their own permissions or touch app credentials.

  • Signed webhooks, audit log, llms.txt

    Every change is recorded. The agent guide is served at /AGENTS.md.

Y
Schedule the launch post for Northwind in the next free slot, with the carousel from yesterday.
C
On it. Checking slots and media for the Northwind brand.
postlite · list_media { "tag": "launch" } → 2 items
postlite · create_post { "brand": "Northwind", "next_slot": true } → pending_approval
C
Done. It's queued for Thu 12:06 on YouTube, Instagram, Facebook and X. Instagram passes validation with 2 JPEGs. It's waiting for your approval in postlite.
// .mcp.json (Claude Code)
{
  "mcpServers": {
    "postlite": {
      "type": "http",
      "url": "https://social.example.com/mcp",
      "headers": {
        "Authorization": "Bearer ${POSTLITE_API_KEY}"
      }
    }
  }
}

# or run it locally over stdio
$ POSTLITE_URL=https://social.example.com \
  POSTLITE_API_KEY=pl_••••••• node bin/postlite.js mcp
# create an API key (starts in approval mode)
$ node bin/postlite.js keys create --name "Claude"

# schedule into the next free slot for a brand
$ node bin/postlite.js posts create \
    --content "Hello from the terminal 👋" \
    --brand Northwind --next-slot \
    --url https://social.example.com --key $KEY

✓ created post 7f3a…c21d
  status     pending_approval
  scheduled  Thu Nov 5, 12:06 Europe/Berlin
  channels   youtube · instagram · facebook · x
$ curl https://social.example.com/api/v1/posts \
    -H "Authorization: Bearer $KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "content": "Swipe through: four tools we use every day",
      "brand": "Northwind",
      "next_slot": true
    }'

# full schema
$ curl https://social.example.com/api/v1/openapi.json

# docs written for agents
$ curl https://social.example.com/llms.txt
New · Video agents

Claude makes the videos.
You tap approve.

Describe a channel once. An agent plans, renders and schedules short vertical videos on your server, then sends you a one-tap review link.

See how video agents work
Scheduler

Posts go out.
Even when things go wrong.

Every publish is a small, durable state machine. A crash mid-upload won't double-post.

01

Atomic claim

Exactly one worker takes each job, so nothing runs twice.

02

Persisted steps

Each publish step is saved as it completes.

03

Crash recovery

Before retrying, it asks the platform whether the post already went out.

04

Backoff retries

Transient failures retry with backoff, then alert you.

05

Grace window

Posts missed while the server was down still go out.

Deploy

Two ways to run it.
One core.

The Node and Cloudflare builds share the same code. Pick what fits and switch later.

Node + SQLite

one process · one file
  • About 70 MB RAM at idle
  • Nothing to npm install
  • Video posters made with ffmpeg
  • systemd unit, Caddy and nginx configs
  • Live backup script
  • Posts go out on the second
$ git clone https://github.com/muhammedilyasy/postlite.git && cd postlite
$ cp .env.example .env
$ node bin/postlite.js gen-secrets   # into .env
$ node bin/postlite.js set-password
$ node bin/postlite.js start         # :4100

Cloudflare Workers

free plan · serverless
  • Workers, D1, R2, Cron Triggers
  • Fits the free plan for personal use
  • 10 GB free media storage
  • Zero Trust Access sign-in
  • One-click deploy button
  • Posts go out within a minute
$ npm install && npx wrangler login
$ npx wrangler r2 bucket create postlite-media
$ npm run cf:deploy
$ openssl rand -base64 32 | npx wrangler secret put TOKEN_ENC_KEY
$ openssl rand -base64 32 | npx wrangler secret put SESSION_SECRET
Take the tour

Quiet and fast.
Dark by default.

social.yourdomain.com
Week calendar with scheduled posts Posts list with filters and status Composer with per-channel settings and preview Connected accounts and a brand Analytics per account Posts list on a phone

Week calendar with scheduled posts across five channels.

Platforms

Your apps.
Your tokens.

postlite publishes through developer apps you create on each platform. Credentials are stored encrypted, and your instance shows you the exact redirect URIs.

PlatformDeveloper appPaid tierNotes
YouTubeGoogle Cloud OAuth clientNoUploads use a daily API quota
Facebook PagesMeta app with Facebook LoginNoReview only for people without a role on the app
InstagramVia a Facebook Page, or Instagram LoginNoBusiness or Creator account. JPEG only.
LinkedInShare on LinkedIn + OpenID ConnectNoCompany Pages need the Community Management API
XX developer app (OAuth 2.0)Pay-per-useEvery request is billed, so reads are kept to a minimum
FAQ

Questions, answered.

What does it need to run?

On Node, about 70 MB of RAM at idle and around 105 MB at peak while uploading a video, with Node.js 22.13 or newer. On Cloudflare it fits the free plan for personal use: Workers, D1, and R2's 10 GB of free storage.

What limits should I expect?

The platforms set them. YouTube uploads use a daily API quota, Instagram allows 100 API-published posts per account in 24 hours, X bills every request, and LinkedIn tokens expire after 60 days unless your app is an approved partner. postlite checks media and caption rules before scheduling.

Can several people share one workspace?

Not yet. Each person gets their own workspace, and a page or channel can be connected in only one workspace at a time. There are no roles or shared workspaces yet.

Is it tested against the real platform APIs?

The test suite runs against local fake servers for every platform and never calls Meta, Google, X or LinkedIn. Try each platform with your own app before you rely on it.

Why does Instagram reject my PNG?

The Instagram API only accepts JPEG images. postlite tells you before scheduling rather than converting the file.

How do I sign in?

With a password (one owner workspace), or with Cloudflare Zero Trust Access and email one-time PINs. postlite verifies the Access token itself and only admits the addresses in ALLOWED_EMAILS.

Schedule everywhere.
Depend on no one.

Free, open source and yours to run. Set it up in about five minutes.

Copied to clipboard