Link your WhatsApp
Your pair code will appear here
Scan this QR code with WhatsApp
Configure your deployment
Auto Read Messages
Bot marks messages as read automatically
Auto View Statuses
Bot automatically views WhatsApp statuses
Fill in your details above, then click
Generate index.js
Generate index.js
node index.js
Save the file and run this — that's it.
Deployment instructions
-
1Create a Render accountGo to render.com and sign up — linking with GitHub makes the next step easier.
-
2New Background WorkerClick New + → Background Worker. Connect your GitHub repo or paste this URL directly:
https://github.com/crysnovax/CODY -
3Set build & start commandsIn the service settings, configure these two commands:
npm installnode index.js -
4Add Environment VariablesUnder the Environment tab, add these key-value pairs:
SESSION_IDOWNER_NUMBEROWNER_NAMEBOT_NAMEPREFIXMODE💡 Or skip env vars entirely — use the Generate Script tab to embed values directly. -
5Deploy ✅Click Create Background Worker. Render will build and launch your bot automatically.
Free tier Render services spin down after inactivity. For a 24/7 bot, upgrade to a paid plan ($7/mo) or deploy on a VPS instead.
-
1Install Node.js 20 & GitSSH into your server and run these commands:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -sudo apt-get install -y nodejs git -
2Upload your index.jsCreate a folder and upload the generated index.js file:
mkdir cody-ai && cd cody-aiUsenano index.jsto paste the script content. -
3Install PM2 — keeps bot alive 24/7
npm install -g pm2 -
4Launch with PM2
pm2 start index.js --name cody-aipm2 save && pm2 startup -
5Useful PM2 commands
pm2 logs cody-aipm2 restart cody-aipm2 stop cody-ai
Recommended providers: DigitalOcean, Hetzner, Contabo, or Oracle Cloud (free tier). Ubuntu 22.04 LTS works best.
-
1Create a Node.js serverIn your panel (Pterodactyl, Pelican, etc.), create a new server using a Node.js egg / template. Set RAM to at least 512 MB.
-
2Upload index.jsUse the panel's file manager to upload your generated index.js to the server root.
-
3Set the startup commandIn Startup settings, change the start command to:
node index.js -
4Power on ✅Click the power button and watch the console. Your bot will install dependencies and go online automatically.
No Node.js egg available? Ask your host to install one from github.com/parkervcp/eggs.