Repository navigation
β¨ Add a read-only SQLite viewer - #60
Merged
Merged
Conversation
juftin
pushed a commit
that referenced
this pull request
Oct 28, 2026
# [v1.26.0](v1.25.0...v1.26.0) (2026-10-28) ## β¨ New Features - [`fccc16f`](fccc16f) Add a read-only SQLite viewer (#60) (Issues: [`#60`](#60)) [skip ci]
Owner
|
π This PR is included in version 1.26.0 π The release is available on GitHub release Your semantic-release bot π¦π |
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.
Opening a SQLite database now shows a read-only data table directly beneath the table selector instead of trying to decode the file as text.
.db,.db3,.sqlite, and.sqlite3files.[(previous) and](next). Table navigation wraps and starts each selected object on its first page.{/}for previous/next page.--max-linescontrols page size. All six SQLite navigation and copy shortcut hints appear only in the ? help popup, including when the file tree or another overlay has focus; they are hidden from the footer.NULL, BLOBs as hex), or copy its row with Shift+C as JSON. Copied contents are not truncated. Both actions use the system clipboard with a terminal clipboard fallback.Includes usage documentation, regression tests, and screenshots.
Validation
env -u NO_COLOR uv run pytest --no-covβ 44 passed, including all existing screenshot tests.uv run ruff check .uv run ruff format --check .uv run mypy browsrgit diff --checkThe shell sets
NO_COLOR; removing it for screenshot tests preserves the colors expected by the existing snapshots.Screenshots
Captured from the actual Textual app with
App.run_test(size=(140, 30))andApp.save_screenshot(), using a sample bookshop database. PNGs were rendered from Textual's SVG exports.Table data β bounded column widths, first page
Table data β next page
SQLite help β copy cell, copy row, page navigation, and table navigation