Lesson plan
What you will build
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
Lesson contents and progress
Your progress
0 of 18 steps
Step-by-step class
Follow the lessons in order.
Each lesson includes the exact action to take, the reason it matters, and a checkpoint before you move on.
Lesson 01 of 18
1. 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
Continue from here