Automatically login and join classes on myclass.lpu.in (CodeTantra). Runs 24/7 on Render — works even when your laptop is off.
- 🔐 Auto-login to myclass.lpu.in
- 📅 Timetable scraping from CodeTantra dashboard
- ✅ Auto-join when a class starts (green status detected)
- ⏰ Cron scheduler (every 2 min, Mon–Sat, 8AM–9PM IST)
- 📊 Web dashboard with real-time status & logs
- 🔄 Self-ping to keep Render free tier alive
- Fork/clone this repo
- Go to render.com → New Web Service
- Connect your repo
- Set runtime to Docker
- Add environment variables:
REG_NUMBER= your registration numberPASSWORD= your UMS password
- Deploy 🚀
Render's free tier spins down the server after 15 minutes of inactivity. To keep the bot active and prevent "Web server is down" errors:
- Create a free account on UptimeRobot.
- Add a new HTTP(s) Monitor.
- Set the URL to:
https://your-service-name.onrender.com/ping - Set the monitoring interval to 5 minutes.
This keeps the instance warm and ensures classes are joined exactly on time.
npm install
REG_NUMBER=12345678 PASSWORD=yourpass node server.js
# Dashboard → http://localhost:3000Node.js · Puppeteer · Express · node-cron · Docker
⚠️ Credentials are stored as environment variables on Render (encrypted at rest). They are never committed to code.