{"id":13483106,"url":"https://github.com/hugopl/queryit","last_synced_at":"2025-03-27T13:33:36.345Z","repository":{"id":143004427,"uuid":"216949139","full_name":"hugopl/queryit","owner":"hugopl","description":"A very basic setupless terminal based SQL query runner meant to be used as a developer tool to test queries against a project database.","archived":true,"fork":false,"pushed_at":"2023-09-27T14:57:47.000Z","size":324,"stargazers_count":20,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-01T17:34:05.484Z","etag":null,"topics":["cli","database-management","developer-tools","postgresql","sql","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugopl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-10-23T02:18:38.000Z","updated_at":"2024-05-04T05:38:36.000Z","dependencies_parsed_at":"2024-01-21T10:49:05.691Z","dependency_job_id":"461f5366-ab30-40b0-b9f9-d6b2fa0fddb2","html_url":"https://github.com/hugopl/queryit","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugopl%2Fqueryit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugopl%2Fqueryit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugopl%2Fqueryit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugopl%2Fqueryit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugopl","download_url":"https://codeload.github.com/hugopl/queryit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222262682,"owners_count":16957625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","database-management","developer-tools","postgresql","sql","terminal-based"],"created_at":"2024-07-31T17:01:08.297Z","updated_at":"2024-10-30T16:32:05.999Z","avatar_url":"https://github.com/hugopl.png","language":"Crystal","readme":"# Archived\n\nI'm not using or writing this anymore, when I need to do SQL stuff nowadays I'm using\n[beekeeper-studio](https://github.com/beekeeper-studio/beekeeper-studio), yet another electron\napp eating all our beloved memory, however feature complete :-)\n\n![Build Status](https://github.com/hugopl/queryit/actions/workflows/ci.yml/badge.svg?branch=master)\n[![AUR](https://img.shields.io/aur/version/queryit)](https://aur.archlinux.org/packages/queryit)\n\n# Queryit\n\nA very basic setupless terminal based SQL query runner meant to be used as a developer\ntool to test queries against a project database.\n\n![Screenshot](./doc/queryit.png)\n\n## Installation\n\n### if ArchLinux\n\nThere's an [AUR package](https://aur.archlinux.org/packages/queryit/) for it.\n\n```\n$ yay -S queryit\n```\n\n### else\n\nInstall the dependencies (dev packages if your distro split development files in separated packages):\n\n - Crystal compiler \u003e= 1.0.\n - libyaml (for rails/amber database configuration detection).\n - python (compile time dependency used as build system for libtermbox).\n - libevent.\n - libsqlite3 (for sqlite support).\n - mysql-client (for mysql support).\n - postgresql-libs (for postgres support).\n\n```\n$ make\n$ sudo make install\n```\n\n## Usage\n\nOn a rails or amber project directory just run it, a connection will be made to the development database:\n\n```\n$ queryit\n```\n\nOr specify the database URI:\n\n```\n$ queryit --uri postgres://localhost/database\n```\n\n## Database support\n\nDespite of only be really tested with Postgres and SQLite, it should work with MySQL too.\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/hugopl/queryit/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\nFeature suggestions are welcome, write them in github issues.\n\n## Contributors\n\n- [Hugo Parente Lima](https://github.com/hugopl) - creator and maintainer\n","funding_links":[],"categories":["Database Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugopl%2Fqueryit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugopl%2Fqueryit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugopl%2Fqueryit/lists"}