A powerful multi-account Instagram automation bot built by ZehraSec that enables automated interactions across multiple Instagram accounts with advanced proxy support.
โโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโโโ โโโ โโโโโโ โโโโโโโ โโโโ โโโโ
โโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโ
โโโโโโโโโ โโโโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโ โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโ โโโโโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโ โโโ โโโ
โโโโโโ โโโโโโโโโโโโโ โโโ โโโ โโโโโโโโโโโ โโโโโโโโ โโโ โโโโโโ โโโโโโ โโโ
๐ค
["InstaSwarm"]
.-"""-.
/ .===. \
\/ 6 6 \/
( \___/ )
___ooo__V__ooo___
โ๏ธ InstaSwarm by ZehraSec | Multi-account IG Bot
- ๐ฅ Multi-Account Support: Manage multiple Instagram accounts simultaneously
- ๐ Advanced Proxy Support: HTTP(S), SOCKS4, and SOCKS5 proxy compatibility
- ๐ฏ Automated Actions: Like, comment, follow, and auto-reply to comments
- ๐ Comprehensive Logging: Detailed activity logging for monitoring
- ๐ Smart Randomization: Random delays and proxy rotation for authenticity
- ๐ก๏ธ Error Handling: Robust error management and recovery
- ๐ฑ Cross-Platform: Works on Windows, Linux, and Termux (Android)
- Python 3.7+
- pip package manager
-
Clone the repository
git clone https://github.com/yashab-cyber/instaswarm.git cd instaswarm -
Install dependencies
pip install -r requirements.txt
-
Set up configuration files
- Create
accounts.txtwith your Instagram accounts - Create
comments.txtwith comments to use - Configure
proxies.txtwith your proxy list (optional)
- Create
instaswarm/
โโโ bot.py # Main bot script
โโโ requirements.txt # Python dependencies
โโโ accounts.txt # Instagram account credentials
โโโ comments.txt # Comment templates
โโโ proxies.txt # Proxy list (optional)
โโโ instaswarm.log # Activity log file
โโโ README.md # This file
Add your Instagram accounts in the format:
username1,password1
username2,password2
username3,password3
Add comments that the bot will randomly select:
Amazing post! ๐ฅ
Love this content! โค๏ธ
Great work! ๐
Awesome! ๐
Configure proxies for enhanced anonymity:
# HTTP/HTTPS Proxies
http://user:[email protected]:8080
https://user:[email protected]:8080
# SOCKS5 Proxies
socks5://user:[email protected]:1080
# SOCKS4 Proxies
socks4://user:[email protected]:1080
-
Run the bot
python bot.py
-
Enter Instagram Post URL
- Paste the Instagram post URL you want to interact with
- The bot will automatically extract the post ID
-
Monitor Activity
- Check
instaswarm.logfor detailed activity logs - Watch terminal output for real-time status
- Check
PROXY_ENABLED = True # Enable/disable proxy usage
PROXY_FILE = "proxies.txt" # Proxy file location- Log file:
instaswarm.log - Log level: INFO
- Includes timestamps and detailed activity tracking
- Proxy Rotation: Automatically rotates through available proxies
- Random Delays: Implements human-like delays between actions
- Error Recovery: Continues operation even if individual accounts fail
- Proxy Validation: Validates proxy format before usage
For each account, the bot performs:
- Login with proxy support
- Like the target post
- Comment with random message from your list
- Follow the post author
- Auto-reply to recent comments on the post
- Logout safely
All activities are logged to instaswarm.log including:
- Account login status
- Proxy usage information
- Action confirmations (likes, comments, follows)
- Error messages and recovery attempts
- Timestamps for all activities
- Rate Limiting: Built-in delays prevent Instagram rate limiting
- Account Safety: Use high-quality proxies to protect accounts
- Terms of Service: Ensure compliance with Instagram's ToS
- Responsible Usage: Use for legitimate engagement only
instagrapi: Instagram API clientpysocks: Advanced proxy supportpillow: Image processing support
| Proxy Type | Supported | Format |
|---|---|---|
| HTTP | โ | http://user:pass@host:port |
| HTTPS | โ | https://user:pass@host:port |
| SOCKS4 | โ | socks4://user:pass@host:port |
| SOCKS5 | โ | socks5://user:pass@host:port |
-
Login Failed
- Check account credentials in
accounts.txt - Verify proxy connectivity
- Ensure accounts aren't restricted
- Check account credentials in
-
Proxy Errors
- Validate proxy format and credentials
- Test proxy connectivity manually
- Check proxy server status
-
Rate Limiting
- Increase delays between actions
- Use fewer accounts simultaneously
- Implement longer session breaks
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is for educational purposes only. Users are responsible for compliance with Instagram's Terms of Service and applicable laws.
- ๐ท Instagram: @_zehrasec
- ๐ Facebook: ZehraSec
- ๐ฌ WhatsApp: Channel
- ๐ LinkedIn: Company
- ๐ฆ Twitter: @zehrasec
- ๐ Website: zehrasec.com
- ๐ง Lewis AI: lewis.zehrasec.com
- ๐ ZehraSight: zehrasight.zehrasec.com
If you find this project helpful, please give it a star! For support and questions, reach out through our social media channels.