
dbakuntsevOverview Simply.ClipboardMonitor is a Windows desktop utility for developers who need to...
Simply.ClipboardMonitor is a Windows desktop utility for developers who need to see exactly what an application puts on the clipboard. It shows every format ID, raw bytes as a hex dump, decoded text with encoding detection, image previews, and a full history of clipboard changes - all updating in real time.
https://github.com/dbakuntsev/simply.clipboard-monitor
The app registers as a clipboard listener via AddClipboardFormatListener and handles WM_CLIPBOARDUPDATE. Reading bytes is non-trivial because Win32 clipboard data arrives as different GDI handle types - HGLOBAL, HBITMAP, HENHMETAFILE - each requiring a different extraction strategy. These are modelled as small IHandleReadStrategy implementations wired up through Microsoft.Extensions.DependencyInjection.
History is persisted in SQLite, with blobs compressed using ZStandard and deduplicated by SHA-256, so identical payloads shared across formats are stored only once.
If you've ever needed to debug a clipboard integration or understand what a third-party app puts on the clipboard, give it a try. Pre-built portable binaries are available on the releases page. The project is MIT-licensed. Issues and contributions are welcome.
Please, leave questions in comments!