search fire star recently

queryit

A setupless terminal based SQL query runner

0.6.0 Latest release released
hugopl/queryit
7

Build Status AUR

Queryit

A very basic setupless terminal based SQL query runner meant to be used as a developer tool to test queries against a project database.

Screenshot

Installation

if ArchLinux

There's an AUR package for it.

$ yay -S queryit

else

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

Usage

On a rails or amber project directory just run it, a connection will be made to the development database:

$ queryit

Or specify the database URI:

$ queryit --uri postgres://localhost/database

Database support

Despite of only be really tested with Postgres and SQLite, it should work with MySQL too.

Contributing

  1. Fork it (https://github.com/hugopl/queryit/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Feature suggestions are welcome, write them in github issues.

Contributors

queryit:
  github: hugopl/queryit
  version: ~> 0.6.0

Authors

  • Hugo Parente Lima

License

MIT

Crystal

0.32.0

Libraries 1

  • libtermbox: *

Dependencies 5

  • version_from_shard~hugopl ~> 1.1.0
    {'github' => 'hugopl/version_from_shard', 'version' => '~> 1.1.0'}
  • textui 0.1.4
    {'github' => 'hugopl/textui', 'version' => '0.1.4'}
  • pg ~> 0.20.0
    {'github' => 'will/crystal-pg', 'version' => '~> 0.20.0'}
  • mysql ~> 0.10.0
    {'github' => 'crystal-lang/crystal-mysql', 'version' => '~> 0.10.0'}
  • sqlite3 ~> 0.15.0
    {'github' => 'crystal-lang/crystal-sqlite3', 'version' => '~> 0.15.0'}

Development Dependencies 0

Dependents 0

Last synced .