SQLite-TUI: A TUI for viewing SQLite databases, written in Go
github.com
github.com
I'll remedy that!
If there was a nice way to explore the tables that would be great. Such as filter by table name, and show how many records are in each table. Or even a way to show which tables reference other tables.
Who considers a few thousand rows large?
Glad you hear you are planning to look at it though :)
I assume your term library doesn’t create the actual table? So you’d know the term height and you’re then plotting the cells? If that’s not the case then I don’t think you’ll get much further with this project without switching to another term library (or rolling your own — which is actually easier than it sounds).
That's weird. I'm having a hard time imagining how it would be possible to break mouse controls over SSH, since the escape sequences used to signal mouse events are transport-agnostic.
For whatever reason I only tested Windows ssh, since it's what I use for work. I'll test Linux soon.
And yeah, it crashes on larger databases:
panic: runtime error: slice bounds out of range [:-1]
goroutine 54 [running]:
sqlite3-viewer/viewer.TruncateIfApplicable(0xc02037ef70, {0xc000126038, 0x7})
~/go/tuitty/viewer/util.go:99 +0x192
sqlite3-viewer/viewer.TuiModel.View.func2(0xc000818f60)
~/go/tuitty/viewer/viewer.go:121 +0xae5
created by sqlite3-viewer/viewer.TuiModel.View
~/go/tuitty/viewer/viewer.go:106 +0x272At work, I work with a lot of CSVs. I often hit the limit of Excel and Google Sheets. Plus, using formula is difficult. The ergonomics around it is also not great (e.g. am I suppose to write long formula in a one-line box at the top?)
Eventually, I've decided to create Superintendent that enables me to write SQL on CSVs.
I'm working on optimizing it to be faster and faster. Currently, it can load 1GB CSV on Mac Pro 2020 within 10 seconds because it basically goes to C code.
I'm looking to make it feel more and more like a spreadsheet (e.g. click to sort, copy row, copy column, edit it directly) while giving focus to SQL writing. I'm loving it so far, but there are still a lot of improvements to be made.
If you are interested, please check it out: https://superintendent.app
https://www.rewe-digital.com/stellenangebote/649-go-develope...