How alejandrobujan/tendedero works
Tendedero is a local macOS menu-bar app that gathers screenshots and screen recordings onto a retractable line. The principal flow is capture or clipboard detection, file discovery, then presenting items for copy, editing, preview, drag-and-drop, or removal. The graph keeps orchestration in AppDelegate and separates capture intake, line state, presentation, and item actions. Some capabilities and their wiring are documented in the README; edges without direct source evidence are omitted. Localization, shortcut handling, and full-screen behavior are included as distinct supporting features.
Main entry points: AppDelegate.swift Menu bar orchestration · Line.swift Hanging items · LineView.swift Line layout · ScreenshotWatcher.swift Screenshot watcher
Components 21
App control
- App startup
Sources/Tendedero/main.swift - Menu bar orchestration
Sources/Tendedero/AppDelegate.swift - Keyboard shortcut
Sources/Tendedero/HotKey.swift - Full-screen detection
Sources/Tendedero/FullScreen.swift
Capture intake
- Capture settings
Sources/Tendedero/Inbox.swift - Screenshot watcher
Sources/Tendedero/ScreenshotWatcher.swift - Clipboard watcher
Sources/Tendedero/ClipboardWatcher.swift - Capture animation
Sources/Tendedero/CaptureFlight.swift
Line presentation
- Hanging items
Sources/Tendedero/Line.swift - Screen panel
Sources/Tendedero/LinePanel.swift - Line layout
Sources/Tendedero/LineView.swift - Screenshot card
Sources/Tendedero/PeggedView.swift - Gestures and drag
Sources/Tendedero/GrabArea.swift
Item actions
- Markup editor
Sources/Tendedero/Markup.swift - Recording trim
Sources/Tendedero/Trim.swift - Quick Look preview
Sources/Tendedero/QuickLook.swift
Platform support
- Localization
Sources/Tendedero/Localization.swift
Other components
- Mac user
- macOS capture
- System clipboard
- Other apps and folders
Connections 27
- Mac user → App startup: launches
Sources/Tendedero/main.swift - App startup → Menu bar orchestration: starts
Sources/Tendedero/main.swift - Menu bar orchestration → Screenshot watcher: starts watchers
Sources/Tendedero/AppDelegate.swift - Menu bar orchestration → Clipboard watcher: starts watcher
Sources/Tendedero/AppDelegate.swift - Menu bar orchestration → Keyboard shortcut: registers shortcut
Sources/Tendedero/AppDelegate.swift - Menu bar orchestration → Full-screen detection: checks visibility
Sources/Tendedero/AppDelegate.swift - Menu bar orchestration → Capture settings: configures mode
Sources/Tendedero/AppDelegate.swift - Capture settings → macOS capture: changes settings
Sources/Tendedero/Inbox.swift - macOS capture → Screenshot watcher: writes captures
Sources/Tendedero/ScreenshotWatcher.swift - System clipboard → Clipboard watcher: provides images
Sources/Tendedero/ClipboardWatcher.swift - Screenshot watcher → Menu bar orchestration: reports captures
Sources/Tendedero/AppDelegate.swift - Clipboard watcher → Menu bar orchestration: reports images
Sources/Tendedero/AppDelegate.swift - Menu bar orchestration → Hanging items: hangs captures
Sources/Tendedero/AppDelegate.swift - Menu bar orchestration → Screen panel: controls visibility
Sources/Tendedero/AppDelegate.swift - Screen panel → Line layout: hosts view
Sources/Tendedero/LinePanel.swift - Line layout → Hanging items: renders items
Sources/Tendedero/LineView.swift - Line layout → Screenshot card: renders cards
Sources/Tendedero/LineView.swift - Screenshot card → Gestures and drag: embeds controls
Sources/Tendedero/PeggedView.swift - Gestures and drag → Hanging items: invokes actions
Sources/Tendedero/GrabArea.swift - Hanging items → Markup editor: opens editor
Sources/Tendedero/Line.swift - Hanging items → Recording trim: opens trimmer
Sources/Tendedero/Line.swift - Hanging items → Quick Look preview: opens preview
Sources/Tendedero/Line.swift - Markup editor → Hanging items: refreshes image
Sources/Tendedero/Line.swift - Recording trim → Hanging items: refreshes recording
Sources/Tendedero/Line.swift - Hanging items → Other apps and folders: copies or drags
Sources/Tendedero/Line.swift - Menu bar orchestration → Localization: localizes interface
- Menu bar orchestration → Capture animation: animates arrival
Sources/Tendedero/AppDelegate.swift