RepoPilot

jesseduffield / lazydocker

Search jesseduffield/lazydocker

GitHub

Code

How jesseduffield/lazydocker is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely start-up file
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new Docker object type panel (e.g., custom resources)

  • Register panel in pkg/gui/gui.go and wire keybindings in pkg/gui/keybindings.go
  • Add translation strings to all language files in pkg/i18n/

Add a new keyboard command or action

  • Define the handler method in the appropriate panel file (e.g., pkg/gui/containers_panel.go)
  • Register keybinding in pkg/gui/keybindings.go with key, context, and handler function
  • Add user-facing description in pkg/i18n/english.go and other language files
  • If async, wrap execution in pkg/tasks/tasks.go as an app.PushTask() call

Add support for a new configuration option

  • Add struct field to AppConfig in pkg/config/app_config.go with yaml tags
  • Set default value in config_default_platform.go or platform-specific files
  • Update config.yml example file to show the new option
  • Use config value throughout codebase by accessing app.Config.NewOption

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points8 per file on average
  • Code issues0 errors, 26 warnings
  • Largest file615 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CICircleCI · GitHub Actions3 workflows
  • Tests11 test filesGo test · 0.01 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: pkg/commands · test · pkg/commands/ssh

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.