Instagram comment-to-DM automation
Comment Pilot
A desktop app that watches Instagram comments for a keyword and replies with a DM containing link buttons, a self-hosted alternative to ManyChat. No monthly fee, no contact limit, and all data stays on my own computer.
- Role
- Designer & Developer (personal project)
- Year
- 2026
- Context
- Built for my Instagram channel
- Stack
- Claude Code (AI-assisted) · Electron · JavaScript · Instagram Graph API
Why I built it
I wanted the ManyChat workflow without being locked into another subscription, and I wanted to own my audience data.
How it works
An automation is a trigger (selected posts or the latest ten), an optional public reply, and a DM with link buttons. A live preview on the right shows exactly what the follower will see.
Keyword matching ignores case and full-width characters. Each person gets the DM once, failed sends retry three times, and the access token renews itself every 30 days.
It polls the official Graph API instead of using webhooks, so there is no server to run. Comments made while the app was closed are picked up within seven days.
Privacy by default
Tokens and collected emails are encrypted with the operating system's keychain, so copying the data file elsewhere reveals nothing.
