Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sqlectron/sqlectron-term
A simple and lightweight SQL client terminal-based interface with cross database and platform support
https://github.com/sqlectron/sqlectron-term
Last synced: 24 days ago
JSON representation
A simple and lightweight SQL client terminal-based interface with cross database and platform support
- Host: GitHub
- URL: https://github.com/sqlectron/sqlectron-term
- Owner: sqlectron
- License: mit
- Archived: true
- Created: 2015-09-16T14:08:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T01:11:22.000Z (over 8 years ago)
- Last Synced: 2024-10-28T14:51:42.968Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://sqlectron.github.io/
- Size: 107 KB
- Stars: 548
- Watchers: 22
- Forks: 49
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - sqlectron-term - A simple and lightweight SQL client terminal-based interface with cross database and platform support (JavaScript)
README
A simple and lightweight SQL client with cross database and platform support.![demo](https://sqlectron.github.io/demos/sqlectron-demo-term-v1.0.0.gif)
#### Current supported databases
* PostgreSQL
* MySQLDo you want to support another SQL database? Please send a pull request to [sqlectron-core](https://github.com/sqlectron/sqlectron-core).
## Install
```bash
npm install -g sqlectron-term
```## GUI
SQLECTRON has also a GUI interface called [sqlectron-gui](https://github.com/sqlectron/sqlectron-gui).
## Configuration
See the available configuration [here](https://github.com/sqlectron/sqlectron-core#configuration).
## Development
Running the application:
```bash
npm install
npm run dev
```### Routes
- /server/list
- /server/add
- /server/:id/edit
- /server/:id/remove
- /server/:id/database/:database
- /server/:id/database/:database/databases### Features
- manage servers
- list databases
- list tables
- execute query### TODO
- [x] highlight box based on focus
- [x] create shortcuts component with ability to add and remove shortcuts on focus / blur
- [x] show shortcuts based on focused box
- [x] execute query
- [x] show results
- [x] set query and execute on table selection
- [x] try to enhance shortcut control to work directly on screen
- [x] list databases
- [x] improve db connect action (work similar to fetchTablesIfNeeded)
- [x] improve style handling
- [x] improve servers handling (work similar to fetchTablesIfNeeded)
- [x] improve server add / edit screen (similar to database container)
- [ ] improve error handling of add / edit server screen
- [ ] show selected table name in status bar