{"id":26271969,"url":"https://github.com/jcserv/sqli","last_synced_at":"2026-02-14T19:03:36.716Z","repository":{"id":280061079,"uuid":"934506882","full_name":"jcserv/sqli","owner":"jcserv","description":"sqli is a simple \u0026 sleek SQL client, used as a terminal UI or in the command line, to help you query your Postgres database","archived":false,"fork":false,"pushed_at":"2025-08-29T19:12:38.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-29T21:44:56.861Z","etag":null,"topics":["cli","rust","sql","terminal","tui"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/sqli","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcserv.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-18T00:24:03.000Z","updated_at":"2025-08-29T19:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"089a6686-3507-4373-a7d9-e75658c0ebad","html_url":"https://github.com/jcserv/sqli","commit_stats":null,"previous_names":["jcserv/sqli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jcserv/sqli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fsqli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fsqli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fsqli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fsqli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcserv","download_url":"https://codeload.github.com/jcserv/sqli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcserv%2Fsqli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","rust","sql","terminal","tui"],"created_at":"2025-03-14T07:16:00.938Z","updated_at":"2026-02-14T19:03:36.711Z","avatar_url":"https://github.com/jcserv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqli\n\n![downloads](https://img.shields.io/crates/d/sqli) [![code coverage](https://coveralls.io/repos/github/jcserv/sqli/badge.svg?branch=main)](https://coveralls.io/github/jcserv/sqli?branch=main)\n\nsqli (as in, \"sql\" + \"cli\" = \"sqli\") is a simple \u0026 sleek SQL client, used as a terminal UI or as a command line tool, to help you query your Postgres database!\n\nheavily inspired by tools like [posting](https://github.com/darrenburns/posting), [curl](https://github.com/curl/curl), and [bruno](https://github.com/usebruno/bruno).\n\n## features 🚀\n\n- 📊 view query results directly in the terminal\n  - or pipe it into other tools like `jq`\n- 🧪 simple syntax for ad-hoc queries from the terminal\n- 🔄 save and reuse database connections\n- 📁 collections are stored in your local file system\n  - repo-level collections are stored in `./sqli` - add these to your source control to share with others!\n  - user-level settings \u0026 collections are stored in `\u003cCONFIG_DIR\u003e/sqli`\n- 🦀 written in rust btw 😎\n\n![Product demo](https://imgur.com/ff3hcNB.gif)\n\n## installation 📦\n\n### homebrew\n\n`brew tap jcserv/cask`\n\n`brew install sqli`\n\n### cargo\n\n`cargo binstall sqli` ([cargo-binstall](https://github.com/cargo-bins/cargo-binstall?tab=readme-ov-file#installation))\n\nor\n\n`cargo install sqli`\n\n## usage ⚙️ \n\n### tui 🖥️\n\n1. `sqli` - open the TUI\n\nKeybindings:\n\n| Key          | Action                     |\n|--------------|----------------------------|\n| Tab          | Switch between panels (when in nav mode)      |\n| Arrow keys   | Switch between panels (when in nav mode)     |\n| Space/Enter  | Focus on a pane                |\n| Ctrl+N       | Create new file/folder     |\n| Ctrl+E       | Edit selected file/folder  |\n| Ctrl+S       | Save current file          |\n| Ctrl+Space   | Run SQL query              |\n| Esc          | Exit edit mode             |\n| Ctrl+C       | Quit application           |\n\n### cli ▶️\n\n1. ad-hoc queries:\n- `sqli query --url postgres://user:password@host:port/database --sql \"SELECT * FROM table;\"`\n2. configure a connection:\n  - `sqli config set --name local --url postgres://user:password@host:port/database`\n3. query using a pre-configured connection:\n  - `sqli query --conn local --sql \"SELECT * FROM table;\"`\n4. query using a file:\n  - `sqli query --conn local --sql path/to/file.sql`\n\n## references 📚\n\n- [posting](https://github.com/darrenburns/posting)\n- [curl](https://github.com/curl/curl)\n- [bruno](https://github.com/usebruno/bruno)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcserv%2Fsqli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcserv%2Fsqli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcserv%2Fsqli/lists"}