Link once.
Build freely.
Generate your WhatsApp session, pick from 200+ plugins and deploy your bot in minutes.

How it works
Sign in
Log in with GitHub and fork the repo. Under a minute.
Link WhatsApp
Scan a QR or use a pair code. Session ID lands in your chat.
Deploy
Pick a platform below, paste your variables and go live.
Session generator
Pick a method. Keep your Session ID private, it works like a password.
200+ plugins
Official plugins plus everything the community adds. Once added a plugin stays, only the admin can remove it. The red badge means verified by COSMO.
Deploy your bot
Choose a platform and follow the steps. Get your Session ID first, you need it in step 4.
Render
Easiest option for most people. The free plan works, and UptimeRobot keeps it awake 24/7.
- Fork the Cosmo bot repo on GitHub and sign up at
render.com. - Click New, choose Web Service and connect your fork.
- Set Runtime to Node, Build Command
npm install, Start Commandnpm start. - Open Environment and add the config variables below.
SESSION_IDis required. - Click Create Web Service. When the log says connected, the bot is live.
- Copy your Render URL from the top of the dashboard, for example
https://your-app.onrender.com, and set it as thePINGvariable.
Keep it alive with UptimeRobot
Render free services go to sleep after about 15 minutes without traffic. A free UptimeRobot monitor visits your URL every 5 minutes, so the bot never sleeps.
- Sign up free at
uptimerobot.comand open the Dashboard. - Click + New monitor (or Add New Monitor).
- Set Monitor Type to HTTP(s) and give it a friendly name like
Cosmo Bot. - Paste your Render URL as the URL.
https://your-app.onrender.com
- Set the Monitoring Interval to 5 minutes and click Create Monitor.
- Wait a minute until the status shows Up. Your bot now stays online 24/7.
Heroku
Classic one-click style deploy with config vars.
- Fork the repo and create an app at
dashboard.heroku.com. - Open Deploy, connect GitHub and select your fork.
- Go to Settings, then Reveal Config Vars, and add the variables below.
- Press Deploy Branch, then in Resources switch the
workerorwebdyno on.
Koyeb
Fast deploys straight from GitHub.
- Fork the repo and sign in at
koyeb.com. - Click Create Service, pick GitHub and select your fork.
- Choose the Buildpack builder, run command
npm start. - Add the variables below under Environment variables.
- Select the free instance and press Deploy.
Railway
Simple dashboard with live logs.
- Fork the repo and sign in at
railway.app. - Click New Project, then Deploy from GitHub repo.
- Open the Variables tab and add the config variables below.
- Railway builds automatically. Watch Deployments for the logs.
Panel
For hosting panels such as Pterodactyl or bot hosting panels.
- Create a Node.js server in your panel and upload the repo files, or clone it from the console.
- Open the Startup tab and set the start command to
npm start. - Add the config variables below in Startup or in a
.envfile. - Press Start and watch the console.
VPS
Full control on any Linux server. Keep it running with PM2.
- Connect with SSH and install Node.js 18 or newer and git.
- Clone your fork and install packages.
git clone https://github.com/YOUR-USER/Cosmo.git cd Cosmo npm install
- Create a
.envfile and add the config variables below. - Start it with PM2 so it survives restarts.
npm i -g pm2 pm2 start npm --name cosmo -- start pm2 save && pm2 startup
Ubuntu
Fresh Ubuntu 22.04 or 24.04 setup, copy and paste.
- Update the system and install the basics.
sudo apt update && sudo apt upgrade -y sudo apt install -y git ffmpeg curl
- Install Node.js 20.
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - sudo apt install -y nodejs
- Clone the repo, install and add your
.envfile.git clone https://github.com/YOUR-USER/Cosmo.git cd Cosmo && npm install nano .env
- Run it in the background.
sudo npm i -g pm2 pm2 start npm --name cosmo -- start pm2 save && pm2 startup
Config variables
Copy the whole file in one tap and paste it into your platform's environment screen.
SESSION_ID=COSMO~... MODE=public PREFIX=. RENDER_API_KEY=key LANG=english MENU_DATA=BotName,OwnerName,https://image-link PING=Cosmo