Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.
/ sqlectron-term Public archive

A simple and lightweight SQL client terminal-based interface with cross database and platform support

License

Notifications You must be signed in to change notification settings

sqlectron/sqlectron-term

Repository files navigation


A simple and lightweight SQL client with cross database and platform support.

demo

Current supported databases

  • PostgreSQL
  • MySQL

Do you want to support another SQL database? Please send a pull request to sqlectron-core.

Install

npm install -g sqlectron-term

GUI

SQLECTRON has also a GUI interface called sqlectron-gui.

Configuration

See the available configuration here.

Development

Running the application:

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

  • highlight box based on focus
  • create shortcuts component with ability to add and remove shortcuts on focus / blur
  • show shortcuts based on focused box
  • execute query
  • show results
  • set query and execute on table selection
  • try to enhance shortcut control to work directly on screen
  • list databases
  • improve db connect action (work similar to fetchTablesIfNeeded)
  • improve style handling
  • improve servers handling (work similar to fetchTablesIfNeeded)
  • improve server add / edit screen (similar to database container)
  • improve error handling of add / edit server screen
  • show selected table name in status bar