Before you begin
By the end, you’ll have your own OpenReply instance with the dashboard/webhook service, PostgreSQL, Redis, background DM worker, login email service, and an authorized Instagram Business or Creator account connected through Meta’s official API.
Tools used
- OpenReply
GitHub
- Codex / Claude Code / Cursor
Vercel
Railway
PostgreSQL
Redis
Resend
Meta for Developers
Instagram API
Requirements
- A GitHub account
- Codex, Claude Code, Cursor, or another trusted coding agent
- A Facebook account for Meta Developer registration
- An Instagram Business or Creator account you own or are authorized to manage
- A Meta Developer account
- A Resend account with a verified sender domain for login emails
On this page · 18 steps
Your progress
0 of 18 steps
The walkthrough
Step 01 / 18
Start with the official OpenReply repository
Open the official OpenReply repository by Diwen Huang (@diwenne). OpenReply is an open-source Instagram comment-to-DM automation project: when a comment matches a campaign keyword, Meta sends your instance a webhook, OpenReply matches the text, queues a job, and its worker sends the private reply through Meta’s official Instagram API. The repository is MIT licensed and must be self-hosted; the public demo is not a hosted automation service.
Check before continuing
- Open the official repository
- Read README.md
- Read docs/setup.md
- Review the MIT license
Continue from here