publishAt), and Mastodon, WordPress, and Ghost posts survive the same way via their own native scheduling. pendpost publishes Instagram, Facebook, LinkedIn, X, Telegram, Discord, and Nostr itself at the scheduled time, so pendpost must be running then (or the optional 24/7 cloud service must cover them).
To close that gap for free, run pendpost on a host that never sleeps. The one rule: never put an unauthenticated publish API on the public internet.
The honest power-off split
So you only need always-on hosting if you schedule Instagram, Facebook, LinkedIn, X, Telegram, Discord, or Nostr.
Recommended: loopback server behind a zero-trust proxy
The safest pattern keeps the pendpost server exactly as it ships, bound to loopback with no auth, and puts access control in front of it with a tunnel. Nothing about the server changes, and the publish API is never exposed.- Tailscale: run pendpost on a small always-on host (a cheap VPS, a Raspberry Pi, or a NAS) and reach it over your tailnet. Optionally use Tailscale Serve to terminate TLS on the tailnet only.
- Cloudflare Tunnel + Access: run
cloudflarednext to pendpost pointing athttp://127.0.0.1:8090, and put a Cloudflare Access policy (email or SSO) in front. Only authenticated people reach it; the server stays loopback-only.
Containers and one-click hosts
The repo ships aDockerfile and docker-compose.yml. Compose keeps host exposure on 127.0.0.1 while the container binds 0.0.0.0 internally, so a local always-on box stays loopback-only:
deploy/:
deploy/fly.tomlfor Fly.io (with a persistent volume and a health check)deploy/railway.jsonfor Railwaydeploy/render.yamlfor Render
Optional: the in-server auth gate
When you cannot put a proxy in front, pendpost can require a bearer token itself. The gate is off by default and activates ONLY when both are true:PENDPOST_HOSTis a non-loopback address (for example0.0.0.0or a Tailscale IP), andPENDPOST_AUTH_TOKENis set.
Authorization: Bearer <PENDPOST_AUTH_TOKEN>, except the readiness probe GET /api/health so platform health checks keep working.