Go to file
2022-02-26 14:04:18 +01:00
.github issue templates 2022-02-24 12:28:53 +01:00
.vscode
app native menu, fullscreen refactor 2022-02-26 14:04:18 +01:00
docker docker volumes #232 2022-02-24 12:59:45 +01:00
img screenshot 2022-02-21 20:24:10 +01:00
integration-tests
packages native menu, fullscreen refactor 2022-02-26 14:04:18 +01:00
patches removed unused packages 2021-12-22 16:34:34 +01:00
plugins xml quick export 2022-02-17 17:06:28 +01:00
test #228 use nginx as proxy 2022-02-26 09:54:14 +01:00
.gitignore
CHANGELOG.md screenshot 2022-02-21 20:24:10 +01:00
docker-compose.yaml #228 use nginx as proxy 2022-02-26 09:54:14 +01:00
fillNativeModules.js better-sqlite version 2021-12-26 11:37:27 +01:00
fillPackagedPlugins.js
generatePadFile.js
LICENSE
package.json v4.7.1-docker.5 2022-02-26 09:58:25 +01:00
prettier.config.js
README.md XML in readme 2022-02-10 18:54:22 +01:00
resetPackagedPlugins.js
screenshot800.png
screenshot.png updated readme 2021-12-10 20:42:35 +01:00
setCurrentVersion.js xml plugin initial import 2022-01-30 10:30:47 +01:00
yarn.lock upgraded svelte-select, export fix 2022-02-13 09:14:03 +01:00

NPM version GitHub All Releases dbgate dbgate styled with prettier

DbGate - (no)SQL database client

DbGate is cross-platform database manager. It's designed to be simple to use and effective, when working with more databases simultaneously. But there are also many advanced features like schema compare, visual query designer, chart visualisation or batch export and import.

DbGate is licensed under MIT license and is completely free.

Supported databases

  • MySQL
  • PostgreSQL
  • SQL Server
  • MongoDB
  • SQLite
  • Amazon Redshift
  • CockroachDB
  • MariaDB

Features

  • Table data editing, with SQL change script preview
  • Edit table schema, indexes, primary and foreign keys
  • Compare and synchronize database structure
  • ER diagram
  • Light and dark theme
  • Master/detail views, foreign key lookups
  • Query designer
  • Form view for comfortable work with tables with many columns
  • JSON view on MongoDB collections
  • Explore tables, views, procedures, functions, MongoDB collections
  • SQL editor
    • execute SQL script
    • SQL code formatter
    • SQL code completion
    • Add SQL LEFT/INNER/RIGHT join utility
  • Mongo JavaScript editor, execute Mongo script (with NodeJs syntax)
  • Runs as application for Windows, Linux and Mac. Or in Docker container on server and in web Browser on client.
  • Import, export from/to CSV, Excel, JSON, XML
  • Free table editor - quick table data editing (cleanup data after import/before export, prototype tables etc.)
  • Archives - backup your data in JSON files on local filesystem (or on DbGate server, when using web application)
  • Charts, export chart to HTML page
  • For detailed info, how to run DbGate in docker container, visit docker hub
  • Extensible plugin architecture

How to contribute

Any contributions are welcome. If you want to contribute without coding, consider following:

  • Tell your friends about DbGate or share on social networks - when more people will use DbGate, it will grow to be better
  • Write review on Slant.co or G2
  • Create issue, if you find problem in app, or you have idea to new feature. If issue already exists, you could leave comment on it, to prioritise most wanted issues.
  • Become a backer on Open collective
  • Where a small coding is acceptable for you, you could create plugin. Plugins for new themes can be created actually without JS coding.

Thank you!

Why is DbGate different

There are many database managers now, so why DbGate?

  • Works everywhere - Windows, Linux, Mac, Web browser (+mobile web is planned), without compromises in features
  • Based on standalone NPM packages, scripts can be run without DbGate (example - CSV export )
  • Many data browsing functions based using foreign keys - master/detail, expand columns, expandable form view

Design goals

  • Application simplicity - DbGate takes the best and only the best from old DbGate, DatAdmin and DbMouse .
  • Minimal dependencies
    • Frontend - Svelte, socket.io
    • Backend - NodeJs, ExpressJs, socket.io, database connection drivers
    • JavaScript + TypeScript
    • App - electron
  • Platform independent - runs as web application in single docker container on server, or as application using Electron platform on Linux, Windows and Mac

How to run development environment

Simple variant - runs WEB application:

yarn
yarn start

If you want more control, run WEB application:

yarn # install NPM packages

And than run following 3 commands concurrently in 3 terminals:

yarn start:api # run API on port 3000
yarn start:web # run web on port 5000
yarn lib # watch typescript libraries and plugins modifications

This runs API on port 3000 and web application on port 5000
Open http://localhost:5000 in your browser

If you want to run electron app:

yarn # install NPM packages
cd app
yarn # install NPM packages for electron

And than run following 3 commands concurrently in 3 terminals:

yarn start:web # run web on port 5000 (only static JS and HTML files)
yarn lib # watch typescript libraries and plugins modifications
yarn start:app # run electron app

How to run built electron app locally

This mode is very similar to production run of electron app. Electron doesn't use localhost:5000.

cd app
yarn
yarn
yarn build:app:local
yarn start:app:local

How to create plugin

Creating plugin is described in documentation

But it is very simple:

npm install -g yo # install yeoman
npm install -g generator-dbgate # install dbgate generator
cd dbgate-plugin-my-new-plugin # this directory is created by wizard, edit, what you need to change
yarn plugin # this compiles plugin and copies it into existing DbGate installation

After restarting DbGate, you could use your new plugin from DbGate.