https://github.com/crolbar/gql
TUI database management tool
https://github.com/crolbar/gql
bubbletea go golang sql tui
Last synced: 2 months ago
JSON representation
TUI database management tool
- Host: GitHub
- URL: https://github.com/crolbar/gql
- Owner: crolbar
- License: gpl-3.0
- Created: 2024-10-09T15:46:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-22T14:08:56.000Z (about 1 year ago)
- Last Synced: 2025-05-22T15:39:02.903Z (about 1 year ago)
- Topics: bubbletea, go, golang, sql, tui
- Language: Go
- Homepage:
- Size: 316 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gql - TUI database management tool

> [!NOTE]
> This tool does not have to do anything with GraphQL or Graph Query Language \
> I just needed a name and in 5 seconds came up with this and i started to like it \
> before i knew GraphQL or Graph Query Language were a thing
## Example for connection string / URI
- after an successful connection the uri is saved in `~/.cache/gql/gql_creds` \
and auto used in the next start of gql
mysql: \
`username:password@(address)/` \
`forgejo:forgejo@(localhost:3306)/`
postgres: \
`postgresql://username:password@address/databasename` \
`postgresql://crolbar:aoeu@localhost:5432/t?sslmode=disable`
- if you have db's that give "don't accept connection" errors, you can add "&connect_timeout=1" to you're connection string to reduce the halt.
sqlite: \
`file:path/to/sqlite/db` \
## Support
- [x] MySQL
- [x] PostgreSQL
- [x] SQLite