๐ฎ๐ฉ Indonesia ยท ๐ฌ๐ง English
Bot WhatsApp otomatis berbasis Python yang menandai status WhatsApp kontak sebagai "sudah dibaca" secara real-time menggunakan Neonize โ Python wrapper untuk whatsmeow.
Disclaimer: Proyek ini bukan produk resmi WhatsApp/Meta. Gunakan dengan bijak dan sesuai ketentuan layanan WhatsApp.
| Fitur | Keterangan |
|---|---|
| ๐๏ธ Auto-read status | Menandai status WhatsApp sebagai dibaca secara otomatis |
| โก Neonize + whatsmeow | Koneksi stabil berbasis Go bridge |
| ๐ Pairing Code | Login via kode โ tanpa scan QR |
| ๐๏ธ SQLite | Sesi login tersimpan, tidak perlu pairing ulang |
| ๐ uv | Setup cepat tanpa ribet virtual environment manual |
| ๐ PM2 Ready | Log bersih dengan flush=True, siap dijalankan via PM2 |
wsr-py/
โโโ main.py # Entry point bot
โโโ db.sqlite3 # Database sesi (dibuat otomatis)
โโโ pyproject.toml # Konfigurasi project & dependensi
โโโ uv.lock # Lockfile dependensi
โโโ .python-version # Versi Python
โโโ .gitignore
โโโ README.md
db.sqlite3sudah masuk.gitignoreโ sesi login tidak akan ikut ter-commit.
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | shgit clone https://github.com/irwanx/whatsapp-status-reader.git
cd whatsapp-status-readeruv syncSalin file .env.example ke .env dan sesuaikan konfigurasinya:
Windows (PowerShell):
cp .env.example .envmacOS / Linux:
cp .env.example .envBuka file .env dan atur nilai reaksinya jika diperlukan:
# Mengaktifkan/nonaktifkan reaksi status (true untuk aktif, false untuk mati)
REACTION_ENABLED=true
# Emoji yang digunakan untuk reaksi status (contoh: โค๏ธ, ๐, ๐ฎ, ๐ข, ๐, ๐)
REACTION_EMOJI=โค๏ธuv run main.pyPertama kali run โ bot akan meminta nomor HP:
Masukkan nomor HP (contoh: 628123456789): 628123456789
[19:04:26] ๐ฑ Pair code: ABCD-1234
Masukkan kode tersebut di WhatsApp: Setelan โ Perangkat Tertaut โ Tautkan Perangkat.
Setelah berhasil:
[19:04:48] ๐ Logged as 628123456789
[19:04:55] ๐๏ธ Status dari 628987654321 ditandai dibaca
Run berikutnya โ bot langsung konek tanpa pairing ulang.
Cocok untuk server/VPS agar bot berjalan terus di background.
npm install -g pm2Pastikan sudah pairing dulu (
uv run main.py) sebelum pakai PM2, karena PM2 tidak bisa menerima input interaktif.
pm2 start "uv run main.py" --name wsr-botpm2 logs wsr-bot # lihat log real-time
pm2 status # cek status bot
pm2 restart wsr-bot # restart bot
pm2 stop wsr-bot # stop bot
pm2 startup # auto-start saat server reboot
pm2 save # simpan konfigurasi PM2- Fork repositori ini
- Buat branch baru:
git checkout -b feat/nama-fitur - Commit:
git commit -m "feat: tambah fitur X" - Push:
git push origin feat/nama-fitur - Buat Pull Request
A Python-based WhatsApp bot that automatically marks WhatsApp statuses as "read" in real-time using Neonize, a Python wrapper for whatsmeow.
Disclaimer: This is not an official WhatsApp/Meta product. Use responsibly and in accordance with WhatsApp's Terms of Service.
| Feature | Description |
|---|---|
| ๐๏ธ Auto-read status | Automatically marks WhatsApp statuses as read |
| โก Neonize + whatsmeow | Stable connection via Go bridge |
| ๐ Pairing Code | Login via code โ no QR scan needed |
| ๐๏ธ SQLite | Session persists, no re-pairing needed |
| ๐ uv | Fast setup without manual venv hassle |
| ๐ PM2 Ready | Clean logs with flush=True, ready for PM2 |
wsr-py/
โโโ main.py # Bot entry point
โโโ db.sqlite3 # Session database (auto-created)
โโโ pyproject.toml # Project config & dependencies
โโโ uv.lock # Dependency lockfile
โโโ .python-version # Python version pin
โโโ .gitignore
โโโ README.md
- Clone the repository:
git clone https://github.com/irwanx/whatsapp-status-reader.git
cd whatsapp-status-reader- Install dependencies:
uv sync- Configure
.envfile: Copy.env.exampleto.envand set your preferred configurations:
cp .env.example .envOpen .env and adjust the variables:
# Enable/disable status reaction (true/false)
REACTION_ENABLED=true
# Emoji to use for status reaction
REACTION_EMOJI=โค๏ธ- Run the bot:
uv run main.pyOn first run, enter your phone number (628xxxxxxxx) and enter the pairing code in WhatsApp: Settings โ Linked Devices โ Link a Device.
Subsequent runs will reuse the saved session automatically.
Pair your account first (
uv run main.py) before using PM2, since PM2 can't handle interactive input.
npm install -g pm2
pm2 start "uv run main.py" --name wsr-bot
pm2 logs wsr-bot
pm2 startup && pm2 save