qTe Docs — Memes
Memes
Meme storage, thumbnail generation, AT Proto blob sync, and deduplication
Memes Overview
The Memes system manages image files that are associated with encoded content. Memes are stored locally
with thumbnails generated for fast UI rendering. They can be attached to published/syndicated content
and synced to AT Proto as image blobs.
Important: The Memes tab displays only memes (not all images) and shows thumbnails
sourced from the qte_thumbnails folder.
Storage Architecture
Thumbnail Generation
When a meme is added, a 64×64 JPEG thumbnail is generated and saved to qte_thumbnails.
The UI only loads thumbnails for the meme list — full images are loaded when the user selects a meme
for detail viewing or attachment.
Thumbnail Specs
| Property | Value |
| Dimensions | 64 × 64 pixels |
| Format | JPEG |
| Location | qte_thumbnails/{symph}.jpg |
| AT Proto Collection | app.qte.storage.meme.thumbnail |
AT Proto Meme Sync
The MemeStorageManager singleton handles uploading and downloading meme images and thumbnails
to/from AT Proto. Images are stored as blobs with a maximum compressed size of 640×640 pixels.
Meme Operations
| Operation | Description |
| Refresh | Scan qte_thumbnails folder and rebuild meme list |
| Process | Generate thumbnails for any memes missing them |
| Delete | Remove meme image and thumbnail (moves to recycle bin) |
| Dedup | Find and remove duplicate meme images by hash comparison |
| Attach | Associate a meme with a published/syndicated item |
| Upload | Sync meme and thumbnail to AT Proto storage |
| Download | Pull memes from AT Proto to local storage |