- Bot is Safe for Heroku so don't ask more questions
NOTICE!!! (TAP TO READ)
- For Vps/Panel Deployment You must download the zip from panel sections or from below link else your youtube downloaders wont work on panel.
πFORK REPO(A MUST)
πππππ πππ₯π
- This is essential for you to obtain your own safe forked deployable repo especially heroku users.
(A) HEROKU DEPLOYMENT
TAP TO OPEN
- PostgreSQL is auto-provisioned via the
heroku-postgresql:essential-0addon β no manual setup needed. - All environment variables are pre-filled from
app.json. Just add yourSESSION_ID.
(B) HOST ON GIFTED HOST
(C) RENDER DEPLOYMENT
TAP TO OPEN
Steps:
- Fork this repo, then go to render.com and sign in.
- Click New β Blueprint and connect your forked repo.
- Render reads
render.yamland auto-provisions a free PostgreSQL database linked to your bot. - Fill in
SESSION_IDwhen prompted. All other vars have defaults. - Click Apply β done.
Note: Render's free PostgreSQL lasts 90 days. After that, use a free external DB from neon.tech and paste the URL as
DATABASE_URL. If left blank the bot falls back to SQLite automatically.
(D) RAILWAY DEPLOYMENT
TAP TO OPEN
Steps:
- Fork this repo and go to railway.app.
- Click New Project β Deploy from GitHub repo and select your fork.
- In your project dashboard, click + New β Database β PostgreSQL.
- Railway auto-links
DATABASE_URLto your service β no copy-paste needed. - Go to your service Variables tab and add:
SESSION_IDβ yourGifted~session IDMODEβpublicTIME_ZONEβ e.g.Africa/Nairobi
- Railway detects the
Dockerfileandrailway.tomlautomatically and deploys.
(E) KOYEB DEPLOYMENT
TAP TO OPEN
Steps:
- Fork this repo and sign in to koyeb.com.
- Click Deploy Now above (or Create App β GitHub β select your fork).
- Koyeb has no built-in database β get a free PostgreSQL from one of:
- neon.tech β recommended
- supabase.com
- Paste the connection URL as
DATABASE_URLin your Koyeb service environment variables. - Set
SESSION_ID,MODE,TIME_ZONEin the same env vars section. - Koyeb uses the
Dockerfileandkoyeb.yamlconfig automatically.
Tip: If you skip
DATABASE_URLthe bot will use SQLite on the local disk β data resets on each redeploy. Use a remote DB for persistence.
(F) BOT HOSTING PANELπ₯(DISCORD) DEPLOYMENT
(G) PRINCE TECH HOST
TAP TO OPEN
Steps:
- Download the ZIP below and extract it.
- Go to host.princetechn.com/deploy-bot and sign up / log in.
- Create a new bot instance and upload the extracted ZIP.
- In the environment/startup settings, set:
SESSION_IDβ yourGifted~session IDMODEβpublicTIME_ZONEβ e.g.Africa/Nairobi
- Start the bot. SQLite is used automatically if no
DATABASE_URLis set.
(H) BWM XMD HOST
TAP TO OPEN
Steps:
- Download the ZIP and extract it.
- Go to main.bwmxmd.co.ke/deployment and create an account.
- Upload the extracted ZIP to a new bot instance.
- Set these environment variables on the panel:
SESSION_IDβ yourGifted~session IDMODEβpublicTIME_ZONEβ e.g.Africa/Nairobi
- Hit start β SQLite kicks in automatically if no external DB is configured.
(I) SILVA HOST
TAP TO OPEN
Steps:
- Download the ZIP and extract it.
- Visit host.silvatech.co.ke and register / log in.
- Create a new bot and upload the extracted project ZIP.
- Configure these variables in your panel settings:
SESSION_IDβ yourGifted~session IDMODEβpublicTIME_ZONEβ e.g.Africa/Nairobi
- Start the instance. The bot auto-falls back to SQLite if
DATABASE_URLis not set.
(J) VPS / SELF-HOSTED DEPLOYMENT
TAP TO OPEN
Requires a Linux VPS (Ubuntu 20.04+ recommended) with Node.js 20+ and Git installed.
1. Clone the repo
git clone https://github.com/mauricegift/atassa.git
cd atassa2. Install dependencies
npm install3. Set environment variables
Create a .env file in the project root:
SESSION_ID=Gifted~your_session_id_here
MODE=public
TIME_ZONE=Africa/Nairobi
AUTO_LIKE_STATUS=true
AUTO_READ_STATUS=true
DATABASE_URL= # leave blank to use SQLite, or paste a PostgreSQL URL4. Install FFmpeg (required for media commands)
# Ubuntu / Debian
sudo apt update && sudo apt install -y ffmpeg
# CentOS / RHEL
sudo yum install -y ffmpeg5. Start the bot
npm start6. Keep it running with PM2 (recommended)
npm install -g pm2
pm2 start index.js --name atassa-md
pm2 save
pm2 startup7. (Optional) Free PostgreSQL
If you want a persistent database instead of SQLite, get a free connection URL from neon.tech or supabase.com and paste it as DATABASE_URL in your .env.
8. Update the bot
git pull
npm install
pm2 restart atassa-mdπππππ πππ₯π
- CONTACT SUPPORT For More Info
- Join WHATSAPP CHANNEL for Daily Updates.
- Check out my Website Profile for More Projects.
