How quirky1869/seekr works
SEEKR is a bilingual terminal interface for configuring and running file searches. Users enter basic paths and file types, add filters and advanced options, then run find and browse results; optional grep mode adds matching-file and occurrence results. The TUI also previews a command and supports clipboard copying. The sampled code shows the main search dispatch and finder behavior; some UI actions and integrations are documented in the README but their implementation details are not fully excerpted.
Main entry points: model.go App state and input · finder.go Search runner · views.go Tabbed views · main.go TUI startup
Components 16
Terminal interaction
- TUI startup
main.go - App state and input
internal/tui/model.go - Search options
internal/tui/model.go - Command preview
internal/tui/model.go - Result navigation
internal/tui/model.go
Search execution
- Finder options
internal/finder/finder.go - Find argument builder
internal/finder/finder.go - Search runner
internal/finder/finder.go - Grep matching and occurrences
internal/finder/finder.go
Presentation and language
- Tabbed views
internal/tui/views.go - Visual styling
internal/tui/styles.go - EN/FR translations
internal/i18n/translations.go
System commands
- find command
- grep command
- System clipboard
Other components
- Terminal user
Connections 20
- Terminal user → TUI startup: starts application
README.md - TUI startup → App state and input: initializes model
main.go - Terminal user → App state and input: enters options
README.md - App state and input → Search options: tracks inputs
internal/tui/model.go - App state and input → Search runner: runs search
internal/tui/model.go - Search options → Finder options: builds options
internal/tui/model.go - Finder options → Find argument builder: supplies parameters
internal/finder/finder.go - Search runner → Find argument builder: builds arguments
internal/finder/finder.go - Search runner → find command: executes search
internal/finder/finder.go - Search runner → Grep matching and occurrences: collects matches
internal/finder/finder.go - Grep matching and occurrences → grep command: executes matching
internal/finder/finder.go - Search runner → App state and input: returns results
internal/tui/model.go - App state and input → Result navigation: updates viewports
internal/tui/model.go - Terminal user → Result navigation: browses results
README.md - App state and input → Command preview: builds preview
internal/tui/model.go - Tabbed views → Command preview: renders command
internal/tui/views.go - App state and input → EN/FR translations: loads language
internal/tui/model.go - Tabbed views → EN/FR translations: uses labels
internal/tui/views.go - Tabbed views → Visual styling: uses styling
- Terminal user → System clipboard: copies command
README.md