Free & Open-Source (MIT) · Official Meta Instagram API

Free self-hosted ManyChat alternative for Instagram

tinyreply is a lightweight Instagram comment-to-DM autoresponder built for one creator on one cheap VPS. Someone comments your keyword under a reel, and they get your link in DM — nobody gets messaged twice, and nobody is silently skipped.

No credit card, no SaaS lock-in, no Docker stack. Runs in 5 minutes on Python 3.12+.

$0/mo
MIT open source, no per-contact fees
32 MB
RAM measured on a live Ubuntu server
0
third-party runtime dependencies
0 ports
outbound polling, no domain needed
1,147
unit + fault-injection simulator tests
Optional read-only web dashboard (EN/RU) — live demo available with zero install.
tinyreply web panel overview showing today's DMs sent, alerts, funnel from request to click, and hourly sends
tinyreply reel configuration view with keyword matching, typos, A/B variants, and mobile DM preview
tinyreply analytics showing comment to click funnel, daily chart, and per-reel breakdown
tinyreply web panel overview in dark theme
tinyreply flow: comment a keyword, get the link in DM with 32 MB RAM and 0 dependencies
Built for reliability

One small program for one creator — not a 10-container agency platform

Most open-source ManyChat clones need Postgres, Redis, Node, SMTP, and a public webhook URL just to send a DM. tinyreply strips all of that away and focuses on delivery guarantees.

Guarantee

Never double-sends

Each DM is claimed in SQLite before the HTTP request leaves. Crashes, restarts, or ambiguous Meta timeouts are marked uncertain and never blindly retried.

Matching

Understands real comments

guide, GUIDE!!, guiiide 🔥, @friend guide, and Latin/Cyrillic look-alikes all match. Verified on 1,108 real comments from a live reel.

Backlog

Serves the full 7-day window

If your server was offline or a reel goes viral past the hourly rate limit, the queue drains oldest-first across Meta's full 7-day private reply window.

Zero ports

No webhooks or domain required

The core bot polls Meta over outbound HTTPS only. Run it behind NAT or on a $3 VPS alongside other tools with zero open ports and zero TLS certs to renew.

Optional funnel

Buttons, follow checks & A/B tests

Add the optional stdlib web.py process when you want "Get it" buttons, follow gates, bot-filtered click tracking, A/B variants, and the web panel.

Safety

Armed manually, alerted in Telegram

Fresh installs and config changes start with send budget 0. Nothing sends until you arm it, disarm stops immediately, and Telegram alerts repeat if anyone gets stuck.

Architecture comparison: typical ManyChat clones require webhook, web app, worker, Postgres, Redis, and SMTP, while tinyreply is one Python process and one SQLite file
One process + one SQLite file vs. a multi-service web stack.
Memory footprint comparison: tinyreply uses 32 MB RAM vs 350 to 700 MB for OpenReply and 2 GB+ for ChatbotX
32 MB measured RAM — fits comfortably on the smallest VPS tier.
Comparison

tinyreply vs ManyChat & open-source alternatives

Honest trade-offs. Choose tinyreply if you run your own account and want rock-solid DM delivery on a $3 server; choose a SaaS if you never want to touch a Meta developer app.

Capability tinyreply ManyChat / ChatPlace OpenReply ChatbotX
Price $0 / mo (MIT) Monthly subscription Free (MIT) MIT + Enterprise
Runtime & stack 1 Python process + SQLite Proprietary cloud Node 20 + Postgres + Redis + SMTP ~10 services, TimescaleDB, S3
Memory footprint 32 MB RAM (measured) SaaS ~350–700 MB (est.) 2 GB+ minimum
Dependencies 0 packages (Python stdlib) — 14 runtime packages 200+ packages
Public HTTPS / webhooks Not required (optional for funnel) Managed Required Required
7-day comment backlog Full 7 days Varies by plan Last 72 h, 30/pass Manual, one post
Cyrillic/Latin + typo matching Built-in No No Partial
A/B testing + click tracking Up to 4 variants, bot-filtered clicks Paid plans Clicks only Traffic split, no report
Test suite 1,147 tests + fault simulator Closed source Standard Standard
Quick Start

Running in 5 minutes on any Linux box or Mac

Zero pip install, zero containers, zero build tools. Just Python 3.12+ and an Instagram Professional account connected to your Meta developer app.

  1. 1Clone the repo and drop your IG_ACCESS_TOKEN into state/.env.
  2. 2List recent reels with bot.py media and add keyword + DM text to config.json.
  3. 3Verify with check --online and dry-run once before arming your send budget.
bash — quick start
git clone https://github.com/Lemelson/tinyreply.git
cd tinyreply/autoreply
mkdir -p state && chmod 700 state
cp ../.env.example state/.env && chmod 600 state/.env
cp config.example.json state/config.json

# Verify token, list reels, dry-run without sending
python3 bot.py check --online
python3 bot.py media
python3 bot.py once
python3 bot.py report

# When the report looks right, arm and run
python3 bot.py arm 20
python3 bot.py run