Credentials. Publishing needs IG_USER_ID and IG_ACCESS_TOKEN in the environment, so keep them out of shared code and logs.
Who it is forA reporter at a local newsroom who needs to get an urgent post out, such as an accident or weather alert, with editorial review.
The problemUrgent posts need speed, but unreviewed AI text or inconsistent branding can publish wrong facts or off-brand art.
The outcomeAn approved Instagram feed post with a title, subtitle and caption, framed in the newsroom's brand template, with a full version history.
What you need first
- Node.js and npm to run the Next.js app
- Docker, or your own PostgreSQL database, matching DATABASE_URL in .env
- Optional: an AI provider key, or AI_PROVIDER set to mock to run without one
- For real Instagram publishing: IG_USER_ID and IG_ACCESS_TOKEN, plus S3/R2-compatible storage or local storage in dev
Steps
- As admin, open Admin and set up the Company (name, logo, Instagram handle, brand colors), one Template, and Newsroom style examples.
- Paste a text, an article link or a PDF as the source, optionally credit the photographer, and click Generate.
- Drag and zoom the photo in the frame, move the title and subtitle, and edit the words within the character limits.
- Open the review screen, check the post as it will look on Instagram, and choose Approve and publish, Request rewrite or Reject with a reason.
- Leave Add to story too unticked unless you want the art published as an Instagram story after the feed post.
Prompt for your agent
Using the JornAI repo at https://github.com/MatheusBomtempo/JornAI, draft an Instagram post from the source <source text or link> with the photo <photo path>. Return the title, subtitle and caption as shown in the review screen, and confirm that the post is pending approval and not published.
Caveat. Publishing to Instagram requires the Instagram Graph API settings in the environment, and a failed story does not undo the feed post, so check the review screen after each attempt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for MatheusBomtempo/JornAI and "Publish a breaking-news photo post with human approval"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer