{"id":15967839,"url":"https://github.com/xxf098/gobangx","last_synced_at":"2025-05-07T06:04:26.998Z","repository":{"id":37661580,"uuid":"477224108","full_name":"xxf098/gobangx","owner":"xxf098","description":"A cross-platform Vim-like database management tool written in Rust","archived":false,"fork":false,"pushed_at":"2023-04-09T02:24:36.000Z","size":79721,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T06:04:17.838Z","etag":null,"topics":["database","rust","sql","terminal","tui","vim"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/xxf098.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}},"created_at":"2022-04-03T03:02:11.000Z","updated_at":"2024-03-12T05:46:23.000Z","dependencies_parsed_at":"2025-03-10T19:37:36.299Z","dependency_job_id":"55d67b01-229d-4642-9f6b-b7794f396e3a","html_url":"https://github.com/xxf098/gobangx","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf098%2Fgobangx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf098%2Fgobangx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf098%2Fgobangx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xxf098%2Fgobangx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xxf098","download_url":"https://codeload.github.com/xxf098/gobangx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823920,"owners_count":21809713,"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":["database","rust","sql","terminal","tui","vim"],"created_at":"2024-10-07T18:41:43.596Z","updated_at":"2025-05-07T06:04:26.966Z","avatar_url":"https://github.com/xxf098.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\ngobangx is based on [gobang](https://github.com/TaKO8Ki/gobang)\n\nA cross-platform Vim-like database management tool written in Rust\n\n[![github workflow status](https://img.shields.io/github/workflow/status/xxf098/gobangx/CI/main)](https://github.com/xxf098/gobangx/actions)\n\n\n\u003c/div\u003e\n\n## Features\n\n- Cross-platform support (macOS, Windows, Linux)\n- Multiple Database support (MySQL, PostgreSQL, SQLite)\n- Intuitive keyboard only control\n\n## Installation\n\n### From binaries (Linux, macOS, Windows)\n\n- Download the [latest release binary](https://github.com/xxf098/gobangx/releases) for your system\n- Set the `PATH` environment variable\n\n## Usage\n\n```\n$ gobang\n```\n\n```\n$ gobang -h\nUSAGE:\n    gobang [OPTIONS]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -c, --config-path \u003cconfig-path\u003e    Set the config file\n```\n\nIf you want to add connections, you need to edit your config file. For more information, please see [Configuration](#Configuration).\n\n## Keymap\n\n| Key | Description |\n| ---- | ---- |\n| \u003ckbd\u003eh\u003c/kbd\u003e, \u003ckbd\u003ej\u003c/kbd\u003e, \u003ckbd\u003ek\u003c/kbd\u003e, \u003ckbd\u003el\u003c/kbd\u003e | Scroll left/down/up/right |\n| \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eu\u003c/kbd\u003e, \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003ed\u003c/kbd\u003e | Scroll up/down multiple lines |\n| \u003ckbd\u003e0\u003c/kbd\u003e, \u003ckbd\u003e$\u003c/kbd\u003e | Scroll to start/end |\n| \u003ckbd\u003eg\u003c/kbd\u003e , \u003ckbd\u003eG\u003c/kbd\u003e | Scroll to top/bottom |\n| \u003ckbd\u003ef\u003c/kbd\u003e+\u003ckbd\u003e_\u003c/kbd\u003e | Forward to next column starts with the character `_` |\n| \u003ckbd\u003eF\u003c/kbd\u003e+\u003ckbd\u003e_\u003c/kbd\u003e | Backward to next column starts with the character `_` |\n| \u003ckbd\u003e;\u003c/kbd\u003e | Repeat previous f, F movement |\n| \u003ckbd\u003eH\u003c/kbd\u003e, \u003ckbd\u003eJ\u003c/kbd\u003e, \u003ckbd\u003eK\u003c/kbd\u003e, \u003ckbd\u003eL\u003c/kbd\u003e | Extend selection by one cell left/down/up/right |\n| \u003ckbd\u003ey\u003c/kbd\u003e | Yank a cell value |\n| \u003ckbd\u003eyc\u003c/kbd\u003e | Yank column name |\n| \u003ckbd\u003eY\u003c/kbd\u003e | Yank `CREATE TABLE` or `INSERT INTO` sql |\n| \u003ckbd\u003eD\u003c/kbd\u003e | Delete row by primary key or `id` or first column |\n| \u003ckbd\u003eC\u003c/kbd\u003e | Change current cell value, set value to `NULL` with `\u003cNULL\u003e` |\n| \u003ckbd\u003e:\u003c/kbd\u003e | Start ex command, see below for commands list |\n| \u003ckbd\u003eo\u003c/kbd\u003e, \u003ckbd\u003eO\u003c/kbd\u003e | Order column asc/desc |\n| \u003ckbd\u003e=\u003c/kbd\u003e, \u003ckbd\u003e-\u003c/kbd\u003e | Expand/Shorten column width |\n| \u003ckbd\u003e←\u003c/kbd\u003e, \u003ckbd\u003e→\u003c/kbd\u003e | Move focus to left/right |\n| \u003ckbd\u003ec\u003c/kbd\u003e | Move focus to connections |\n| \u003ckbd\u003er\u003c/kbd\u003e | Move focus to recent tables |\n| \u003ckbd\u003e/\u003c/kbd\u003e | Filter |\n| \u003ckbd\u003e?\u003c/kbd\u003e | Help |\n| \u003ckbd\u003e1\u003c/kbd\u003e, \u003ckbd\u003e2\u003c/kbd\u003e, \u003ckbd\u003e3\u003c/kbd\u003e, \u003ckbd\u003e4\u003c/kbd\u003e, \u003ckbd\u003e5\u003c/kbd\u003e | Switch to records/columns/constraints/foreign keys/indexes tab |\n\n## Command\n| Command | Description |\n| ---- | ---- |\n| \u003ckbd\u003etree\u003c/kbd\u003e | Toggle database tree |\n\n## Configuration\n\nThe location of the file depends on your OS:\n\n- macOS: `$HOME/.config/gobang/config.toml`\n- Linux: `$HOME/.config/gobang/config.toml`\n- Windows: `%APPDATA%/gobang/config.toml`\n\nThe following is a sample config.toml file:\n\n```toml\n[[conn]]\ntype = \"mysql\"\nuser = \"root\"\nhost = \"localhost\"\nport = 3306\n\n[[conn]]\ntype = \"mysql\"\nuser = \"root\"\nhost = \"localhost\"\nport = 3306\npassword = \"password\"\ndatabase = \"foo\"\n\n[[conn]]\ntype = \"postgres\"\nuser = \"root\"\nhost = \"localhost\"\nport = 5432\ndatabase = \"bar\"\n\n[[conn]]\ntype = \"sqlite\"\npath = \"/path/to/baz.db\"\n\n[settings]\n# support: red,green,yellow,blue,magenta,cyan or color code \ncolor = \"red\"\n# page size limit, page_size \u003e= 20 \u0026\u0026 page_size \u003c= 2000\npage_size = 100\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxf098%2Fgobangx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxxf098%2Fgobangx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxxf098%2Fgobangx/lists"}