Draft
Conversation
Agent-Logs-Url: https://github.com/Kritarth-Dandapat/super-ollama/sessions/758aabf0-5938-4cd9-969c-649bc0176283 Co-authored-by: Kritarth-Dandapat <141005022+Kritarth-Dandapat@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kritarth-Dandapat/super-ollama/sessions/758aabf0-5938-4cd9-969c-649bc0176283 Co-authored-by: Kritarth-Dandapat <141005022+Kritarth-Dandapat@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add screen capture and indexing functionality
Phase 3: screen capture + indexing
Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements Module 3 from the agent plan: periodic multi-monitor screenshot capture, OCR, LLM summarisation, privacy filtering, and SQLite indexing — plus the
snapone-shot CLI command.New packages
internal/storeMinimal SQLite store backing all future phases. Runs schema migrations on
Open.InsertEventis the write path for capture (and future) events.internal/captureFull capture pipeline assembled as a
Capturerstruct:capture.go—CaptureAllviakbinani/screenshot;OCRshells out totesseract(degrades gracefully to empty string when not installed);Summarisecalls the engine with"Summarise the following screen content in 2 sentences: …"privacy.go— loads~/.super-ollama/privacy.toml(XDG-aware); filters onskip_keywords(case-insensitive text match) andskip_window_titles(compiled as case-insensitive regex patterns)scheduler.go—StartSchedulerwrapsrobfig/cronat the configured interval; returns a drainingstop()funcUpdated
internal/config— addscapture_interval_minutes(default 5) andcapture_enabledcmd/super-ollama/main.go— replacessnapstub with a real command: loads config + privacy filter + engine + store, runsSnap(), prints per-display summariesNew dependencies
github.com/robfig/cron/v3 v3.0.1github.com/kbinani/screenshot v0.0.0-20230812210009-b87d31814237