1
0
mirror of https://github.com/TaKO8Ki/gobang.git synced 2021-09-19 22:32:56 +03:00
Takayuki Maeda 8f7608fbb7 update gobang.gif
2021-09-06 22:31:27 +09:00
2021-08-28 18:51:21 +09:00
2021-09-06 22:31:27 +09:00
2021-09-06 16:10:06 +09:00
2021-07-08 23:08:04 +09:00
2021-08-29 12:18:31 +09:00
2021-08-29 12:18:31 +09:00
2021-09-06 19:39:01 +09:00
2021-09-05 22:50:38 +09:00

gobang

gobang is currently in alpha

A cross-platform terminal database tool written in Rust

github workflow status crates

gobang

Features

  • Cross-platform support (macOS, Windows, Linux)
  • Multiple Database support (MySQL PostgreSQL, SQLite)
  • Intuitive keyboard only control

Installation

Cargo

If you already have a Rust environment set up, you can use the cargo install command:

$ cargo install --version 0.1.0-alpha.1 gobang

Keymap

Key Description
h, j, k, l Scroll left/down/up/right
Ctrl + u, Ctrl + d Scroll up/down multiple lines
g , G Scroll to top/bottom
H, J, K, L Extend selection by one cell left/down/up/right
y Copy a cell value
, Move focus to left/right
/ Filter
? Help
1, 2, 3, 4, 5 Switch to records/columns/constraints/foreign keys/indexes tab

Configuration

The location of the file depends on your OS:

  • macOS: $HOME/.config/gobang/config.toml
  • Linux: $HOME/.config/gobang/config.toml
  • Windows: %APPDATA%/gobang/config.toml

The following is a sample config.toml file:

[[conn]]
type = "mysql"
user = "root"
host = "localhost"
port = 3306

[[conn]]
type = "mysql"
user = "root"
host = "localhost"
port = 3306
database = "foo"

[[conn]]
type = "postgres"
user = "root"
host = "localhost"
port = 5432
database = "bar"

[[conn]]
type = "sqlite"
path = "/path/to/baz.db"
Description
No description provided
Readme MIT 126 MiB
Languages
Rust 100%