mudslide
Reserved placeholder for WhatsApp (mudslide) helpers; currently only logs the call and exits with status 1
- Command:
/go/mudslide - Category: Messaging
- Required option: None
- Output: None (exit code 1)
- Last updated: 2026-11-20
On this page: Overview · Quick start · Syntax · Output · Troubleshooting · Details · See also
Overview
/go/mudslide is a placeholder for WhatsApp helpers built on mudslide, a command-line WhatsApp client for Node.js. In its current form it does no work. It:
- appends the call to
/var/log/go/mudslide.log - reads the server's operating system and public IP address
- exits immediately with status
1
Nothing is logged in to WhatsApp, and no message is sent. The script also holds a set of notes on the mudslide commands that were used while building it; they are listed under Manual mudslide reference.
[!NOTE] To send queued WhatsApp messages, use
send, not this command.
Quick start
There is nothing to run through /go/mudslide yet. To use WhatsApp from the command line today, run mudslide directly. See Manual mudslide reference.
Syntax
/go/mudslide [domain] [password]
The two arguments are stored in variables but never used, so they have no effect. The command takes no options.
Output
The command prints nothing. Its only visible results are the log line and the exit code.
| Outcome | What you get |
|---|---|
| Any call | A line appended to /var/log/go/mudslide.log, no output, and exit code 1. |
The non-zero exit code means scripts that call this command will treat it as failed.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
The command prints nothing and returns exit code 1 |
It is a placeholder. | Use send, or run mudslide directly as described below. |
| No WhatsApp message arrives after calling it | No sending code runs. | Same as above. |
npx mudslide fails with command not found or a Node.js error |
Node.js or mudslide is not installed. |
Install Node.js with nodejs, then npm install -g mudslide. |
Details
Manual mudslide reference
These commands come from the notes in the script. They are run directly in a shell, not through /go/mudslide. Replace <number> with a phone number in international format, with the country code and no + or leading zeros.
# Install mudslide
npm install -g mudslide
# Log in. The terminal shows a QR code to scan with the WhatsApp app
npx mudslide login
# Log in with a separate session folder for each WhatsApp number
npx mudslide login -c /whatsapp/<number>
# Show the logged-in account, or log out
npx mudslide me
npx mudslide me -c /whatsapp/<number>
npx mudslide logout
# Send a text message
npx mudslide send <number> 'Test'
npx mudslide send <number> 'Test' -c /whatsapp/<number>
# Send an image, with or without a caption
npx mudslide send-image <number> logo.png
npx mudslide send-image --caption 'Your text here' <number> image.png
# Send a file, an audio file, or a location (me = your own number)
npx mudslide send-file me test.json
npx mudslide send-file --type audio <group-id>@g.us music.mp3
npx mudslide send-location me 48.858222 2.2945
# List your groups, then send to one by its ID
npx mudslide groups
npx mudslide send <group-id>@g.us 'hello world'
# Turn a text file into a white 860x860 PNG with ImageMagick, to send as an image
convert -size 860x860 xc:white -font "FreeMono.ttf" -pointsize 8 -fill black -annotate +15-15 "@u.txt" u.png
Session data
By default mudslide keeps its login session in /root/.local/share/mudslide. The -c option sets a different folder, which lets one server keep several WhatsApp numbers logged in side by side, one folder per number (for example /whatsapp/<number>).
[!WARNING] The session folder holds the WhatsApp login. Anyone who can read it can send messages as that account, so keep it readable by root only.
What it does
- Appends the command line to
/var/log/go/mudslide.log. - Reads the OS name from
/usr/local/goadmio/linux/os.db. - Looks up the server's public IPv4 address with
checkip.amazonaws.com. - Stores the first two arguments as
DomainandPassword. - Runs
exit 1.
Everything after the first exit 1 in the script is unreachable. That includes the notes shown above and a second exit 1.
See also
| Command | Description |
|---|---|
send |
Send queued WhatsApp messages through logged-in devices |
nodejs |
Install the latest Node.js version on a GoAdmio server |
expire |
Check every hosted domain's registration and hosting expiry dates and notify by email and WhatsApp |
checkfirewall |
Check that ports 80, 443, 21, and 22 are open, and alert the administrator by email and WhatsApp |
cronjob |
Run your own daily, weekly, and monthly shell scripts, with email and WhatsApp notices |