Open-Source Cold Email & Warmup Platform
Warmbly는 메일함을 예열하고 캠페인 전송·답변 triage를 지원하는 오픈소스 콜드 이메일 플랫폼입니다
Comment a keyword on your Instagram post, get a public reply and a DM automatically. Free, self-hosted, open source.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Docs · Deploy · Panduan Bahasa Indonesia · Discussions
When someone comments a keyword like GUIDE on your post or reel, AutoDM replies under the
comment and sends them a private DM with your link, using the official Instagram API. It is an
open-source alternative to ManyChat-style "comment to DM" tools: no per-contact pricing, you host it
yourself (free on Vercel + Supabase, or Docker), your data stays in your own database, and it can plug
into n8n.
Renamed from
auto-reply-ig. The project is now AutoDM (repositoryilramdhan/auto-dm). Old GitHub links and forks redirect automatically. Docker users: switch the image toghcr.io/ilramdhan/auto-dm; the oldghcr.io/ilramdhan/auto-reply-igimage no longer receives updates. Nothing else changes: your database, settings, API keys and logins keep working.
{username} and {keyword}, plus an optional link button.All screenshots use fake demo data (scripts/demo/seed.ts).
Every deployment also serves a small public website, so visitors don't need this repository to
understand the project: Home (/), Features (/features), a plain-language Setup guide
(/setup), Pricing (/pricing, free and open source plus honest hosting costs) and FAQ (/faq),
next to the Privacy, Terms and Data deletion pages Meta requires. The pages are listed in
sitemap.xml and make no external requests.
APP_SECRET (e.g. openssl rand -base64 48), and add the Supabase integration when asked. It injects the database variables automatically. (⚠ verify: the stores integration/product slugs for Supabase may change; if the Supabase step doesn't appear, add the integration from the Vercel project's Storage tab, or paste DATABASE_URL manually. See deployment.md.)admin / changeme123. You are forced to change the password immediately.git clone https://github.com/ilramdhan/auto-dm.git && cd auto-dm
cp .env.example .env # set APP_SECRET, CRON_SECRET (and APP_URL for your public HTTPS URL)
docker compose up -d # pulls ghcr.io/ilramdhan/auto-dm, http://localhost:3000
Meta webhooks need HTTPS, so put a reverse proxy in front. See docs/docker.md. Versions and release process: docs/releasing.md.
git clone https://github.com/ilramdhan/auto-dm.git && cd auto-dm
corepack enable && pnpm install # Node 22 recommended (see .nvmrc)
# Postgres 15+: Supabase CLI (`supabase start`) or Docker:
docker run -d --name ig-pg -e POSTGRES_PASSWORD=postgres -p 5432:5432 postgres:16
cp .env.example .env.local # set DATABASE_URL and APP_SECRET
# DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres
pnpm db:migrate
pnpm dev # http://localhost:3000
Meta can't reach localhost; use a tunnel (cloudflared/ngrok) to test webhooks. Details: docs/development.md.
sequenceDiagram
participant U as Commenter
participant IG as Instagram / Meta
participant N as n8n (optional)
participant A as AutoDM
participant DB as Postgres
U->>IG: Comments "GUIDE" on your post
IG->>A: POST /api/webhooks/instagram (signed)
Note over IG,N: or Meta -> n8n -> POST /api/v1/n8n/events
A->>A: Verify X-Hub-Signature-256, return 200
A->>DB: Insert delivery (comment_id UNIQUE = idempotent)
A->>A: Match campaign + rule + keyword
A->>IG: Reply publicly (random variant)
A->>IG: Private Reply DM (once per comment)
A->>DB: Update delivery status (Activity log)
More in docs/architecture.md.
Only two variables are required; everything Instagram-related is set in the UI.
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | yes* | Postgres URL (Supabase transaction pooler, port 6543). *Falls back to POSTGRES_URL from the Vercel integration. |
DATABASE_URL_UNPOOLED | no | Direct connection (5432) used for migrations. |
APP_SECRET | yes | 32+ random chars. Signs sessions and derives the encryption key. Changing it invalidates stored secrets. |
APP_URL | no | Public URL. Defaults to the Vercel production domain. |
ADMIN_DEFAULT_USERNAME / ADMIN_DEFAULT_PASSWORD | no | First-run login (admin / changeme123); must be changed on first login. |
CRON_SECRET | no | Protects /api/cron/*; Vercel sends it automatically. |
Full reference: docs/configuration.md.
Is it really free and unlimited? The software has no fees or contact limits. Limits come from Meta (rate limits, one private reply per comment within 7 days) and your hosting tier. See Is it free & unlimited?.
Do I need a Facebook Page? No. It uses Instagram API with Instagram Login and a professional (Business or Creator) account.
Do I need Meta App Review? For your own account, Standard Access is the intended path. Whether public comments reach the webhook in Live mode without Advanced Access is not confirmed by Meta's docs, so test it. See meta-setup.md.
Can I send a second DM? Not with Private Replies: one per comment, within 7 days. Follow-ups are only possible after the user replies (24-hour window).
Will Instagram ban me? Automating replies to people who explicitly commented a keyword is a supported use case, but spammy behaviour can be throttled. Use varied replies and relevant messages.
Is my data safe? Secrets are encrypted at rest, RLS is enabled on every table, webhooks are signature-verified. See SECURITY.md.
Can I use n8n? Yes, optionally: docs/n8n.md.
It doesn't fire! Open Settings → Instagram → Webhook diagnostics, then see My test comment did nothing. Test from a second account: your own comments are ignored.
Multi-account support, follower gate ("follow to get the link"), analytics and CSV export, internationalisation (i18n), scheduled campaigns UI improvements, story-reply triggers, webhook for outgoing events. Ideas and PRs welcome.
AutoDM adalah aplikasi gratis dan open source untuk membalas komentar Instagram secara otomatis: ketika seseorang berkomentar dengan kata kunci tertentu, aplikasi membalas di kolom komentar dan mengirim DM. Tanpa biaya per kontak, bisa dipasang gratis di Vercel + Supabase.
Contributions are welcome. Read CONTRIBUTING.md and the Code of Conduct. Security issues: SECURITY.md. Questions: SUPPORT.md.
MIT © 2026 Ilham Ramadhan (@ilramdhan, ilramdhan.dev, Instagram @ilramadhan_).
Want to see your name here? Read CONTRIBUTING.md and open a pull request. The full list is on the contributors graph.
Next.js, shadcn/ui, Drizzle ORM, Supabase, Vercel, n8n, and Meta's Instagram Platform.