Crossposter Private crossposting dashboard for your own social accounts. Compose once, attach media, publish now, or schedule posts from a local/self-hosted server. Supported Channels · Run Locally · Provider Setup · Security Overview Crossposter is a small local/self-hosted publishing dashboard. It is built for personal use: no database, no queue service, and no multi-user product layer. Posts can be sent…
Free, open-source, self-hosted crossposter — compose once and publish or schedule to X, LinkedIn, Bluesky, Mastodon, Instagram, YouTube, Dev.to, Pinterest, Hacker News, Nostr, and Dribbble from localhost.
Private crossposting dashboard for your own social accounts.
Compose once, attach media, publish now, or schedule posts from a local/self-hosted server.
Crossposter is a small local/self-hosted publishing dashboard. It is built for
personal use: no database, no queue service, and no multi-user product layer.
Posts can be sent immediately with Publish now or saved to the local
scheduler for a later time.
This is intentionally not a Postiz-style stack. Full scheduling products usually
need services such as Postgres, Redis, queues, workers, and separate background
jobs. Crossposter keeps the surface area narrow so it can run on your Mac, a
small VPS, Render, or a simple Node host. Scheduled posts publish only while
that server process is running.
Unofficial Integrations And Platform Terms
Crossposter includes a mix of official APIs and local unofficial integrations.
X / Twitter, Instagram, YouTube, Pinterest, and Hacker News may use
cookies, local sessions, private APIs, third-party tools, or normal web submit
flows.
Use Crossposter only with accounts, pages, boards, channels, and profiles you
own or are authorized to manage. You are responsible for each platform’s API
terms, automation rules, rate limits, account policies, and content policies.
Unofficial integrations can break when platforms change and may trigger login
challenges, rate limits, failed posts, or account restrictions.
Supported Channels
Channel
Current support
X / Twitter
Local posting through a dedicated, isolated headless browser (one-time login, like Instagram), with text, images, GIFs, and video
LinkedIn
Personal profile posts and approved Page posts, with optional images or MP4 video
Bluesky
Text posts and local image media
Mastodon
Text posts and local media
Instagram
Unofficial local media publishing through an isolated headless browser session
YouTube
Unofficial local video uploads through YouTube.js/InnerTube cookies
Unofficial local Pin uploads through py3-pinterest session folders
Hacker News
Personal link/text submission through HN’s normal form flow
Nostr
Kind-1 text notes published to configured relays
Dribbble
Official OAuth shot uploads through the Dribbble API
Features
Dashboard composer for title, body text, channel selection, and media upload
Multiple account profiles per provider, selected as publish targets on the dashboard
Inline Schedule draft control for local timed posting
Scheduler calendar for scanning queued posts by month and reviewing posts by day
Scheduler page controls for editing timing and discarding queued or failed posts
Per-platform profile configuration from the UI
Local config saved to poster.config.local.json
Local publish history
Local media upload storage in .poster-uploads
Image conversion/compression with quality and target size controls
Dribbble crop tool for 400x300 or 800x600 shot images
Video conversion/compression to MP4 for supported channels
Platform preflight warnings before publishing
Per-platform title, post, and media limits shown only when a selected draft
exceeds the limit
Light/dark/system theme controls
macOS auto-start service for http://localhost:2004
Scheduled Posting
Use Schedule draft next to Publish now on the Dashboard. It opens a
local date/time popup next to the button you clicked, then saves the post to
poster.config.local.json.
Manage the queue from:
http://localhost:2004/scheduled
The Scheduler page lets you:
view the current month calendar by default
click a calendar date to review posts scheduled for that day
edit the scheduled timing
discard queued or failed posts
review target channels, media, and last publish errors
When a scheduled post publishes successfully, it is added to local publish
history and removed from the Scheduler queue.
The scheduler is local/self-hosted. The Crossposter server must be running at
the scheduled time:
npx @apoorvdarshan/crossposter@latest pings the scheduler every 30 seconds
the macOS auto-start service keeps http://localhost:2004 alive after login
on Render or a VPS, keep the Node service running with persistent disk
If the server is offline when a post is due, it will publish the next time the
server starts and the scheduler tick runs.
Posting From An Agent (HTTP API)
Crossposter exposes a small local HTTP API (/api/health, /api/config,
/api/media, /api/publish, /api/scheduled, /api/draft) so an external
agent or script can publish, schedule, or stage drafts (including media) without
the UI. See AGENT_POSTING.md — a self-contained guide you
can hand to an agent so it can post through your running server on
http://localhost:2004.
Run Locally
Recommended: Homebrew
Install the production build and launch it locally:
Homebrew keeps the application code under its managed prefix. Crossposter keeps
config, uploads, browser sessions, schedules, and history separately in
~/Library/Application Support/Crossposter on macOS, so upgrading or
uninstalling the Formula does not erase local publishing data.
X publishing drives a dedicated, isolated headless browser — the same
approach as Instagram. You log in once in a separate window, the session is
saved into an isolated per-profile folder (never your personal Chrome), and
posts are then typed and sent through X’s own web composer, headlessly.
Because X’s own frontend generates and signs the request, this avoids the
hand-crafted-API rate-limit pattern that direct API clients trip.
It reuses the same browser engine as Instagram. Install it once in Terminal with
crossposter install-instagram-browser-deps (or
./scripts/install-instagram-browser-deps.sh from the Git repo).
Set X_BROWSER_PROFILE_DIR to a unique folder per X account, for example
.x-browser/apoorvdarshan. Keep X_BROWSER_HEADLESS=true so posting runs
invisibly; set it to false to watch the browser if X changes its layout or
shows a checkpoint. Click Log in to X in Settings once to sign in (including
2FA); the session is reused for every post after.
After clicking Post, Crossposter verifies X’s own CreateTweet response and
captures the new status URL. If neither the response nor the success UI can be
observed, the result is marked check rather than failed; inspect the profile
before retrying because the post may already be live.
Set X_PREMIUM_LONG_POSTS=true only for Premium accounts. It raises the X text
limit from 280 to 25,000 characters (X Premium long posts) and the video size
limit from 512 MB to 16 GB. Free accounts keep the 280 character limit.
Media limits:
photos: 5 MB
GIFs: 15 MB
video: 512 MB, or 16 GB when X_PREMIUM_LONG_POSTS=true
Use this only for accounts you control, and keep posting occasional and
human-paced. X is strict about automation and can still challenge, limit, or
lock accounts for suspicious or high-volume activity.
LinkedIn
LinkedIn can be connected from the local Settings page after creating a LinkedIn
developer app.
Add this callback URL in the LinkedIn app Auth tab:
http://localhost:2004/api/auth/linkedin/callback
For personal profile posting:
Enable Share on LinkedIn.
Enable Sign In with LinkedIn using OpenID Connect.
Use scopes:
openid profile w_member_social
Add the LinkedIn client ID and secret in Crossposter.
Click Connect LinkedIn from Settings.
The local callback saves LINKEDIN_ACCESS_TOKEN and a personal
LINKEDIN_AUTHOR_URN automatically.
For LinkedIn Page posting:
Create or choose the LinkedIn Page that owns the developer app.
Make sure the signed-in member is an admin or content admin for that Page.
Make sure the LinkedIn app has access to w_organization_social.
LinkedIn local media upload supports JPG, PNG, and GIF images, plus MP4 videos
between 75 KB and 500 MB. Unsupported local media is rejected before publishing.
Bluesky
Create a Bluesky app password. Do not use your main account password.
Required fields:
BLUESKY_IDENTIFIER
BLUESKY_APP_PASSWORD
BLUESKY_IDENTIFIER should be your handle without @, for example:
name.bsky.social
Mastodon
Create an application/access token from your Mastodon instance settings.
Required fields:
MASTODON_INSTANCE
MASTODON_ACCESS_TOKEN
Example instance:
https://mastodon.social
Mastodon post text is limited to 500 characters.
Instagram
Instagram publishing is unofficial local posting through a dedicated, isolated
headless browser with a one-time login per account, using its own profile folder
(separate from your own Chrome profile). It reuses your real signed-in session
(no stored password) and posts invisibly. It is still automation, not an official
API, so use it for accounts you own and keep posting human-paced.
It prefers your installed Google Chrome (run in a separate, isolated profile),
falling back to Playwright’s bundled Chromium when Chrome is not installed.
Video (MP4/MOV) uploads require Google Chrome — the bundled Chromium lacks the
H.264/AAC codecs Instagram’s web uploader needs to read video, so it rejects MP4s
with “could not be read by your browser”. Image posts work on either.
Install the browser engine once (Playwright + Chromium):
crossposter install-instagram-browser-deps
# or, from a Git clone:
./scripts/install-instagram-browser-deps.sh
Fields:
INSTAGRAM_BROWSER_PROFILE_DIR # unique per account, e.g. .instagram-browser/apoorvdarshan
INSTAGRAM_BROWSER_HEADLESS # true (invisible posting); false to watch the browser
INSTAGRAM_BROWSER_TIMEOUT_MS # login wait + publish step timeout, default 180000
INSTAGRAM_PYTHON_COMMAND # optional; defaults to .venv/bin/python, then python3
Add one profile per Instagram account, give each a unique browser profile
folder, then click Log in to Instagram in Settings. A real browser window
opens once so you can sign in (including any 2FA or checkpoint); the session is
saved into that folder and reused headlessly afterward. To add another account,
add another profile with its own folder and log in again. If Instagram changes
its create-post layout and a publish fails, set INSTAGRAM_BROWSER_HEADLESS to
false to watch the flow.
After clicking Share, Crossposter verifies Instagram’s media-configure response
and uses its shortcode as the post/reel URL when available. If confirmation
cannot be observed, the result is marked check and must be verified on the
profile before any retry.
Supported media:
image: JPG, PNG, or WebP up to 8 MB
video: MP4 or MOV up to 300 MB
YouTube
YouTube publishing is unofficial local upload through YouTube.js and InnerTube.
Crossposter can read cookies from a signed-in Chrome profile at publish time.
Title becomes the YouTube video title. Post text becomes the description.
crossposter install-pinterest-deps
# or, from a Git clone:
./scripts/install-pinterest-deps.sh
Pinterest requires a board ID because every Pin belongs to a board. Title is
limited to 100 characters and description/post text is limited to 800
characters.
Supported media:
image: JPG, PNG, GIF, or WebP up to 20 MB
video: MP4 or MOV up to 100 MB
Hacker News
Hacker News has no official write/submit API. Crossposter uses unofficial
personal automation through Hacker News’ normal login and submit form flow.
Required fields:
HACKERNEWS_USERNAME
HACKERNEWS_PASSWORD
Optional field:
HACKERNEWS_COOKIE
How publishing works:
Title is required.
Link is optional. If set, it is submitted as Hacker News’ url field.
Post text is optional for Hacker News. If set, it is submitted as Hacker News’
text field.
Leave Link empty to submit a discussion/text post.
For non-Hacker News channels, Crossposter still requires Post text.
Local media is ignored.
A saved browser cookie can be used before password login.
Use this only for your own Hacker News account and normal personal submissions.
Do not use it for spam, vote/comment solicitation, or bulk promotional posting.
If Hacker News requires browser validation or CAPTCHA for the login, Crossposter
will fail and you must submit manually.
Nostr
Nostr publishes signed kind-1 text notes directly to relay WebSocket URLs.
Required fields:
NOSTR_PRIVATE_KEY
NOSTR_RELAYS
NOSTR_PRIVATE_KEY can be an nsec... key or a 64-character hex private key.
Use a dedicated Nostr key if you do not want Crossposter to sign as your main
identity.
NOSTR_RELAYS is a comma or newline separated list of relays:
Dribbble requires a title and a local JPG, PNG, or GIF shot image that is
exactly 400x300 or 800x600 and no larger than 8 MB. Crossposter can crop
non-GIF images before publishing.
Local Media Conversion
The composer can convert and compress media before publishing:
images are converted to JPG output with quality, target size, and estimated size
videos are transcoded to MP4 with quality and target size controls
platform warnings offer conversion only when conversion can fix a selected
channel’s media problem
Dribbble image warnings can open a cropper that outputs a valid 800x600 JPG
Static Website
The web/ folder contains a standalone static docs website with overview,
quickstart, provider setup, limits, privacy, and terms sections. It is intended
for a domain such as:
crossposter.apoorvdarshan.com
Live site:
https://crossposter.apoorvdarshan.com
The static site is deployed as a Cloudflare Worker with static assets:
cd web
npm install
npm run build
npx wrangler dev
npx wrangler deploy
Cloudflare Workers Builds watches web/* on main, runs npm run build from
web/, and deploys with npx wrangler deploy. Wrangler publishes web/dist/
and routes crossposter.apoorvdarshan.com to the Worker.
Then add provider credentials only for the channels you want to use.
Render Or VPS
Render or a self-hosted Node server can run the same app. Persistent disk is
recommended if you want uploaded media and local publish history to survive
restarts.
Security
Crossposter is private by convention, not a full multi-user auth system.
For local-only use:
POSTER_REQUIRE_ADMIN_PASSWORD=false
Before exposing it publicly:
set POSTER_REQUIRE_ADMIN_PASSWORD=true
use a strong POSTER_ADMIN_PASSWORD
keep poster.config.local.json private
keep .instagram-sessions, .instagram-browser, .pinterest-sessions, and
.poster-uploads private
never commit API keys, access tokens, refresh tokens, app secrets, browser
cookies, session files, or platform passwords
only connect accounts, pages, and profiles you own or are authorized to manage
评论