Repository navigation
feat(open): implement interactive TUI file browser - #19
Merged
Merged
Conversation
Add the `blob open` command for interactively exploring blob archives. Features: - Split-view layout with file tree (left) and content preview (right) - Lazy loading via HTTP range requests for fast navigation - Syntax highlighting for source code files - Hex dump display for binary files - File size guard to prevent loading files >512KB into memory - Status bar showing selected file metadata (size, modification time) - Copy files from archive to local filesystem - Keyboard navigation (arrows, Tab, Enter, c for copy, q to quit) Components: - internal/tui/open: Main TUI model with Bubble Tea - internal/tui/components/filetree: File tree navigation - internal/tui/components/preview: Content preview with hex/text modes - internal/tui/components/statusbar: Status bar with file metadata - internal/tui/components/copydialog: File copy dialog - internal/tui/detect: Binary file detection Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
blob opencommand for interactively exploring blob archivesFeatures
Components
internal/tui/openinternal/tui/components/filetreeinternal/tui/components/previewinternal/tui/components/statusbarinternal/tui/components/copydialoginternal/tui/detectTest plan
blob open docker.io/meigma/blob-test:v1and verify TUI loads🤖 Generated with Claude Code