Export a chat by link
Choose a Telegram chat and review the export plan before starting.
Checking briefly uses one permitted account. Starting an export requires a separate click.
YOUR TELEGRAM OBSERVATION WORKSPACE
Preserve captured messages, follow their edits, and take a signed history with you. Your accounts. Your infrastructure.
Self-hosted. No telemetry. You control the data.
Paste your panel access token to continue.
GitHub Actions capture (preview)Find it in data/live/panel-token.txt.
Demo mode uses data/demo/panel-token.txt.
For a custom directory, follow the path printed at startup.
Sign in, choose your sources, then start observation.
Accounts, what each one is doing now and what you can start next.
Choose a Telegram chat and review the export plan before starting.
Checking briefly uses one permitted account. Starting an export requires a separate click.
Download the chats and history your account can read now. Choose dates, messages and files before starting.
Keep new messages, observed edits and deletion notices from the chats you choose.
Previously saved records stay available when observation is paused.
Pick a goal and we suggest the settings. It takes a minute, and everything can be changed later under Extras.
Captured messages. Preserved changes. One record.
| Event / observation | Source | Observed | Open |
|---|
Connect an account, choose your sources, then start observation.
Choose the conversations to record and what to keep.
Read the chats and folders available to this account. This refreshes the list; it does not download messages.
| Source | Type | Status | Priority | Actions |
|---|
History loads in the background. Keep observation on to preserve new messages, edits and deletion notices as they arrive.
Load the available history of every enabled source into Chats and the signed journal. Progress survives a restart. Attachments follow your media settings. Past deletions and edits are only available when Telegram returns them in Recent Actions.
For a separate archive of the account's current history, use Exports → Telegram account. Whole-account scope discovers all accessible dialogs before this run starts, including archived chats. Each chat has its own resumable cursor.
Use Export evidence to hand over the journal and saved attachments. Attachments waiting to be saved are counted separately from history reads.
Telegram end-to-end chats of this account, kept in the journal
Telegram keeps these chats on one device only. TgWitness takes part with this account's own authorization and records every message, timer and deletion notice in the signed journal, also after the other side deletes them. It sends read receipts and the typing status only as chosen under What the other side sees, and never sends screenshot notices. A file is saved when attachment downloads are on and its size and free disk space allow; until then it stays queued, and each deferred or failed download is recorded.
An accepted chat moves to TgWitness: this account's other devices, such as the phone, do not get it. Without this option a request waits here for your decision. While pseudo-secret is on, the account stays connected so messages arrive.
Choose a fresh Telegram snapshot or the observations already saved here.
Collection uses the connection configured for the selected account or recorder.
Open the outer ZIP with your password first. Send the password through a separate channel.
Save the chats this account can read, including Saved Messages and archived chats, with optional media and account data. TgWitness signs this archive with the collector key. It reads the history Telegram returns now; live recording keeps earlier versions and deletion notices.
Journal, report, attachments and verification tools.
Includes all sources through a fixed journal boundary, regardless of filters. Streaming export · ZIP limit: 4 GiB uncompressed unless changed in Parameters.This browser cannot write a download to disk as it arrives. A file over 2 GiB is not kept for a second download: download such a file in Chrome or Edge, or with the command line under Large downloads & verification.
Only the chats, period and people the recipient needs. Everyone else can be shown, pseudonymised or left out; text, files and profile photos have their own switches. The purpose and the rules are signed into the extract and recorded in the journal.
Encryption wraps the unchanged signed file. The password is not stored; without it the file cannot be opened.
Prepared files stay on this machine for repeat downloads: up to 20 files within 2 GiB, always including the latest file if it fits in 2 GiB. A larger file is not kept: save it during its first download. SHA-256 identifies the exact file.
Every evidence package made in this workspace, with its digests, what it covers, its last check and the package it repeats. A check reads the saved copy and never changes the signed package.
Automatic timestamps and an encrypted off-site copy: Extras → Evidence that holds up.
Workspace ID: default · Large downloads & verification
Ed25519 · SHA-256 public-key fingerprint
Retain this fingerprint and signed checkpoints outside the collector. A self-contained archive can verify its internal consistency; independently retained records help detect replacement or truncation.
The signed journal records program hashes, dependency versions, starting scope, account, settings, run identifier, and periodic heartbeats. Local checkpoints are saved at startup, every five minutes while observing (changeable in Parameters), and on orderly stop.
This is a collector-signed process record. Copy checkpoints to a separately controlled location: a checkpoint retained there binds the journal independently.
Prepare an RFC 3161 request for a signed checkpoint. Submit it to a timestamp authority you trust, then verify its response against independently obtained CA certificates.
No external service is contacted by this button. A prepared request is not a timestamp proof. The package includes instructions for checking a TSA response with OpenSSL.
Evidence is what a recipient verifies with verify.py and the collector fingerprint. Everything else supports it and cites the records it rests on.
Messages, edit versions, deletion notices, reactions and membership events, each signed at capture and chained to the previous record.
Saved files, bound by their SHA-256 to the signed record that names them.
Evidence ZIP, chat export, account export and handover extract: the manifest signature covers the hash of every file.
Checkpoints retained by another party, witness records, RFC 3161 and OpenTimestamps receipts, and attested collection runs.
AI summaries, dossiers, charts, indicators and device hints are derived from records. Cite the record each statement rests on.
Case details, notes, Case Board comments and handover notes are the operator's statements; a signed report preserves them as written.
Message numbers not observed and messages missing on recheck are gaps in observation, not deletion notices.
HTML and PDF views and website demos are for reading. Verify the signed ZIP.
All three required conditions, covering the last exported record. verify.py prints the same groups.
verify.py checks every signature, the record chain and all file hashes.
The recipient compares the collector fingerprint with a copy received separately.
A third party dates the last exported record: a verified RFC 3161 or OpenTimestamps receipt, a witness post read from t.me, a witness Bitcoin seal or a checked GitHub attestation.
A second key retained the journal head. Who holds that key is shown by the custodian's key-control record, kept with its fingerprint.
A checkpoint the recipient received earlier, through another channel, shows that the records up to it were not changed afterwards.
A GitHub Actions run or an Intel TDX deployment shows that the signing key was created inside the attested collection run.
python verify.py evidence.zip --fingerprint TRUSTED_SHA256 --tsa-ca TSA-ROOT.pem --require evidence
Each edit Telegram delivers is a new signed version next to the earlier ones.
A deletion is a separate notice next to the saved content. The chat's admin log, read by an admin account, names the deleting administrator.
Counts, recent reactors, service messages and participant updates are recorded as Telegram shows them to this account.
Starts, stops, disconnects and heartbeats are recorded, and every report lists the gaps. Observed times come from the collector clock; timestamps and witness records bind the journal to outside time.
Timestamps show the journal existed at a given time; an off-site copy keeps it if this machine is lost or seized.
Choose a service, fill in one or two fields and send a test.
Choose where the workspace runs. You own the cloud account and pay the provider directly. The panel opens through an HTTPS tunnel.
Intel TDX isolates the virtual machine's memory from the host. Hardware attestation lets the verifier compare its measured environment with the expected configuration and code.
This adds a check on the collector's environment. Deployment, verification and the sealed attestation certificate have run on Phala Cloud itself.
This panel is reached over a network, so it does not take cloud tokens. Create servers from TgWitness on your own computer, or run the commands below.
Keep TgWitness running on this computer until the end. Closing this tab does not stop the task.
Run these in a terminal on your own computer, with TgWitness installed. Provider and Cloudflare tokens are read from files there.
Tokens, costs and what the check proves ↗Record a separate browser session or preserve AyuGram database snapshots with their own signing keys.
Separate recorders · manual login · video optional
Back up the workspace, move older files to your cloud, or retain an immutable evidence copy.
Four short questions: we suggest settings for your goal and show how far the record can be trusted.
Problems, deleted and edited messages and a daily summary in Telegram, Discord, email or another service.
A bot, a webhook or a mailbox
Anchor checkpoints and keep an encrypted off-site copy of the journal and files.
Timestamps work at once · the copy needs S3 storage
Collect around the clock on a cloud server without SSH, with a provider log anyone can check.
Hetzner, DigitalOcean, Linode, Vultr, AWS or your own server + Cloudflare
Publish signed checks to your Telegram channel or Discord. A separate witness checks continuity without reading conversations.
Your bot + a channel + a witness host
Compare the running program with a public Git commit and retain the result.
A public GitHub repository · no token
Connect recorders you control. Sign in to each client manually, then start capture. Pause before entering passwords or login codes.
Both connections start disabled. Closing this panel does not stop a recorder. Each recorder starts paused after a restart.
Deploy the optional containers first, then copy each recorder's control token and key fingerprint into its connection settings. These control requests use the address you supply directly; the recorder's collection proxy is configured separately.
Browser capture saves screenshots, MHTML and extracted text on detected changes and at intervals. It can miss changes between observations. AyuGram capture preserves a local SQLite database; it does not yet interpret message edits or deletions. Video is optional and starts only with capture enabled.
The panel verifies signed checkpoints and original ZIP exports against the pinned recorder key. Keep checkpoints or witness receipts on a separate host.
Choose a purpose first, then your own destination. Nothing uploads until you save the settings or start a copy.
Enable Object Lock in the bucket first. Compliance mode cannot be shortened by the bucket owner; Governance can be bypassed by an authorized administrator. Choose 30 days or your required period below. Storage billing rules are separate from this protection.
Identical saved files can share one copy on disk. Choose which workspaces may share copies with this one; saved files and their SHA-256 do not change.
Answer four short questions. We suggest settings, say what each one adds and show it on two scales. Nothing changes until you apply.
A separate witness checks the journal and your bot publishes the result.
Create an access token for this account. It cannot read conversations or control collection.
Create your bot with @BotFather and allow it to post in your channel.
The saved configuration is a setup file. Run it on the witness host to begin checks and publication.
On the witness host, save the read-only token in witness-token.txt. For Telegram, save the BotFather token in bot-token.txt; for Discord, the webhook URL in discord-webhook.txt. Keep these files next to witness.json. Publishing credentials stay on the witness host.
Keep the witness key fingerprint separately. The first signed post in your channel confirms that the bot is running.
Run the witness on another host, ideally with another operator. Its bot token and signing key stay there. The bot is the publisher; the separate witness process performs verification.
You need a Telegram bot (create one with @BotFather) that is an administrator of a channel, and this panel's address reachable from the witness — over HTTPS outside a private network. Any Telegram account can watch the channel; its posts carry Telegram's own times.
A running witness records missing or invalid collector answers. Verification compares retained checkpoints with the full export and detects missing or invalid signed posts in a channel export. Witness downtime and posting failures leave intervals without external anchors; the posts that were made anchor the journal head at the moment each one was published.
How often it checks, how long it waits, which checks it posts (all, only a new head or a problem, only problems) and the words of its posts are options of the witness itself: on its command line, in its environment or in a JSON file given with --config. Wording never affects verification: verify.py checks the signed token at the end of every post.
Compare your installed program files with a version on GitHub. This helps you notice local changes and lets a recipient identify the version used for collection.
The official repository is filled in. Use the release you installed, or a specific commit from your own fork.
TgWitness downloads that source version and compares file hashes. Your chats and credentials are not uploaded.
The signed journal records matches and differences. Recheck after updates. A match identifies code; it is not hardware attestation.
Limits and pace of collection, rechecks, downloads, people profiles, notifications and exports for this workspace. Each change applies from the next use of the value and is recorded in the signed journal.
No parameters match these filters.
Choose a route, check it, then apply. Your saved connection keeps working while you prepare.
Not checked yet
Stop the demo with Ctrl+C, then start your own panel:
tgwitnessRunning from a source folder instead? Use python start.py, or Start.cmd on Windows. Open the panel address printed in the terminal.
Installation help ↗Settings → Devices → Link Desktop Device
Choose a route before signing in.
Pause observation to change the route. Until then, observation keeps using the current one.
Choose a proxy, save it and test the Telegram connection before signing in. Your own proxy can be entered below.
Only compatible public addresses are included. Fake TLS ee entries are skipped. A listed server has not necessarily been tested from your network.
Every server the automatic route can use: whether it answers, how fast, its country and list. A workspace keeps its server while it works and moves to the next one when it fails.
| Country | Server | Ping | Status | List | Used by | Action |
|---|
Public lists maintained on GitHub. Switch off the ones you do not trust.
Add a list address, upload files or paste links. Lists are read for tg://proxy and t.me/proxy links anywhere in the text.
With a token, downloads from GitHub are authenticated and TgWitness can search GitHub for newly published MTProxy lists whenever the lists update. The token is kept encrypted and is sent only to GitHub.
Servers in preferred countries are tried first. Servers identified as being in avoided countries are excluded. Servers whose country is unknown remain eligible unless "Use only servers in preferred countries" is selected. A workspace keeps a working server; the choice applies when it picks the next one.
Country lookups ask a public GeoIP service about the server addresses only, through the same route as list downloads.
Without this, other countries serve when no preferred server answers. A server whose country is not known yet counts as another country.
Use an encrypted disk or volume for message content, attachments, temporary exports and backups. Signatures detect changes; they do not hide content. A proxy routes Telegram traffic and does not protect the web panel.
Add as many workspaces as you need. Use a distinct Telegram account per workspace: the same session in two places makes Telegram revoke it (AUTH_KEY_DUPLICATED).
Manage Telegram accounts, connections and collection in one place.
Each account gets its own workspace, signing key and proxy. Files with the same name form one account, for example name.session with name.json. A session that does not sign in is not kept.
Check sessions only reads each account's profile and settings: it signs nothing out, resets nothing and joins nothing. Only live sessions are imported. Spam blocks are not checked, because that needs a message to @SpamBot.
No matching workspaces.
Search saved observations, review the sources, then choose whether to use AI.
Edits and deletion notices are separate records. Missing on recheck is a separate observation, not a deletion notice.
A local context pack with citations and a signed manifest. No AI service is contacted. The selection may be partial.
Observed facts, model inferences and analyst notes remain distinct. The original signed events are unchanged.
Open a saved attachment's journal record and choose Recognize attachment. Processing runs locally in an isolated worker.
What leaves this panel and who receives it: an AI provider gets only the messages its client requests, an archive connection reads only the workspaces and chats you allow with its own token, and a webhook sends metadata unless you also choose message text.
The external model can receive messages requested by its client. Choose the workspaces and chats you want to share.
The token is shown only here. Save it now; it cannot be retrieved later.
The copied token grants access to the selected archive. Keep it out of repositories, logs and shared screenshots.
Install TgWitness with MCP support on the client device. The local relay connects to this panel; the panel must stay running.
The configuration never includes your token. Add the saved token only in your MCP client's settings or environment.
AI or command-line clients that read this archive with a token. Each connection sees only the workspaces and chats chosen for it and can be revoked at any time.
Structured notifications for n8n and SIEM. Metadata is sent by default; message text requires a separate choice.
Configure the receiver to verify the signature and timestamp, and deduplicate by event_id.
Give each person their own access to chosen workspaces and chats. The panel token remains the administrator key.
These limits apply to your own sign-ins with the panel token.
Replace a lost or exposed panel token. All current browser sessions end; issued access tokens remain valid.
Save it in your password manager. This browser has a new session; every previous session has ended.
Activity since this process started: connections, proxy changes, sign-ins, refusals and settings changes across workspaces. Messages remain in the journal.
IP addresses are hidden in this view. Local service logs and signed journal records are unchanged.