{"id":51421767,"url":"https://github.com/undont/seeql","last_synced_at":"2026-07-05T00:05:24.884Z","repository":{"id":351180826,"uuid":"1209900177","full_name":"undont/seeql","owner":"undont","description":"keyboard driven terminal SQL client supporting PostgreSQL, MySQL, and SQLite","archived":false,"fork":false,"pushed_at":"2026-06-22T20:18:35.000Z","size":4431,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-25T02:52:48.341Z","etag":null,"topics":["sql","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","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/undont.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-13T22:31:41.000Z","updated_at":"2026-06-25T02:35:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/undont/seeql","commit_stats":null,"previous_names":["seanhalberthal/seeql","undont/seeql"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/undont/seeql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undont%2Fseeql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undont%2Fseeql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undont%2Fseeql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undont%2Fseeql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/undont","download_url":"https://codeload.github.com/undont/seeql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undont%2Fseeql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34894560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["sql","tui"],"created_at":"2026-07-05T00:05:20.483Z","updated_at":"2026-07-05T00:05:24.712Z","avatar_url":"https://github.com/undont.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# seeql\n\n**Keyboard-driven terminal SQL client for PostgreSQL, MySQL, and SQLite.**\n\n[![Go 1.25+](https://img.shields.io/badge/Go-1.25+-00ADD8?style=flat\u0026logo=go\u0026logoColor=white)](https://go.dev)\n[![Licence](https://img.shields.io/github/license/undont/seeql?style=flat\u0026label=licence\u0026color=4493F8)](LICENCE)\n[![macOS](https://img.shields.io/badge/macOS-supported-6e7681?style=flat\u0026logo=apple\u0026logoColor=white)]()\n[![Linux](https://img.shields.io/badge/Linux-supported-6e7681?style=flat\u0026logo=linux\u0026logoColor=white)]()\n\n[Quick Start](#quick-start) · [Features](#features) · [Keybindings](#keybindings) · [Configuration](#configuration)\n\n![seeql demo](.demo/demo.gif)\n\n\u003c/div\u003e\n\n---\n\n## Quick Start\n\n```bash\nbrew install undont/tap/seeql\n```\n\n```bash\nseeql                                    # Launch connection manager\nseeql postgres://user:pass@host/db       # Connect via DSN\nseeql ./data.db                          # SQLite file\n```\n\n---\n\n## Features\n\n- **Two-pane layout** with sidebar and results table; the query editor floats on demand\n- **Terminal-native theme** that inherits your terminal's colour scheme, with no hardcoded colours\n- **Streaming results** with constant memory regardless of result-set size\n- **Context-aware autocomplete** for tables, columns, keywords, and functions\n- **Multi-tab** with per-tab result sets and queries\n- **Connection manager** with DSN-based connections; the adapter is auto-detected from the URL scheme\n- **Query history** stored in SQLite, searchable via `Ctrl+H`\n- **Audit log** as an opt-in JSON Lines trail\n- **Pure Go** with zero CGo dependencies and instant startup\n\n---\n\n## Install\n\n### Homebrew\n\n```bash\nbrew install undont/tap/seeql\n```\n\n### From source\n\n```bash\ngo install github.com/undont/seeql/cmd/seeql@latest\n```\n\n### Build from repo\n\n```bash\ngit clone https://github.com/undont/seeql.git\ncd seeql\nmake build\n```\n\n---\n\n## Keybindings\n\n### Global\n\n| Key | Action |\n|-----|--------|\n| `Tab` | Cycle focus: sidebar / results |\n| `e` | Open query editor |\n| `Ctrl+S` | Toggle sidebar |\n| `Ctrl+O` | Connection manager |\n| `Ctrl+R` | Refresh schema |\n| `Ctrl+E` | Export results to CSV |\n| `?` / `F1` | Help |\n| `q` / `Ctrl+Q` | Quit |\n\n### Editor (floating)\n\n| Key | Action |\n|-----|--------|\n| `F5` / `Ctrl+G` / `Ctrl+Enter` | Execute query |\n| `Ctrl+C` | Cancel running query |\n| `Ctrl+H` | Query history |\n| `Esc` | Close editor |\n\n### Tabs\n\n| Key | Action |\n|-----|--------|\n| `Ctrl+T` | New tab |\n| `X` | Close tab |\n| `Ctrl+]` / `Ctrl+[` | Next / previous tab |\n\n### Sidebar (schema browser)\n\n| Key | Action |\n|-----|--------|\n| `j` / `k` (or `↓` / `↑`) | Navigate up / down |\n| `l` / `Enter` | Expand node / load SELECT into editor |\n| `h` | Collapse node |\n| `g` / `G` | Jump to top / bottom |\n| `F5` / `Ctrl+G` / `Ctrl+Enter` | Execute `SELECT * FROM \u003ctable\u003e` in the current tab |\n\n### Results pane\n\n| Key | Action |\n|-----|--------|\n| `j` / `k` | Navigate rows |\n| `h` / `l` | Scroll columns |\n| `P` | Open cell popover (full value) |\n\n### Cell popover\n\n| Key | Action |\n|-----|--------|\n| `j` / `k` (or `↓` / `↑`) | Scroll one line |\n| `g` / `G` | Jump to top / bottom |\n| `Ctrl+d` / `Ctrl+u` | Page down / up |\n| `/` | Search within cell value |\n| `n` / `N` | Next / previous match |\n| `y` | Yank displayed value to clipboard (pretty-printed when JSON) |\n| `Y` | Yank raw value to clipboard |\n| `Esc` / `q` | Close |\n\n### History browser\n\n| Key | Action |\n|-----|--------|\n| `j` / `k` (or `↓` / `↑`) | Move cursor |\n| `g` / `G` | Jump to top / bottom |\n| `Ctrl+d` / `Ctrl+u` | Page down / up |\n| `Enter` | Run the selected query |\n| `e` | Load the selected query into the editor and copy to clipboard |\n| `y` | Yank the selected query to the clipboard |\n| `/` | Filter queries (type to narrow, `Enter`/`↓` to return to nav, `Esc` clears) |\n| `Esc` / `q` / `Ctrl+H` | Close |\n\n---\n\n## Configuration\n\nConfig at `~/.config/seeql/config.json`:\n\n```json\n{\n  \"keymode\": \"vim\",\n  \"editor\": {\n    \"tab_size\": 4,\n    \"show_line_numbers\": true\n  },\n  \"results\": {\n    \"page_size\": 1000,\n    \"max_column_width\": 50\n  },\n  \"connections\": [\n    {\n      \"name\": \"local pg\",\n      \"dsn\": \"postgres://user:pass@localhost:5432/mydb\"\n    },\n    {\n      \"dsn\": \"./data.db\"\n    }\n  ]\n}\n```\n\n---\n\n## Supported Databases\n\n| Database | Driver | CGo |\n|----------|--------|-----|\n| PostgreSQL | [pgx](https://github.com/jackc/pgx) | No |\n| MySQL | [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | No |\n| SQLite | [modernc.org/sqlite](https://pkg.go.dev/modernc.org/sqlite) | No |\n\n---\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eArchitecture\u003c/strong\u003e\u003c/summary\u003e\n\n```\nseeql/\n├── cmd/seeql/              # CLI entry point\n├── internal/\n│   ├── adapter/            # Database adapter interface + drivers\n│   │   ├── postgres/\n│   │   ├── mysql/\n│   │   └── sqlite/\n│   ├── app/                # Root Bubble Tea model\n│   ├── ui/                 # UI components\n│   │   ├── sidebar/        # Schema tree browser\n│   │   ├── editor/         # SQL editor + syntax highlighting\n│   │   ├── results/        # Results table + exporter\n│   │   ├── tabs/           # Tab bar\n│   │   ├── statusbar/      # Status bar\n│   │   ├── autocomplete/   # Autocomplete dropdown\n│   │   ├── connmgr/        # Connection manager\n│   │   ├── historybrowser/  # Query history overlay\n│   │   └── dialog/         # Reusable dialog\n│   ├── completion/         # SQL completion engine\n│   ├── schema/             # Schema types\n│   ├── config/             # JSON config\n│   ├── history/            # Query history (SQLite)\n│   ├── audit/              # JSON Lines audit log\n│   └── theme/              # Adaptive theme (ANSI 16-colour)\n├── Makefile\n└── .goreleaser.yaml\n```\n\nBuilt with [Bubble Tea](https://github.com/charmbracelet/bubbletea) and [Lip Gloss](https://github.com/charmbracelet/lipgloss).\n\n\u003c/details\u003e\n\n---\n\n## Licence\n\n[MIT](LICENCE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundont%2Fseeql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fundont%2Fseeql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundont%2Fseeql/lists"}