Repository navigation
Getting Started
01 · START HERE · All guides · Get help
On this page
Download and extract the source archive or clone the project. Portable packages become available after a release has been published.
| Method | Start | Requirements |
|---|---|---|
| Windows source | Double-click Start.cmd
|
Python 3.11+; the launcher offers installation if missing |
| Linux / macOS source | sh start.sh |
Python 3.11+ with venv
|
| Windows portable | Extract the entire ZIP; open TgWitness.cmd
|
Embedded Python is included |
| Docker |
scripts\Docker.cmd on Windows; sh scripts/docker-start.sh elsewhere |
Docker with Compose 2.20+ |
The source launcher creates a private .venv and installs dependencies. Keep the native application's console open while collecting. Docker runs in the background.
For source installations, run scripts\Demo.cmd on Windows or:
sh start.sh --demoThe portable equivalent is TgWitness-Demo.cmd. Open http://127.0.0.1:8787. Direct local access to this isolated demo opens automatically with fictional conversations.
Look at Chats, Journal and Exports. Try the language and theme controls. Press Ctrl+K or ⌘K to find a section.
Stop the demo before starting the live application on the same port. Run Start.cmd, sh start.sh or TgWitness.cmd.
| Installation | Panel token |
|---|---|
| Source or portable, default live directory | data/live/panel-token.txt |
| Source or portable with a custom data directory |
panel-token.txt inside that directory |
| Docker | docker compose exec tgwitness cat /data/panel-token.txt |
Open the panel and enter its token. Follow Accounts, then Collection. Native and Docker installations use separate data stores.
From the source folder:
python start.py --check --jsonThis checks local prerequisites without connecting to Telegram. If the environment has not been created, run python start.py --setup-only first. To test another port, add --port 8791.
Commands elsewhere in this wiki that begin with python -m tgwitness require the installed project environment. Activate .venv, or use .venv\Scripts\python.exe on Windows / .venv/bin/python on Linux and macOS.
Next: Connect an account · Troubleshooting · Complete quick start
01 · Connect and capture
02 · Investigate and export
- Export one chat
- Investigations
- Case Board
- Report studio
- Archive, AI and integrations
- Exports and verification
03 · Independent checks
04 · Run and protect
05 · Find an answer
Project and author