This package contains a backend (Node.js) and a frontend (React + Vite) UI that mirror the functionality of your original Termux script using nodejs-insta-private-api-mqtt + MQTT. The backend exposes REST endpoints and a Socket.IO channel for real-time logs and control (login, list threads, start/stop spam, upload spam file).
Important:
- The project expects the npm package
nodejs-insta-private-api-mqttto be available. If it's not installed or not compatible, the server will run in a mocked mode (useful for testing UI). - Use responsibly. This tool can send automated messages. Don't use it for spam or to violate Instagram's ToS or laws.
Quick start (server):
- cd server
- npm install
- node index.js Server runs on http://0.0.0.0:3000
Quick start (client):
- cd client
- npm install
- npm run dev Open http://localhost:5173
Termux tips:
- Install nodejs:
pkg install nodejs - Allow storage access:
termux-setup-storage - Use Node v18+ when possible.
Files included:
- server/: Express + Socket.IO backend adapted from your script
- client/: React (Vite) frontend with login form and controls
- README with instructions and warnings