mirror of
https://github.com/taigrr/teaqlite.git
synced 2026-04-01 20:49:05 -07:00
aa4c97c55384f3a8563e3e248cf6b8867a053420
- Add 20+ tests for utility functions, SharedData, and Model - Tests cover: LoadTables, LoadTableData, UpdateCell, pagination, table inference, focus/blur, empty database, invalid indices - Update Go to 1.26.1, upgrade all dependencies - Replace custom Min/Max with Go builtin min/max - Format all files with goimports - Add staticcheck to CI workflow
TeaQLite
A colorful-but-minimal terminal user interface for browsing SQLite databases built with Bubble Tea.
Features
- Table Browser: Browse all tables in your SQLite database with pagination
- Search Functionality: Search tables by name using
/key - Data Viewer: View table data with pagination and row highlighting
- Row-Level Navigation: Navigate through data rows with cursor highlighting
- Data Search: Search within table data using
/key - Row Detail Modal: View individual rows in a 2-column format (Column | Value)
- Cell Editing: Edit individual cell values with live database updates
- SQL Query Interface: Execute custom SQL queries with parameter support
- Responsive Design: Adapts to terminal size and fits content to screen
- Navigation: Intuitive keyboard navigation throughout all modes
Usage
go run main.go <database.db>
Example with the included sample database:
go run main.go sample.db
Languages
Go
100%