Skip to content

clevertech977/black-hat-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

76 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ππ‹π€π‚πŠ 𝐇𝐀𝐓 πŒπƒ π•π„π‘π’πˆπŽπ πŸ“.𝟎.𝟎

  • 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.

Panel Zip File

𝟏. 𝐒𝐄𝐓 𝐔𝐏:

πŸ‘‡FORK REPO(A MUST)

π—–π—Ÿπ—œπ—–π—ž π—›π—˜π—₯π—˜
  • This is essential for you to obtain your own safe forked deployable repo especially heroku users.

FORK ππ‹π€π‚πŠ 𝐇𝐀𝐓 πŒπƒ

𝟐. π‹πˆππŠ π–πˆπ“π‡ 𝐖𝐇𝐀𝐓𝐒𝐀𝐏𝐏

πŸ” GET YOUR SESSION_ID
Server 1

Β Β Β 

Server 2

πŸ‘‰ Click any server above to generate your Session ID

⚠️ Session ID must start with BlackHat~

πŸ‘. πƒπ„ππ‹πŽπ˜πŒπ„ππ“ π’π„π‚π“πˆπŽπ:

TAP TO OPEN Heroku Signup

Deploy on Heroku

  • PostgreSQL is auto-provisioned via the heroku-postgresql:essential-0 addon β€” no manual setup needed.
  • All environment variables are pre-filled from app.json. Just add your SESSION_ID.

(B) BOT HOSTING PANELπŸ”₯(DISCORD) DEPLOYMENT

TAP TO OPEN Bot Hosting Files

Bot Hosting Signup

Bot Hosting Deploy

Bot Hosting Tutorial

(C) RENDER DEPLOYMENT

TAP TO OPEN Render Signup

Deploy on Render

Render Tutorial

Steps:

  1. Fork this repo, then go to render.com and sign in.
  2. Click New β†’ Blueprint and connect your forked repo.
  3. Render reads render.yaml and auto-provisions a free PostgreSQL database linked to your bot.
  4. Fill in SESSION_ID when prompted. All other vars have defaults.
  5. 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 Railway Signup

Deploy on Railway

Steps:

  1. Fork this repo and go to railway.app.
  2. Click New Project β†’ Deploy from GitHub repo and select your fork.
  3. In your project dashboard, click + New β†’ Database β†’ PostgreSQL.
  4. Railway auto-links DATABASE_URL to your service β€” no copy-paste needed.
  5. Go to your service Variables tab and add:
    • SESSION_ID β†’ your BlackHat~ session ID
    • MODE β†’ public
    • TIME_ZONE β†’ e.g. Africa/Nairobi
  6. Railway detects the Dockerfile and railway.toml automatically and deploys.

(E) KOYEB DEPLOYMENT

TAP TO OPEN Koyeb Signup

Deploy on Koyeb

Steps:

  1. Fork this repo and sign in to koyeb.com.
  2. Click Deploy Now above (or Create App β†’ GitHub β†’ select your fork).
  3. Koyeb has no built-in database β€” get a free PostgreSQL from one of:
  4. Paste the connection URL as DATABASE_URL in your Koyeb service environment variables.
  5. Set SESSION_ID, MODE, TIME_ZONE in the same env vars section.
  6. Koyeb uses the Dockerfile and koyeb.yaml config automatically.

Tip: If you skip DATABASE_URL the 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

TAP TO OPEN Bot Hosting Files

Bot Hosting Signup

Bot Hosting Deploy

Bot Hosting Tutorial

(G) 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/clevertech977/black-hat-md.git
cd black-hat-md

2. Install dependencies

npm install

3. Set environment variables

Create a .env file in the project root:

SESSION_ID=BlackHat~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 URL

4. Install FFmpeg (required for media commands)

# Ubuntu / Debian
sudo apt update && sudo apt install -y ffmpeg

# CentOS / RHEL
sudo yum install -y ffmpeg

5. Start the bot

npm start

6. Keep it running with PM2 (recommended)

npm install -g pm2
pm2 start index.js --name black-hat-md
pm2 save
pm2 startup

7. (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 black-hat-md

πŸ’. 𝐔𝐏𝐃𝐀𝐓𝐄𝐒

π—–π—Ÿπ—œπ—–π—ž π—›π—˜π—₯π—˜

πŸ“. π‘π„ππŽ 𝐒𝐓𝐀𝐑 π‡πˆπ’π“πŽπ‘π˜

Gifted-Md

About

black-hat-md, a Multi Device Whatsapp Bot built by clever Tech to Enhance Whatsapp Communication Experience

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages