TgWitness / Documentation

Documentation / 01

Work the archive

Find the message. Check the source. Build the case.

These tools are available from the current main branch. The 0.7.0 portable preview predates them; use a source checkout for this workflow.

01Bring in the history

Load past messages from your enabled sources into the workspace.

02Follow the sources

Search the archive and open the saved message behind each result.

03Keep the handoff clear

Save your analysis separately and export the signed evidence beside it.

Captured records, recognized text and analyst conclusions stay distinct.

Load past messages

  1. Open Sources, review the enabled chats and start observation.
  2. Choose Load full history. The run uses the source list selected at that moment.
  3. Use Pause history and Continue history as needed. After a restart, resume explicitly.
  4. Check the per-source result and attachment queue. Save the signed progress report with the evidence export.

This fills the workspace with available messages. A per-chat HTML/JSON export is a separate operation. History and recovery details.

  1. Open Ask the archive. Choose a workspace, chats and observation period.
  2. Search a phrase, domain or message ID. Open the matching record and its saved versions.
  3. For AI analysis, the administrator first configures a provider. Review Data sent to the model and uncheck unwanted excerpts before approving the request.
  4. Check the returned citations. Save the answer as a report and add your own revision or notes.

Search runs locally without AI. Analytical reports keep source references and revision history; they are separate from the signed journal. Provider setup and reports.

Choose the connection you need

TaskOpenSetup
Read selected chats from an AI clientIntegrations → MCPInstall the MCP extra, issue a scoped token and connect the client
Recognize text in saved mediaA media.saved record → Recognize attachmentSet up the local Docker worker and required language/model files
Send events to n8n or a SIEMIntegrations → Outgoing webhooksAdd a receiver, verify HMAC and deduplicate event IDs
Which access token goes where?

Panel access is for people reviewing the case. MCP connections get separate read-only archive tokens. A webhook receiver uses its own HMAC secret. None needs a Telegram session file.

Share panel access or configure an MCP client.

Hand over sources and conclusions

Keep the reviewed analytical report alongside the signed evidence ZIP. The report explains your reading of the sources; the ZIP lets a recipient check the saved record against an independently trusted fingerprint and checkpoint.

Export and verify · Work through a full investigation