A very basic setupless terminal based SQL query runner meant to be used as a developer tool to test queries against a project database.
There's an AUR package for it.
$ yay -S queryit
You need the project dependencies installed on your system:
- Termbox C library - https://github.com/nsf/termbox
- Crystal language compiler
- Shards, the crystal language package manager
$ make $ sudo make install
On a rails project directory just run it.
Or specify the database URI
$ queryit --uri postgres://localhost/database
All this still in a very early development stage. Above is a todo list in no specific order:
- Basic query execution/show results.
- Save results to CSV.
- Help screen.
- Change database.
- Navigate through results.
- Syntax highlight.
- SQL beautifier.
- SQL auto complete.
- Improved copy/paste support.
- Install script/instructions.
- ArchLinux package.
- Move TextUI code to their own shard.
- Do not block UI when executing queries.
- Have a manpage.
- Display nice useless charts about the server like pgAdmin4 does.
- Fork it (https://github.com/hugopl/queryit/fork)
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
- Hugo Parente Lima - creator and maintainer