How editorrylix/pouchy works
Pouchy is a native Windows drag-and-drop holding shelf. A user summons it by shaking the mouse, hitting a screen edge, or using a hotkey; they drop files, text, links, or images onto the pouch, organize items across shelves, then drag them into another app or use item actions. The pouch view model coordinates item creation, search and shelf state with persistence. The README documents additional menu actions, previews, themes, settings, and Windows shell integrations. Some subsystem links rely on README claims or the SOURCE INDEX because their implementations were not excerpted.
Main entry points: PouchWindow.xaml.cs Pouch window · PouchViewModel.cs Pouch state · PouchWindow.Menus.cs Item actions · App.xaml.cs App lifecycle
Components 31
Activation and shell
- App lifecycle
App.xaml.cs - Summon triggers
Services/TriggerService.cs - Gesture detection
Services/GestureDetector.cs - Global hotkey
Services/HotkeyService.cs - Windows interop
Interop/NativeMethods.cs
Pouch experience
- Pouch window
Views/PouchWindow.xaml.cs - Shelf navigation
Views/PouchWindow.Shelves.cs - Pouch state
ViewModels/PouchViewModel.cs - Mascot
Views/Mascot.xaml.cs
Items and actions
- Item creation
Services/ItemFactory.cs - Item model
Models/PouchItem.cs - Context menus
Views/MenuFactory.cs - Item actions
Views/PouchWindow.Menus.cs - File operations
Services/FileActions.cs - Quick Look
Views/QuickLookWindow.xaml.cs - Link previews
Services/LinkPreviewService.cs - Shell thumbnails
Services/ThumbnailProvider.cs - Image OCR
Services/OcrService.cs - Explorer menu
Interop/ShellContextMenu.cs - Windows sharing
Interop/ShareSheet.cs
Settings and themes
- Settings state
ViewModels/SettingsViewModel.cs - Settings window
Views/SettingsWindow.xaml.cs - App settings
Services/SettingsService.cs - Theme service
Services/Theming/ThemeService.cs - Update checks
Services/UpdateService.cs
Local state
- Shelf model
Models/Shelf.cs - Shelf persistence
Services/PersistenceService.cs - Local shelf data
Services/AppPaths.cs
Other components
- User
- Other app
- Web pages
Connections 40
- User → Summon triggers: shakes or bumps
README.md - User → Global hotkey: presses shortcut
README.md - Summon triggers → Gesture detection: detects motion
Services/TriggerService.cs - Summon triggers → Windows interop: reads input
Services/TriggerService.cs - Global hotkey → Windows interop: registers shortcut
Services/HotkeyService.cs - App lifecycle → Summon triggers: starts
App.xaml.cs - App lifecycle → Global hotkey: starts
App.xaml.cs - Summon triggers → Pouch window: summons pouch
README.md - User → Pouch window: drops items
README.md - Pouch window → Pouch state: updates pouch
Views/PouchWindow.xaml.cs - Pouch window → Shelf navigation: supports shelf tabs
README.md - Shelf navigation → Pouch state: switches shelves
- Pouch state → Item creation: creates items
ViewModels/PouchViewModel.cs - Pouch state → Shelf persistence: loads and saves
ViewModels/PouchViewModel.cs - Pouch state → App settings: reads preferences
ViewModels/PouchViewModel.cs - Pouch state → Link previews: fetches previews
ViewModels/PouchViewModel.cs - Item creation → Item model: builds items
Services/ItemFactory.cs - Pouch window → Shell thumbnails: requests previews
- Pouch window → Other app: drags items out
README.md - User → Item actions: chooses action
README.md - Pouch window → Item actions: routes menu events
Views/PouchWindow.Menus.cs - Item actions → Context menus: builds menus
Views/PouchWindow.Menus.cs - Item actions → File operations: runs file actions
Views/PouchWindow.Menus.cs - Item actions → Image OCR: requests OCR
Views/PouchWindow.Menus.cs - Item actions → Explorer menu: opens Explorer menu
Views/PouchWindow.Menus.cs - Item actions → Windows sharing: opens share sheet
Views/PouchWindow.Menus.cs - User → Quick Look: previews item
README.md - Link previews → Web pages: fetches page and icon
Services/LinkPreviewService.cs - User → Settings window: configures app
README.md - App lifecycle → Settings state: opens settings
App.xaml.cs - Settings window → Settings state: displays controls
- Settings state → App settings: updates preferences
ViewModels/SettingsViewModel.cs - Settings state → Theme service: manages themes
ViewModels/SettingsViewModel.cs - App lifecycle → Theme service: applies theme
App.xaml.cs - Settings state → Update checks: checks updates
ViewModels/SettingsViewModel.cs - Pouch state → Shelf model: maintains shelf state
ViewModels/PouchViewModel.cs - Shelf persistence → Shelf model: serializes shelves
Services/PersistenceService.cs - Shelf persistence → Local shelf data: stores shelf data
Services/PersistenceService.cs - App lifecycle → Shelf persistence: initializes state
App.xaml.cs - App lifecycle → Mascot: shows mascot