OVL-MD-V2 is a WhatsApp bot whose session is a credential you paste into a dotenv file
OVL-MD-V2, développé par Ainz, est un bot WhatsApp multi-device performant, offrant de nombreuses fonctionnalités.
At a glance
- What is it?
- OVL-MD-V2 is a multi-device WhatsApp bot built on the Baileys library, deployed through pm2, a Dockerfile, or a GitHub Actions workflow that runs it as a long-lived job. The parts worth understanding before you run it are the session identifier, the deployment path that clones from GitHub at build time, and the fact that the readme is in French while your users are not.
- Who is it for?
- Use OVL-MD-V2 if you already understand what an unofficial WhatsApp client means for the number you connect and you want a feature-rich bot with a command tree rather than a script you write yourself, because the value here is the breadth of the command set rather than the architecture.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 70 days ago.
- What is it written in?
- Mainly JavaScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- Ainz-devs/OVL-MD-V22,214 ★ · +39
| Repository | 2026-09-30 | 2026-11-22 |
|---|---|---|
| Ainz-devs/OVL-MD-V2 | 2.2k | 2.2k |
39 Stars in the last 53 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
One entry file, an events directory, a command folder
The top-level listing describes the shape: a single entry point named for the project, an events directory, a cmd directory, a lib directory, a database directory, a setup file, an app.json, a heroku.yml, a Dockerfile and the package manifest. That is a conventional bot layout. The entry file is what the manifest's main field points to, the events directory holds the handlers that respond to incoming messages, the cmd directory holds command definitions, and the lib directory holds the shared plumbing such as the database client and configuration loading. The manifest is CommonJS and its three scripts are the whole command surface:
"scripts": {
"start": "pm2 start Ovl.js --attach --name ovl",
"stop": "pm2 stop all",
"Ovl": "node Ovl.js"
},So there are two ways to run the same thing, supervised or not, and the supervised one is what the deployment paths use. The description calls the project a multi-device WhatsApp bot, and the keyword list includes Baileys and a misspelling of multi-device, which is a fair summary of intent. What the layout does not include is a test directory, a lint configuration or a type-checking setup, so this is code you run and observe rather than code with an automated safety net around changes.
The dependency list tells you the feature set more clearly than the readme does
There is no feature list in the readme beyond the promise of many functions, so the dependency list is the specification. It is worth reading it as a map of what the bot can do. The Baileys package is the WhatsApp client itself, pinned to a release candidate. A translation API package and a text-to-speech package together suggest message translation and voice replies. A cloud audio recognition client suggests identifying a song from audio, which is a common WhatsApp use. Wikipedia and a web scraping pair suggest lookups and page fetching. A sticker formatter package and an image type detector suggest media handling, a ZIP library and a temporary file client suggest archive and file features, and a temporary mail client suggests the bot can hand out disposable addresses. Two database clients are declared at once, an ORM and a Postgres driver alongside a SQLite driver, which is unusual and matters: a deployment that expects persistence needs to know which store is in use. A logger, a dotenv loader, an HTTP server and a git client round out the operational layer, and pm2 sits in dependencies rather than devDependencies because the start script needs it at runtime. One entry is out of place: a JavaScript obfuscator is declared as a runtime dependency, which is a build-time tool, so either the shipped code is obfuscated or that dependency is unused.
The session identifier is the whole security question
The deployment steps in the readme are four, and step two is the one that matters. You fork the repository, you generate a session identifier, you create a database, and you pick a deployment method. The environment file example shows what goes in it, and the variables are the owner's number, a name, a prefix, a mode, the session identifier and sticker metadata. A session identifier in this ecosystem is a serialized authenticated device state for a WhatsApp account. Whoever holds it can act as that number. So the readme's step two, which is a button pointing at a hosted page, means the default path asks a stranger's website to hold your account credential. The readme does at least say to keep the session identifier somewhere secure, which tells you the author knows, but it does not explain what the page does with it, how long it is retained, or whether it is generated locally in your browser. If you proceed, the defensible path is to treat that button as untrusted and to find out whether the page generates the session client-side in your browser or posts it to a server. And when you do have a session, it belongs in your environment file, out of version control, and in a secret store on any platform that offers one. The one-click deploy links in the readme pre-fill environment variables, including an empty session field, which is the right shape.
The panel script clones, installs and supervises at runtime
For a VPS or panel, the readme supplies a script to save as the entry file on the host. It takes your environment file contents from a variable, refuses to continue if that is empty, then checks whether a project directory exists and clones the repository into it if not, writes the environment file if one is not there, and runs an install. It validates afterwards that the project manifest exists and that the dependency tree is sane, reinstalling if not. Then it launches the bot under pm2 with a process name, and here is the part worth reading twice. It watches the process output, resets a restart counter when it sees a line containing a connection or ready marker, and increments the counter when it sees a line containing restart. After more than three restarts it deletes the pm2 process and falls back to running node directly. The fallback itself has a crash counter, a limit of five crashes, and a reset delay of thirty seconds, so a bot that crashes repeatedly in a tight loop eventually stops trying to restart. That is a pragmatic supervisor for an environment where a long-lived WhatsApp connection drops, and it is also worth knowing that the restart heuristics key on log strings in two languages, so a change to log output silently changes the supervision behaviour.
The GitHub Actions path runs a daemon on an ephemeral runner
One of the deployment methods is a workflow file, and it is the most questionable of the options. The documented file triggers on pushes and pull requests to the main branch and on a schedule of every five minutes, runs on an ubuntu runner with a fixed Node 20 matrix, installs ffmpeg, installs dependencies, and then runs the bot under a timeout of 18,300 seconds, which is just over five hours. Several things follow from that. A cron-triggered long-running process is a way to keep a bot alive on a runner that is not designed for daemons: the filesystem is ephemeral, so state in the repository or in SQLite does not survive, and the workflow will be terminated at the timeout, having to start again on the next schedule. The 18,300 second timeout is just under the limit for a job, so the author has clearly thought about the boundary. A long job on a schedule also consumes a large share of the free minutes, which is why this pattern gets noticed and disabled. If you deploy this way, the database has to be remote, which explains why a Postgres client is declared alongside the SQLite one, and you should expect the bot to reconnect from scratch on every cycle. The Heroku and Render links are more conventional one-click templates, and the Koyeb link pre-fills a full set of environment variables and selects a Dockerfile build, which is the most complete of the offered paths.
The Dockerfile clones from GitHub instead of copying your checkout
The container build is short enough to read in full, and one line in it deserves attention:
FROM node:20-bookworm-slim
WORKDIR /ovl_bot
RUN npm install
EXPOSE 8000
CMD ["npm", "start"]The base image is a slim Node 20 Debian image with ffmpeg and git installed on top, and a preceding build step clones the repository from GitHub into a directory in the image. So the image does not copy your source. It fetches the default branch from the network at build time. That has three consequences. The image content is whatever the branch contained at the moment of the build, which means a build is not reproducible and an image built by a third party from a fork will contain the upstream code rather than your modifications. Builds require network access and a git client, so a hermetic build is not possible. And if you have made local changes, they are not in the image, whatever the surrounding instructions imply. For a project distributed as a fork-first workflow, which is what the readme asks you to do, that is a meaningful gap. The exposed port also deserves a question: an HTTP server is among the dependencies, and the readme never says what listens on that port or what it serves. If your bot has a local web interface, exposing it on a public platform means it is reachable, so check what it serves and whether it authenticates before you deploy.
Maintenance, documentation language, and the cost of the unofficial client
The practical facts: MIT licence, manifest version 2.1.3, no GitHub releases published, and a last push on 2026-09-13, so the code is being worked on even though there is no release history to read before upgrading. The homepage is a deployed application rather than a documentation site, which for a project where that application generates session identifiers is a little circular. The readme is written in French, and so is the project description, so if your users are not French speakers you own the translation of the command names and messages yourself. The cost that dominates everything else is the client choice. Baileys is an unofficial WhatsApp client, the dependency is a release candidate rather than a stable version, and automated operation of WhatsApp is outside what the platform sanctions. That does not make the code bad, and it does make the connected number the fragile part of the deployment: a number that gets restricted loses the bot and the account with it. If you need reliability, plan for reconnection, keep state external, and treat the number as the expendable component rather than the bot.
Editorial conclusion
Use OVL-MD-V2 if you already understand what an unofficial WhatsApp client means for the number you connect and you want a feature-rich bot with a command tree rather than a script you write yourself, because the value here is the breadth of the command set rather than the architecture. Do not connect a number you cannot afford to lose, since Baileys is an unofficial client and automated use sits outside what WhatsApp sanctions, and do not paste your session identifier into a third-party website on the strength of a readme button, because that identifier is the account. Three things to verify first. Where the session identifier comes from, and whether you trust that source with a phone-number-linked credential. What the build actually pulls, because the Dockerfile clones the repository from GitHub during the build rather than copying a source snapshot, so an image built today contains whatever the default branch holds today. And where state is kept, because both a Postgres client and a SQLite driver are declared while a database directory sits in the repository, and a bot that loses its session store between restarts will look broken rather than misconfigured. The licence is MIT, the manifest reads version 2.1.3, the last push was on 2026-09-13, and the repository publishes no GitHub releases.
Frequently asked questions
How do I deploy OVL-MD-V2?
The readme offers four methods: one-click deploy buttons for Heroku, Render and Koyeb, a VPS or panel approach where you save a supplied script as index.js or main.js on the host, and a GitHub Actions workflow file. The container build clones the repository from GitHub during the build and exposes port 8000.
What does the OVL-MD-V2 environment file contain?
The readme's example shows an owner number, an owner name, a prefix, a mode, the session identifier, and sticker package and author names. The one-click deploy links pre-fill the same variables with an empty session field.
Which WhatsApp client library does the bot use?
The package manifest declares the Baileys Web API package at a release candidate version, described in the readme badge as the client in use. Baileys is an unofficial client, so connecting a number to it carries the risk of that number being restricted.
What database does OVL-MD-V2 use?
The manifest declares an ORM, a Postgres driver and a SQLite driver together, and the repository has a database directory. The readme offers Supabase as a database option, and the GitHub Actions path implies remote storage because the runner filesystem is not persistent.
What licence is OVL-MD-V2 released under?
MIT. The manifest reads version 2.1.3, the repository publishes no GitHub releases, and the last push to the main branch was on 2026-09-13.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/ainz-devs-ovl-md-v2)Star history chart for your README
[](https://hysenlabs.com/projects/ainz-devs-ovl-md-v2)Was this useful?