Skip to content

About

Read-only C# TUI for recovering Microsoft Teams drafts from local LevelDB caches

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Teams Draft Viewer

A local, read-only C# terminal app for viewing current and deleted Microsoft Teams drafts stored in Chromium LevelDB files.

Features

  • Detects and merges every Teams-Recovery-* snapshot on the Desktop with the live new Teams cache.
  • Reads LevelDB SSTables and write-ahead logs without modifying them.
  • Shows recovered drafts in a split terminal list and plain-text preview.
  • Resolves cached chat names and channel topics for the draft header.
  • Includes private chats, channel posts, and replies by default.
  • Supports draft selection, preview scrolling, and one-key rescanning.
  • Opens no network port and does not upload or copy draft data.

Run

cd A:\TeamsDraftViewer
dotnet run

All detected recovery snapshots and the live cache are scanned together by default. To choose only one copied profile:

dotnet run -- --path "C:\path\to\Teams-Recovery-snapshot"

Keyboard controls are shown at the bottom of the screen. The main controls are:

  • Up/Down or J/K: select a draft
  • Page Up/Page Down: scroll its contents
  • R: rescan; Q or Esc: quit

For a non-interactive summary, use:

dotnet run -- --path "C:\path\to\snapshot" --list

The most useful folder to preserve after losing a draft is:

%LocalAppData%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView

Copy it promptly: normal LevelDB compaction can remove deleted historical versions.

Test

dotnet test

About

Read-only C# TUI for recovering Microsoft Teams drafts from local LevelDB caches

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages