Note: Automated interaction with Instagram may violate their Terms of Service.
A Node.js application built with Puppeteer that automates sending Direct Messages to Instagram accounts via the Facebook Messenger interface. It is designed to simulate human-like behavior.
- Web Scraping Automation: Uses
Puppeteerto interact with the web interface. - Human-Like Interaction: Designed to run like a real user to avoid basic detection.
- Bulk Messaging: Send messages to a list of accounts automatically.
- Customizable List: Manage target accounts via a simple text file.
-
Clone the repository:
git clone https://github.com/mavi/instagram-dm-bot.git -
Install dependencies:
npm install -
Configuration:
- Open
app.jsand configure your settings between lines 10 and 13. - Add target Instagram usernames (without the "@" symbol) to
accs-to-dm.txt, one per line.
- Open
-
Start the bot:
node app.js
app.js- Main application logic and Puppeteer configuration.accs-to-dm.txt- List of target Instagram accounts..puppeteerrc.cjs- Puppeteer configuration file.package.json- Project dependencies and scripts.
This project is open-source and available for educational use.