概要
WhatsAppスパイツール — 世界中の誰であってもオンライン/オフラインのイベントを記録
セキュリティ・プライバシーできること
- PyPI install: pip install whatsapp-osint gets you the package fast.
- One-command installer: clone, create a local .venv, install the package, and verify the browser setup.
- Best-effort Linux bootstrap: if Git, Python, or Chrome/Chromium are missing, the installer will try to install them with sudo.
- Automated browser driver resolution: Selenium Manager handles matching drivers, with manual override flags if you need them.
計測したスター増加
- 24時間
- +3
- 7日間
- +4
- 15日間
- +15
- 1か月
- +34
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル🕵️♂️ WhatsApp Beacon (OSINT Tracker)
WhatsApp Beacon tracks when specific WhatsApp contacts go online and stores every completed session in SQLite. It can export to Excel, generate a polished analytics dashboard, and run fully headless once the session is authenticated.
View Interactive Presentation | Animated overview of the project
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Disclaimer: This tool is for educational and research purposes only. Do not use it for stalking or any illegal activities.
✨ Features
- PyPI install:
pip install whatsapp-osintgets you the package fast. - One-command installer: clone, create a local
.venv, install the package, and verify the browser setup. - Best-effort Linux bootstrap: if Git, Python, or Chrome/Chromium are missing, the installer will try to install them with
sudo. - Automated browser driver resolution: Selenium Manager handles matching drivers, with manual override flags if you need them.
- Headless tracking: authenticate once, then run quietly in the background.
- SQLite session history: every finished online session is stored locally.
- Presence intelligence: while tracking, the tool passively records WhatsApp's rich status signals — "online", "last seen today/yesterday at HH:MM", "last seen on <date>", "typing…" — so you keep evidence of when a contact was last active even between sessions.
- Excel export: turn the database into
History_wp.xlsx(sessions + presence worksheets). - JSON export: dump sessions + presence to JSON for pipelines.
--last-seenCLI: query the latest presence evidence per contact with no browser needed.- Advanced analytics dashboard: generate a static HTML report with filters, heatmaps, leaderboards, per-contact regularity scores, recent-session views, and a presence trail.
🚀 Installation
Install from PyPI
python3 -m pip install whatsapp-osint
The package installs 2 equivalent entry points:
whatsapp-osintwhatsapp-beacon
One-click installer from GitHub
curl -fsSL https://raw.githubusercontent.com/jasperan/whatsapp-osint/master/install.sh | bash
What it does:
- clones or updates the repo into
./whatsapp-osint - creates
./whatsapp-osint/.venv - installs the package and the
whatsapp-beaconcommand - on Linux, uses
sudowhen needed to install missing system packages and Chrome/Chromium - verifies that a browser binary is available before it finishes
If you want a custom location:
PROJECT_DIR=/opt/whatsapp-osint curl -fsSL https://raw.githubusercontent.com/jasperan/whatsapp-osint/master/install.sh | bash
Manual / development install
Use this only if you explicitly want to manage setup yourself.
Requires uv.
git clone https://github.com/jasperan/whatsapp-osint.git
cd whatsapp-osint
uv sync # creates .venv with the package and the dev tools
uv run pytest # run the test suite
uv run whatsapp-beacon --help
Install with OTinstaller (Linux)
OTinstaller is a third-party tool manager that installs the PyPI release into its own virtualenv. It isn't maintained here, so please report problems with it on the OTinstaller tracker. Chrome or Chromium is still needed.
pipx install otinstaller
otinstaller init
otinstaller install whatsapp-osint
otinstaller run whatsapp-osint -- -u "John Doe" # same as whatsapp-beacon -u "John Doe"
▶️ Run it
If you installed from PyPI:
whatsapp-osint -u "John Doe"
whatsapp-osint and whatsapp-beacon run the same CLI. The rest of the examples keep using whatsapp-beacon.
If you used the GitHub installer:
cd whatsapp-osint
source .venv/bin/activate
whatsapp-beacon -u "John Doe"
If you do not want to activate the venv first:
./whatsapp-osint/.venv/bin/whatsapp-beacon -u "John Doe"
First run
The first run must authenticate with WhatsApp Web.
- Non-headless is the easiest path. Scan the QR code once, then the saved browser profile will be reused.
- Headless also works. If the session is not authenticated yet, the tool will save a QR screenshot to
qrcode.png.
Example:
whatsapp-beacon -u "Maria" --headless
📊 Advanced analytics
Generate a static HTML dashboard from the collected SQLite history:
whatsapp-beacon --analytics
By default, the report is written to:
analytics/index.html
Custom output path:
whatsapp-beacon --analytics --analytics-output reports/contact-dashboard.html
Once generated, open it in your browser:
xdg-open analytics/index.html
# or on macOS
open analytics/index.html
The dashboard includes:
- top-level KPIs
- per-contact leaderboard with last-seen evidence and a schedule-regularity score (0-100)
- daily online-time bars
- weekday/hour heatmap
- duration distribution
- recent sessions and longest sessions tables
- a presence trail panel showing every recorded presence signal
- live filtering by contact inside the page
👁️ Presence intelligence
Beyond online/offline blocks, the tracker records the status text WhatsApp shows for a contact ("online", "last seen today at 14:32", "last seen yesterday at 21:05", "last seen on 12/31/2025 at 23:59", "typing…"). This fills the gaps between sessions with actionable evidence.
Query the latest evidence per contact without launching a browser:
# All contacts
whatsapp-beacon --last-seen
# Single contact
whatsapp-beacon -u "Maria" --last-seen
Export everything to JSON for your own tooling:
whatsapp-beacon --export-json export.json
The JSON contains sessions (per-session online blocks) and presence (per-observation status signals with parsed last_seen timestamps).
The Excel export (--excel) also gains a Presence worksheet alongside the session history.
🖼️ Screenshots
First-run WhatsApp Web authentication flow

Advanced analytics dashboard overview
Captured from a demo dataset generated through the built-in analytics exporter.

Advanced analytics dashboard filtered to a single contact
Same dashboard, narrowed to one contact to show the live filter state.

⚙️ Command line arguments
| Argument | Description | Default |
|---|---|---|
-u, --username |
Exact WhatsApp contact name to track. | Required for tracking |
-l, --language |
WhatsApp Web UI language: en, es, de, fr, it, pt, cat or tr. |
en |
-e, --excel |
Export the database to History_wp.xlsx. Without -u it exports and exits (no browser needed); with -u it exports, then starts tracking. |
False |
--headless |
Run without a visible browser window. | False |
--chrome-driver-path |
Explicit path to chromedriver. |
Auto-detect |
--chrome-binary-path |
Explicit path to Chrome or Chromium. | Auto-detect |
--analytics |
Generate the analytics dashboard and exit. | False |
--analytics-output |
Output path for the analytics HTML report. | analytics/index.html |
--export-json |
Export sessions + presence to a JSON file and exit (no browser needed). | Off |
--last-seen |
Print the latest presence signal per contact and exit (no browser needed). | False |
--config |
Path to a custom config file. | config.yaml |
⚙️ Configuration
You can keep defaults in config.yaml:
username: "Target Name"
language: "en"
headless: false
excel: false
log_level: "INFO"
data_dir: "data"
chrome_driver_path: null
chrome_binary_path: null
Command-line flags override the file. Only Chrome/Chromium is supported.
📦 Output
- Logs:
logs/whatsapp_beacon.log - Database:
data/victims_logs.db - Excel export:
History_wp.xlsx - Analytics report:
analytics/index.htmlby default - Saved WhatsApp profile:
data/chrome_profile
🔧 Troubleshooting
cannot find Chrome binary
The installer now tries to fix this automatically on Linux. If your distro keeps the browser in a weird place, launch with an explicit path:
whatsapp-beacon -u "John Doe" --chrome-binary-path /full/path/to/browser
Useful checks:
which google-chrome google-chrome-stable chromium chromium-browser
whatsapp-beacon --help
Username is required
Tracking mode needs a contact name:
whatsapp-beacon -u "John Doe"
Analytics mode does not:
whatsapp-beacon --analytics
🤝 Contributing
Contributions are welcome. Fork it, build what you need, and send a PR.
📜 License
Distributed under the MIT License. See LICENSE for more information.
🙌 Credits
Original concept developed in 2019. Revamped in 2025 for better performance and usability.
関連プロジェクトを探す
読み込み中…





