• This repository has been archived on 04/Mar/2021
  • Stars
    star
    548
  • Rank 81,119 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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


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