Termbase is a database scratchpad. It's intended to enable quick exploration of databases without requiring heavyweight database consoles or editors.
First, clone this repository and all submodules with the following command:
git clone --recursive https://github.com/mjoerussell/termbase
Next, follow the setup instructions for SDL.zig and zdb.
Once you've installed an ODBC driver/driver manager and SDL2, you should be able to start Termbase by running zig build run
.
Key Combo | Effect |
---|---|
Click anywhere | Create a new text area where you can start entering SQL statements |
Click inside a text area | Start using that text area |
Ctrl+Enter | Evaluate the current active text area as a SQL statement and print the result in a child text area |
Ctrl+Tab | Navigate from a text area to its child (if it has a child) |
Ctrl+Shift+Tab | Navigate from a text area to its parent (if it has a parent) |
Ctrl+D | Duplicate the current text area |
More info TBA.