/node-systray

A cloud SQL proxy switch

Primary LanguageTypeScriptMIT LicenseMIT

node-systray

SysTray2 library for nodejs using systray-portable (a portable version of the go systray library).

cloud SQL proxy switch that you can dock into your traybar.

  • can start/stop proxy on the fly
  • a tick is indicating status for each listed instances
  • shutdown running proxies when closing traybar

Install

npm install
npm run build

Usage

npm start

Configuration

Edit file ./proxiesConfiguration.json

{
  "configs": {
    "dbInstanceTitle": {
      "cluster": "gcloud-projectName",
      "instance": "dbInstanceName",
      "port": 54320
    },
    ...
  }
}
  • with gcloud-projectName
    • bcm-development
    • ...
  • with dbInstanceName & dbInstanceTitle (could be identical to dbInstanceName)
    • cascade
    • atlantis-14
    • ...

Known Issues