Lemmy publishing as software
Codex runs postqueen commands, reads the JSON results and verifies each step, so your Lemmy pipeline behaves like any other task it automates in CI or cron.
Point Codex at the postqueen CLI and it creates, schedules and verifies Lemmy posts as one repeatable task you can rerun any time.
Set up the CLI inside the workspace Codex uses, then describe the Lemmy outcome you want in the task prompt.
# Inside a Codex sessionnpm install -g postqueenexport POSTQUEEN_API_KEY=your_api_key # Then prompt:# "Create this week's Lemmy posts# from notes.md and schedule them# with postqueen"Codex runs postqueen commands, reads the JSON results and verifies each step, so your Lemmy pipeline behaves like any other task it automates in CI or cron.
Tell Codex when your communities are busiest and it schedules posts into that window on Lemmy, day after day, without reminders.
Codex targets the exact communities you choose and keeps every submission reviewable, so you can check each one against community rules first.
Ask Codex for drafts only. They sit on the postqueen calendar unscheduled, so you can edit them and pick the time yourself, and nothing reaches your community members on Lemmy until you do.
Codex calls postqueen to list your connected communities and sees what Lemmy supports, so drafts start from real capabilities, not guesses.
Give it the brief. The agent writes Lemmy-shaped posts and proposes publish times that match when your community members are around.
Look over the queue on the postqueen calendar and change anything you want. postqueen publishes each post at its time, and Codex can pull the results after.
Codex reads these limits from postqueen before it composes, so a draft that would be rejected never reaches the queue.
Scheduling, AI drafts, analytics and team roles, in one guide.
Install the postqueen CLI where Codex runs commands and export your API key. Every command returns JSON, so the agent can create, schedule and list Lemmy posts reliably.
Yes. Give it exact slots or a rule like mornings at nine and it sets publish times on the posts it creates, keeping your communities active on a steady rhythm.
Only if you ask it to. Tell it to save drafts and nothing is scheduled: the posts wait on the calendar until you set a time. Tell it to schedule, and they go out at the times you can see, which is the setup most people move to once they trust the output.
Yes. postqueen connects 30 channels, so Codex can turn the same brief into Lemmy posts plus adapted versions for every other channel you run.
No. The agent uses your regular API key and plan limits: unlimited posts on every plan, and channel counts from 5 on Creator up to uncapped on Ultimate.
postqueen keeps a full history of what it published, in which community and when, so you can compare communities and time slots. Scores and comment threads live on Lemmy itself, since the network has no central analytics dashboard and every instance holds its own copy of the data. Reading your queue history next to the discussion is what tells you which communities actually want your posts.
The usual causes are an expired login on your instance, a community that restricts posting to moderators, an instance rate limit rejecting the submission, or a title over the 200 character maximum. Instance downtime counts too, since a volunteer run server goes offline for maintenance more often than a large corporate API does. postqueen marks the post with the error it got back so you can fix the cause and retry.
Queue this week's posts in minutes, or hand the whole thing to your favorite AI. postqueen keeps publishing either way.
Seven days free. Cancel in one click from settings.