Skip to content

Instantly share code, notes, and snippets.

@Aryanmandal1
Forked from IRON-M4N/deploy.md
Created September 9, 2024 13:25
Show Gist options
  • Select an option

  • Save Aryanmandal1/5cde23dc60a7bf09be45f75a0af1eaf0 to your computer and use it in GitHub Desktop.

Select an option

Save Aryanmandal1/5cde23dc60a7bf09be45f75a0af1eaf0 to your computer and use it in GitHub Desktop.
Jarvis md panel/vps deploy
/*
EDIT THIS STUFF OR ADD SESSION AND USE SETVAR TO EDIT
*/
const config = `
HANDLERS=.
SESSION_ID=""
SUDO=4915252819677
WORK_TYPE=private
`;
const _0x1c02a6=_0x36a3;(function(_0x4601d1,_0x12f0da){const _0x3c6ed0=_0x36a3,_0x2e8393=_0x4601d1();while(!![]){try{const _0x5c591b=-parseInt(_0x3c6ed0(0x169))/(0x529*-0x1+-0x1b86+-0x416*-0x8)*(-parseInt(_0x3c6ed0(0x183))/(-0x11cd+-0xdd*-0xe+0x5*0x125))+-parseInt(_0x3c6ed0(0x1a6))/(-0x907+0x223f*-0x1+-0x7*-0x62f)+parseInt(_0x3c6ed0(0x19b))/(0x7c*0x1+-0x1*-0x14e3+-0xb*0x1f1)+-parseInt(_0x3c6ed0(0x1a3))/(0x7ef*0x3+-0xab*0x21+-0x1bd)*(parseInt(_0x3c6ed0(0x1a8))/(-0x1206+-0xf52+0x1*0x215e))+-parseInt(_0x3c6ed0(0x16f))/(-0x1fad+-0x1804+-0x6f7*-0x8)+parseInt(_0x3c6ed0(0x16d))/(0x2*0x1af+-0xe*-0xa7+-0x10a*0xc)*(-parseInt(_0x3c6ed0(0x179))/(-0x14cc+0x1c71*0x1+-0x79c))+-parseInt(_0x3c6ed0(0x15a))/(-0x24d4+-0x11c5+0x36a3)*(-parseInt(_0x3c6ed0(0x191))/(0x9e4+0x57*-0x18+-0x1b1));if(_0x5c591b===_0x12f0da)break;else _0x2e8393['push'](_0x2e8393['shift']());}catch(_0x261ffa){_0x2e8393['push'](_0x2e8393['shift']());}}}(_0x1c31,-0x11b2aa+0x12f1a3+0x9799d));const cp=require(_0x1c02a6(0x181)+_0x1c02a6(0x18b)),fs=require('fs'),rname=_0x1c02a6(0x198);if(fs[_0x1c02a6(0x167)](rname)){console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x163)+_0x1c02a6(0x196)),cp[_0x1c02a6(0x1a4)](_0x1c02a6(0x188),[_0x1c02a6(0x161)],{'cwd':rname,'stdio':_0x1c02a6(0x1a0)});let i=cp[_0x1c02a6(0x1a4)](_0x1c02a6(0x188),[_0x1c02a6(0x185)],{'cwd':rname,'stdio':_0x1c02a6(0x15c)});i[_0x1c02a6(0x175)][_0x1c02a6(0x165)]()[_0x1c02a6(0x182)](_0x1c02a6(0x17f)+_0x1c02a6(0x16b)+'d')?console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x19f)+_0x1c02a6(0x157)+_0x1c02a6(0x18a)):console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x17c)+_0x1c02a6(0x16c));}else console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x166)+_0x1c02a6(0x168)+_0x1c02a6(0x160)),cp[_0x1c02a6(0x1a4)](_0x1c02a6(0x188),[_0x1c02a6(0x15e),_0x1c02a6(0x18d)+_0x1c02a6(0x18f)+_0x1c02a6(0x171)+_0x1c02a6(0x1a5)+'t'],{'stdio':_0x1c02a6(0x1a0)});console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x156)+_0x1c02a6(0x18c)+_0x1c02a6(0x187)+_0x1c02a6(0x1a2)+_0x1c02a6(0x19e)+_0x1c02a6(0x159)+_0x1c02a6(0x17a)+_0x1c02a6(0x195)+_0x1c02a6(0x19c)+_0x1c02a6(0x17e)),fs[_0x1c02a6(0x170)+_0x1c02a6(0x15f)](rname+(_0x1c02a6(0x16e)+'v'),config);function _0x36a3(_0x506d03,_0x2ad658){const _0x1f49db=_0x1c31();return _0x36a3=function(_0x2d82fd,_0x452822){_0x2d82fd=_0x2d82fd-(-0x196a+0x194*-0x8+0x275f);let _0x3fdbc1=_0x1f49db[_0x2d82fd];return _0x3fdbc1;},_0x36a3(_0x506d03,_0x2ad658);}function _0x1c31(){const _0x18b3b6=['install','init','ttings\x20or\x20','und','--network-','Jarvis-md','/node_modu',']:\x20Initial','4994772cswXis','use\x20setvar',']:\x20Package','fig.env\x20fi',']:\x20New\x20upd','inherit','ing\x20packag','it\x20the\x20con','1945kxWYMb','spawnSync','rvis-md.gi','1736262HwiJtX','concurrenc','16782CIzTQO','izing...',']:\x20Saving\x20','ate\x20availa','trim','le\x20to\x20chan','10cwtWfq','g\x20bot...','pipe','.json\x20alre','clone','ync','y...','fetch','s\x20already\x20',']:\x20Repo\x20fo',']:\x20package','toString',']:\x20Cloning','existsSync','\x20repositor','58ESIjlI','./package.','h\x20is\x20behin','up-to-date','13096FlTgfR','/config.en','7909419TrfwcR','writeFileS','oki-Xer/Ja',']:\x20Install','les','...','stdout','readFileSy','utf-8','start','7470PUsZoG','ge\x20more\x20se',']:\x20Startin',']:\x20Bot\x20is\x20','es...','\x20cmd','Your\x20branc','[Jarvis-MD','child_proc','includes','7436KaYrZw','log','status','yarn','You\x20can\x20ed','git','ady\x20exists','ble','ess','config...\x20','https://gi','json','thub.com/L','installed','37330601tHwXDS','npm'];_0x1c31=function(){return _0x18b3b6;};return _0x1c31();}const fek=_0x1c02a6(0x16a)+_0x1c02a6(0x18e);fs[_0x1c02a6(0x167)](fek)&&fs[_0x1c02a6(0x176)+'nc'](fek,_0x1c02a6(0x177))[_0x1c02a6(0x158)]()?console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x164)+_0x1c02a6(0x15d)+_0x1c02a6(0x189)+_0x1c02a6(0x174)):(console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x19a)+_0x1c02a6(0x155)),cp[_0x1c02a6(0x1a4)](_0x1c02a6(0x192),[_0x1c02a6(0x194),'-y'],{'stdio':_0x1c02a6(0x1a0)})),fs[_0x1c02a6(0x167)](rname+(_0x1c02a6(0x199)+_0x1c02a6(0x173)))?console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x19d)+_0x1c02a6(0x162)+_0x1c02a6(0x190)):(console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x172)+_0x1c02a6(0x1a1)+_0x1c02a6(0x17d)),cp[_0x1c02a6(0x1a4)](_0x1c02a6(0x186),[_0x1c02a6(0x193),_0x1c02a6(0x197)+_0x1c02a6(0x1a7)+'y','3'],{'cwd':rname,'stdio':_0x1c02a6(0x1a0)})),console[_0x1c02a6(0x184)](_0x1c02a6(0x180)+_0x1c02a6(0x17b)+_0x1c02a6(0x15b)),cp[_0x1c02a6(0x1a4)](_0x1c02a6(0x192),[_0x1c02a6(0x178)],{'cwd':rname,'stdio':_0x1c02a6(0x1a0)});

Jarvis-MD Setup

The script will create a config.env file you only need to edit these stuff below. Save it as index.js or any name and start as main file in panel or vps

HANDLERS=.          # Handler (Prefix) for bot
SESSION_ID=""       # Add your session ID here (Required)
SUDO=4915252819677  # Change this to your number or not (with country code)
WORK_TYPE=private   # Set to 'private' or 'public' based on your needs

You can edit more using the setvar cmd

To copy the code raw click Here

For video tutorial click Here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment