Go to file
Jan Prochazka b551db8774 changelog
2021-10-06 21:38:45 +02:00
.github try to fix checkout action 2021-09-28 08:15:08 +02:00
.vscode #122 2021-05-27 14:25:20 +02:00
app db search in main menu 2021-09-28 10:10:58 +02:00
docker
integration-tests recreate object warning 2021-09-16 10:48:46 +02:00
packages hotkey for format SQL code 2021-10-05 21:59:47 +02:00
patches upgraded svelte 2021-09-25 12:55:30 +02:00
plugins #175 try to fix postgres analyser 2021-10-03 20:35:31 +02:00
test
.gitignore [ackaged plugins for electron optimalization 2021-05-20 10:22:08 +02:00
CHANGELOG.md changelog 2021-10-06 21:38:45 +02:00
fillNativeModules.js try to fix sqlite problem 2021-05-13 08:41:45 +02:00
fillPackagedPlugins.js [ackaged plugins for electron optimalization 2021-05-20 10:22:08 +02:00
generatePadFile.js
LICENSE
package.json v4.3.2 2021-10-06 20:48:24 +02:00
prettier.config.js fix 2021-01-21 13:54:14 +01:00
README.md Update README.md 2021-07-07 15:52:40 -04:00
resetPackagedPlugins.js [ackaged plugins for electron optimalization 2021-05-20 10:22:08 +02:00
screenshot800.png screenshot 800x600 2021-01-21 17:53:52 +01:00
screenshot.png readme 2021-04-15 20:16:52 +02:00
setCurrentVersion.js query-splitter - documentation, publish 2021-06-03 07:40:35 +02:00
yarn.lock upgraded dependencies 2021-09-28 18:14:47 +02:00

NPM version GitHub All Releases dbgate dbgate styled with prettier

DbGate - database administration tool

DbGate modern, fast and easy to use database manager

Supported databases:

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

Screenshot

Features

  • Table data editing, with SQL change script preview
  • Light and dark theme
  • Master/detail views
  • 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
  • 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
  • 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:

  • 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.
  • Tell your friends about DbGate or share on social networks - when more people will use DbGate, it will grow to be better

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 (on screenshot above)

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 - will run as web application in single docker container on server, or as application using Electron platform on Linux, Windows and Mac

Plugins

Plugins are standard NPM packages published on npmjs.com.
See all existing DbGate plugins.
Visit dbgate generator homepage to see, how to create your own plugin.

Currently following extensions can be implemented using plugins:

  • File format parsers/writers
  • Database engine connectors

Basic set of plugins is part of DbGate git repository and is installed with app. Additional plugins pust be downloaded from NPM (this task is handled by DbGate)

How to run development environment

yarn
yarn start

If you want to make modifications in libraries or plugins, run library compiler in watch mode in the second terminal:

yarn lib

Open http://localhost:5000 in your browser

You could run electron app (requires running localhost:5000):

cd app
yarn
yarn start

How to run built electron app locally

This mode is very similar to production run of electron app. Electron app forks process with API on dynamically allocated port, works with compiled javascript files and uses compiled version of plugins (doesn't use localhost:5000)

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