sqlite-tui

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

sqlite-tui

Go 1.25 Termux

Single-binary TUI viewer for SQLite — tables, rows, WAL size. No CGO, 8.5M, <40MB RAM.

I built it because sqlite3 CLI is plain and DB Browser needs GUI. This shows your tables and rows in the terminal on your phone.

go install github.com/Pastalikek65/sqlite-tui@latest
sqlite-tui my.db
# j/k nav, r reload, q quit — shows WAL size and row preview

Works with ceparsiv's ~/.cache/ceparsiv.db, pytermq's queue.db, or any SQLite.

Install (Termux)

git clone https://github.com/Pastalikek65/sqlite-tui.git
cd sqlite-tui
CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o sqlite-tui .
./sqlite-tui /path/to/db

Why not DB Browser

DB Browser needs X11, 50MB+. This is 8.5M, pure Go modernc.org/sqlite, WAL aware, offline.

Tech

Go 1.25, bubbletea 1.3.4, lipgloss, modernc.org/sqlite 1.38.2, cobra. 1 table ListTables, RowCount, Query with LIMIT 20.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
db
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL