{"id":13337202,"url":"https://github.com/Rlxfly/re-md","last_synced_at":"2025-03-11T04:32:05.231Z","repository":{"id":37041117,"uuid":"497927590","full_name":"Rlxfly/re-md","owner":"Rlxfly","description":" 𝑺𝒊𝒎𝒑𝒍𝒆 𝑾𝒉𝒂𝒕𝒔𝒂𝒑𝒑 𝑩𝒐𝒕 𝑴𝒖𝒍𝒕𝒊-𝒅𝒆𝒗𝒊𝒄𝒆 𝑫𝒐𝒏'𝒕 𝒇𝒐𝒓𝒈𝒐𝒕 𝒕𝒐 𝒈𝒊𝒗𝒆 𝒔𝒕𝒂𝒓 𝒊𝒇 𝒚𝒐𝒖 𝒄𝒐𝒑𝒚 𝒂𝒏 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏 𝒐𝒇 𝒂𝒏 𝒇𝒊𝒍𝒆. 𝑻𝒉𝒂𝒏𝒌𝒔","archived":false,"fork":false,"pushed_at":"2023-06-12T23:11:04.000Z","size":8375,"stargazers_count":92,"open_issues_count":4,"forks_count":246,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-25T13:16:45.349Z","etag":null,"topics":["bot","esmodule","javascript","multidevice","new","nodejs","simple","termux"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rlxfly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["Rlxfly"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://s.id/0x404"]}},"created_at":"2022-05-30T12:11:05.000Z","updated_at":"2024-09-19T05:23:29.000Z","dependencies_parsed_at":"2023-02-14T14:16:02.942Z","dependency_job_id":null,"html_url":"https://github.com/Rlxfly/re-md","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rlxfly%2Fre-md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rlxfly%2Fre-md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rlxfly%2Fre-md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rlxfly%2Fre-md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rlxfly","download_url":"https://codeload.github.com/Rlxfly/re-md/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242972564,"owners_count":20215238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","esmodule","javascript","multidevice","new","nodejs","simple","termux"],"created_at":"2024-07-29T19:12:53.084Z","updated_at":"2025-03-11T04:32:04.592Z","avatar_url":"https://github.com/Rlxfly.png","language":"JavaScript","funding_links":["https://github.com/sponsors/Rlxfly","https://s.id/0x404"],"categories":[],"sub_categories":[],"readme":"# SIMPLE MD BOT\n\n### Thanks To: \n**All member of [`WhatsAppCode`](https://tinyurl.com/2c7k5wtl) team**\n\n#### Special Thanks to\n[![Ryn](https://github.com/Rainprjkt.png?size=100)](https://github.com/Rainprjkt)\n[![Hijer bilek](https://github.com/Hyzerr.png?size=100)](https://github.com/Hyzerr)\n[![Rlxfly](https://github.com/Rlxfly.png?size=100)](https://github.com/Rlxfly)\n[![Arp](https://github.com/Akkun3704.png?size=100)](https://github.com/Akkun3704)\n[![Lua](https://github.com/xxirfanx.png?size=100)](https://github.com/xxirfanx)\n[![Dolpin bilek](https://github.com/Vynn-SOLO.png?size=100)](https://github.com/Vynn-SOLO)\n\n\u003e ` For help me create/fix this bot `\n\n\u003e Open member for discussion group [`Come here`](https://chat.whatsapp.com/J26yYsYdxLBJdbKdDrddEv)\n## `READ README FIRST BEFORE USE THIS BOT!`\n\n--------\n# 📑 List Of This Readme\n\n| Name | LINK |\n|--------|--------|\n| **TITTLE** |[here](https://github.com/Rlxfly/re-md/#simple-md-bot) |\n| **ESM BOT** | [here](https://github.com/Rlxfly/re-md/#note-this-bot-is-esm-bot) |\n| **PRIVIEW** |[here](https://github.com/Rlxfly/re-md/#preview-bot) |\n| **NOTE** |[here](https://github.com/Rlxfly/re-md/#-english-) |\n| **TERMUX INSTALATION** |[here](https://github.com/Rlxfly/re-md/#for-termux-user) |\n| **TERMUX W/ UBUNTU** |[here](https://github.com/Rlxfly/re-md/#install-on-termux-with-ubuntu) |\n| **WINDOWS INSTALATION** |[here](https://github.com/Rlxfly/re-md/#for-windowsvpsrdp-user) | \n| **ARGUMENTS OF RUNNING BOT** |[here](https://github.com/Rlxfly/re-md/#arguments-node----options-session-name) |\n| **FAQ** |[here](https://github.com/Rlxfly/re-md/#faq) | \n| **CONTRIBUTE!!** |[here](https://github.com/Rlxfly/re-md/#want-to-contribute) |\n| **THANKS TO** |[here](https://github.com/Rlxfly/re-md/#thanks-to) | \n\n--------\n## NOTE: THIS BOT IS [ESM](https://nodejs.org/api/esm.html) BOT\n\u003e I opened discussiond for asking any problem or new feature, if i agree with that i will invite you in my repo/pull request your idea in this source code :)\n## BASE ORI BY [BochilGaming](https://github.com/BochilGaming/games-wabot/tree/multi-device)\n--------\n### Preview bot\n\n- [x] Welcome   *_Same as welcome in repo bot-tzy_\n- [x] Menu \u003cdetails\u003e\u003csummary\u003eScreenshot\u003c/summary\u003e\u003cimg src=\"https://telegra.ph/file/abe9435cec00f6afb81d3.jpg\"\u003e\u003c/details\u003e\n- [x] Button Doccumment (_Still in experiment state_) \u003cdetails\u003e\u003csummary\u003eScreenshot\u003c/summary\u003e\u003cimg src=\"https://telegra.ph/file/a2d24c71e7d0d67dcd05e.jpg\"\u003e\u003c/details\u003e\n\n\n\n## _「 ENGLISH 」_\n\u003e You can also recode this bot, it's easy for newbie in code/whatsapp bot, `If you have problem chat me` in [this](http://wa.me/6283820073017) or [this one](http://wa.me/6287827659529) `NOTE!` if you chat to me impolitely, then I won't answer it, get used to greeting first :)\n\n## _「 INDONESIA 」_\n\u003e Kamu juga bisa membuat ulang bot ini, ini sangat mudah untuk pemula dalam programing/bot whatsapp `Jika kamu punya masalah chat sy` ke [ini](http://wa.me/6283820073017) atau [yang ini](http://wa.me/6287827659529) `CATATAN!` jika kamu chat ke saya dengan tidak sopan 'p, woi', maka saya tidak akan menjawabnya, biasakan sapa terlebih dahulu :)\n#### Deploy to Heroku\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Rlxfly/re-md)\n-----------\n### Deploy to Replit\n[![Run on Repl.it](https://repl.it/badge/github/Rlxfly/re-md)](https://repl.it/github/Rlxfly/re-md)\n\n#### Heroku Buildpack\n| BuildPack | LINK |\n|--------|--------|\n| **FFMPEG** |[here](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest) |\n| **IMAGEMAGICK** | [here](https://github.com/bogini/heroku-buildpack-graphicsmagick) |\n\n### FOR TERMUX USER\n1. Type mentioned below given commands one by one in Termux.\n```sh\n$ pkg upgrade \u0026\u0026 pkg update\n$ pkg install git -y\n$ pkg install nodejs -y\n$ pkg install ffmpeg -y\n$ pkg install imagemagick -y\n$ git clone https://github.com/Rlxfly/re-md\n$ cd re-md\n$ npm i \n```\nIf error try using yarn instead of npm, see [here](https://github.com/BochilGaming/games-wabot/tree/multi-device#if-npm-install-failed--try--using-yarn-instead-of-npm)\n```sh\n$ node .\n```\n2. Wait for bot starting...\n3. Scan QR code from 2nd device. (Go to whatsapp \u003e Linked Devices \u003e Join `Multi Device Beta` \u003e Click on `link device`)\n4. Now your bot is ready to rock n roll.\n\n#### If npm install failed, try using yarn instead of npm\n```sh\n$ pkg install yarn -y\n$ yarn install\n```\n---------\n\n## INSTALL ON TERMUX WITH UBUNTU\n\n[ INSTALLING UBUNTU ]\n\n```bash\napt update \u0026\u0026 apt full-upgrade\napt install wget curl git proot-distro\nproot-distro install ubuntu\necho \"proot-distro login ubuntu\" \u003e $PREFIX/bin/ubuntu\nubuntu\n```\n---------\n\n[ INSTALLING REQUIRED PACKAGES ]\n\n```bash\nubuntu\napt update \u0026\u0026 apt full-upgrade\napt install wget curl git ffmpeg imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev dbus-x11 ffmpeg2theora ffmpegfs ffmpegthumbnailer ffmpegthumbnailer-dbg ffmpegthumbs libavcodec-dev libavcodec-extra libavcodec-extra58 libavdevice-dev libavdevice58 libavfilter-dev libavfilter-extra libavfilter-extra7 libavformat-dev libavformat58 libavifile-0.7-bin libavifile-0.7-common libavifile-0.7c2 libavresample-dev libavresample4 libavutil-dev libavutil56 libpostproc-dev libpostproc55 graphicsmagick graphicsmagick-dbg graphicsmagick-imagemagick-compat graphicsmagick-libmagick-dev-compat groff imagemagick-6.q16hdri imagemagick-common libchart-gnuplot-perl libgraphics-magick-perl libgraphicsmagick++-q16-12 libgraphicsmagick++1-dev\n```\n\n---------\n\n[ INSTALLING NODEJS ]\n\n```bash\nubuntu\ncurl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -\napt install -y nodejs gcc g++ make\ngit clone https://github.com/Rlxfly/re-md\ncd re-md\nnpm install\nnpm update\n```\n\n---------\n\n## FOR WINDOWS/VPS/RDP USER\n\n* Download And Install Git [`Click Here`](https://git-scm.com/downloads)\n* Download And Install NodeJS [`Click Here`](https://nodejs.org/en/download)\n* Download And Install FFmpeg [`Click Here`](https://ffmpeg.org/download.html) (**Don't Forget Add FFmpeg to PATH enviroment variables**)\n* Download And Install ImageMagick [`Click Here`](https://imagemagick.org/script/download.php)\n\n```bash\ngit clone https://github.com/Rlxfly/re-md\ncd re-md\nnpm install\nnpm update\n```\n\n---------\n\n## Run\n\n```bash\nnode .\n```\n\n---------\n\n## Arguments `node . [--options] [\u003csession name\u003e]`\n\n### `--self`\n\nActivate self mode (Ignores other)\n\n### `--pconly`\n\nIf that chat not from private bot, bot will ignore\n\n### `--gconly`\n\nIf that chat not from group, bot will ignore\n\n### `--swonly`\n\nIf that chat not from status, bot will ignore\n\n### `--prefix \u003cprefixes\u003e`\n\n* `prefixes` are seperated by each character\nSet prefix\n\n### `--server`\n\nUsed for [heroku](https://heroku.com/) or scan through website\n\n### `--restrict`\n\nEnables restricted plugins (which can lead your number to be **banned** if used too often)\n\n* Group Administration `add, kick`\n\n### `--img`\n\nEnable image inspector through terminal\n\n### `--autoread`\n\nIf enabled, all incoming messages will be marked as read\n\n### `--autocleartmp`\n\nIf enabled, **tmp* folder contain files will be auto delete\n\n### `--nyimak`\n\nNo bot, just print received messages and add users to database\n\n### `--test`\n\n**Development** Testing Mode\n\n### `--db`\n\npass mongodb url or cloud url to connect to database, by the default it will connect to database.json\n\n---------\n\n## FAQ\n- How to send button image?\n```js\n// Syntax\nconn.sendButton(\n      jid, // jid of the user to send the message to\n      text, // text to send\n      foooter, // footer to send\n      buffer, // buffer to send (optional), if you want to send button image, location, etc\n      buttons, // buttons to send, example [['text1', 'id1'], ['text2', 'id2']]\n      quoted, // quoted message to send (optional)\n      options // options to send, example { asLocation: true }\n)\n\n// example \nconn.sendButton(m.chat, 'Hello world!', 'Re-', null, [\n      ['Hello', 'hello'], ['Bye', 'bye']\n])\n// example button location\nconn.sendButton(m.chat, 'Hello world!', 'Re-', 'https://github.com/Rlxfly', \n      [['Hello', 'hello'], ['Bye', 'bye']], \n      null, { asLocation: true }\n)\n```\n\n- Why my plugins not working in this multi-device?\n      \n\u003e Please cek syntax error on your plugins. and maybe your script still using CJS\n\u003e This multi-device script use ESM and CJS [(legacy code)](https://github.com/BochilGaming/games-wabot/tree/main) not support yet. Learn more about [ESM](https://nodejs.org/api/esm.html)\n\n- How to delete session?\n\n\u003e You can delete folder `sessions` or run command ```rm -rf sessions```\n\n- Why i can't scan qr code?\n\n\u003e if your error like this ```(node:7016) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The \"key\" argument must be of type string or an instance of Buffer, TypedArray, DataView, or KeyObject. Received undefined``` you can use [multi-device branch](https://github.com/BochilGaming/games-wabot/tree/multi-device)\n\n- How to change owner number?\n\n\u003e You can change in `config.js`, on global.owner. make sure you use correct syntax.\n```js\nglobal.owner = [\n  ['6288888888888', 'Name', true]\n]\n```\n\u003e First argument on array is number like `6288888888888`, second argument is name like `Name` (if this argument pass, if using `owner` command, this number will send as owner), third argument is developer like `true` (if this argument pass, if there have plugins error (not syntax error) the error will send to developer)\n---------\n\n### want to contribute?\n1. fork this repository\n2. Change/edit/create what you want. for example you can add features, fix bug, etc\n3. **test** before making a pull req!!\n4. make a pull req!\n5. if your pull req is already in **acc/merge**, you can delete your branch or you can create pull req again :)\n\n---------\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRlxfly%2Fre-md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRlxfly%2Fre-md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRlxfly%2Fre-md/lists"}