Browse databases, write SQL and edit table data in a native DataGrip-style client.
Open-source alternatief voor DataGrip
Browse databases, write SQL and edit table data in a native DataGrip-style client. Supports PostgreSQL, SQL Server, SQLite, MySQL/MariaDB, Oracle and other documented engines.
READMEjavy-fernandez/datacraft op GitHub
Screenshots show the current source build on Windows with synthetic data. Every capture includes the complete application window and its custom header. Published releases may not yet include all changes shown here.
| Explore | Query and edit | Manage |
|---|---|---|
| Browse databases in a compact list or grid. Inspect tables, columns and records without losing your place. | Write SQL with completion, navigate cells with the keyboard and review pending changes before submitting them. | Organize objects with folders and colors, move data between databases and run engine-specific backups. |
DataCraft starts on an empty Objects workspace. Saved query and table tabs remain available, and selecting a database opens its objects. Layout choices and Save on row change are remembered between sessions.
The Database Explorer loads databases and schemas as you expand them. Object folders start collapsed, so large connections stay manageable.
Connections can be organized into local groups: ⋮ → New Group… or Move to Group in a connection's menu, or drag a connection onto a group (and below the list to take it out). ⋮ → Sort Connections by Name (A–Z) sorts groups and connections ignoring case. Groups, their collapsed state and the order are remembered; deleting a group keeps its connections.
Use List for catalog statistics or Grid for compact names arranged from top to bottom. Select an object to inspect its columns, storage information and engine-provided timestamps. Unavailable metadata is shown explicitly; exact row counts are fetched on request.
Groups and colors are local preferences; they do not change the database. See object browsing and navigation, search and organization.
SQL consoles provide syntax highlighting, completion, formatting, find and replace, query history, execution plans and cancellation. Run the current statement, a selection or the entire script. SQL Server scripts support GO batches.
Schedule SQL or full database backups at a fixed interval, including after closing the window, with the per-user task scheduler. Tasks run the same dialect-aware batches as the console, with time limits on each batch. Tasks for the same SQLite file take turns. The background process removes itself once no enabled task remains, and Turn off pauses every task in one step.
On PostgreSQL, MySQL and MariaDB, Explain Plan (⇧⌘E) shows the plan as a tree with each step's object, estimated rows and cost; Explain Analyze in the editor's menu also runs the statement and adds actual rows and time, asking first when the statement writes. The steps that take most of the cost or time are highlighted, and Show as Text gives the server's own output. Other engines show their text plans.
Redis/Valkey and MongoDB consoles use their own commands, including HGETALL user:1 and db.orders.find({total: {$gte: 100}}). Their result grids are read-only.
The Kusto console takes KQL queries and control commands, such as StormEvents | summarize count() by State and .show tables; requests are separated by blank lines, and the result grids are read-only too.
The Prometheus console takes PromQL, such as rate(http_requests_total[5m]); a comment line like # range: 6h step: 1m above a query turns it into a range query, with one row per sample.
Navigate with arrow keys and Tab; the grid scrolls to keep the active cell visible. Extend selections with Shift, select a column by its name, paste clipboard matrices or fill selected cells with one value.
Pending edits have a distinct highlight. Updates, inserted rows and deletions can be reviewed as generated SQL and submitted in one transaction. Save on row change is optional and disabled by default; for a bulk edit, it submits when you leave the edited row range.
The cell editor supports multiline text and a UTF-8 hex view. The inspector switches between table information, the selected column and the current record. Read-only connections disable editing and DDL.
To read a whole value, Alt+Click (⌥-click on macOS) any cell, double-click a cell that can't be edited, or choose View Value from its context menu: a popup below the cell shows it, with JSON indented, and Esc or a click outside closes it.
Help → Keyboard shortcuts… lists the SQL editor and table navigation shortcuts. Menus, buttons and this list show each platform's own keys: ⌘ ⌥ ⇧ on macOS, Ctrl, Alt and Shift on Windows and Linux.
Choose AND/OR on each condition row to mix operators, and use groups with visible parentheses to control precedence. Add comparison or text conditions and ordered sort columns. Switch to Text mode for custom WHERE and ORDER BY expressions. Editing the draft does not run a query; Apply reloads the data.
Ctrl+F, or Command+F on macOS, searches the currently loaded cells. Find in Schema… searches the database instead. See search behavior and scope.
Expand a table in the Database Explorer to browse its Columns, Keys, Indexes, and Foreign Keys folders. Keys include primary and unique constraints; foreign keys show the referenced table and column pairs, with Open Referenced Table in their context menu. Each metadata folder loads on demand and has a Refresh action, including on read-only connections. The table's context menu opens the matching folder directly. Folders follow the engine's capabilities: ClickHouse includes primary and skipping indexes, while Snowflake exposes keys and foreign keys.
Click a column, key, index, or foreign key to focus its matching column in an open table editor. Expand a key or index to select a specific column; double-click opens the table if needed. Navigation preserves the current row, filters, and pending edits. Open Referenced Table also focuses the referenced column.
.sql files without opening them. They are read in pieces, so a dump of several GB doesn't fill memory, and each engine's separators are respected (GO on SQL Server, DELIMITER on MySQL, / on Oracle). Progress and Cancel are shown; a failing statement asks Retry, Skip, Skip All or Stop, and the summary lists each failure with its file and line.PostgreSQL, MySQL and MariaDB backups require their native dump utilities. SQLite uses its online backup API. SQL Server, Oracle and Snowflake use server-side backup or export facilities with engine-specific privileges and destinations. See backup modes, prerequisites and limitations.
A table's context menu has the same actions in the explorer tree and in Objects. Long operations run in the background with progress and cancellation. Changes show their SQL before you apply them.
| Action | What it does |
|---|---|
| Show DDL | Reads the table's definition from the catalog. When the catalog can't be read, the script is built from cached columns, and the status message says so. |
| Duplicate Table | Copies the structure, or the structure and data, to a new name in the same schema. An existing table is never overwritten. Tables the engine can't copy faithfully, such as those with triggers, are refused. |
| Export Table… | Writes the complete table as CSV, TSV or JSON on its own connection, ignoring the grid's page and filters. An existing file is replaced only if you allow it, and only after the export succeeds. |
| Dump SQL File | Writes structure and data, structure only, or data only as SQL, with full binary and long values. |
| Print Table… | Creates an HTML report of the schema, and optionally all the data, and opens it in your browser to print or save as PDF. |
| Reverse Tables to Model… | Draws the selected tables, their direct neighbours and their declared foreign keys. Drag cards to arrange them, then save the model as JSON or export it as SVG. |
| Set Privileges… | Shows a user's or role's explicit grants on the table and previews the exact GRANT and REVOKE statements before applying them. |
| Create Open Table Shortcut… | Saves a .lnk, .command or .sh launcher that starts DataCraft and opens the table on a saved connection. Credentials stay in the system keychain. |
Engine support differs for each action. SQLite and NoSQL engines don't offer table grants, and relationship models need an engine whose foreign keys DataCraft can read. See table actions, models, exports and privileges.
| Database | Connection and workspace |
|---|---|
| PostgreSQL | SQL console, data editor, schemas, views, roles and logical backups |
| CockroachDB | Through the PostgreSQL driver (+ → CockroachDB: port 26257, defaultdb, root); the explorer, object information and Test Connection recognize it and skip its internal catalogs |
| MySQL / MariaDB | SQL console, data editor, views, users and logical backups |
| SQL Server | SQL console with GO batches, data editor, object management and native backups |
| Oracle | SQL console, data editor, object management and Data Pump exports, SYSDBA and SYSOPER logins (Role); requires Oracle Instant Client |
| SAP HANA | Pure Rust client (port 30015, a tenant database by name, HANA Cloud on 443 with TLS); SQL console with SQLScript blocks (DO BEGIN … END, procedures), data editor, transactions, schemas, tables, views, keys and statistics |
| Firebird | Firebird 3+ over its own wire protocol in pure Rust (SRP login and wire encryption, no client library), port 3050 and a database path or alias; SQL console with SET TERM scripts, data editor and transactions. On Firebird 3, NUMERIC values and times arrive through the client as approximate numbers; Firebird 4+ sends them exactly |
| Snowflake | Native REST connection without Java; password, key-pair, OAuth or programmatic access token authentication |
| SQLite | Local database files, SQL console, data editor and online backups |
| DuckDB | Embedded analytics engine: a .duckdb file or an in-memory database, SQL console, data editor, and direct queries over Parquet, CSV, JSON and Excel files (SELECT * FROM 'sales.parquet'). Its official library (DuckDB 2.0.0) is a downloadable add-on: the connection dialog's Download driver fetches it once from DuckDB's GitHub release and checks its SHA-256, so the app stays small for everyone else |
| ClickHouse | Native TCP protocol (port 9000, or 9440 with TLS checked against the system's certificates), SQL console and data editor for inserts only (updates and deletes are asynchronous mutations, run them from the console). Copies into ClickHouse run without a transaction |
| Redis / Valkey | Native commands, keys grouped by prefix, type/TTL information and read-only result grids |
| MongoDB | mongosh-style commands, collection browsing and read-only result grids |
| InfluxDB 2 | HTTP API (port 8086, HTTPS with "Use TLS") with an API token and an organization; Flux and InfluxQL consoles, buckets and measurements with their tags and fields, and read-only result grids filtered by a Flux predicate and a time range (the last hour by default). InfluxQL needs InfluxDB 2.4+ or a DBRP mapping |
| Kusto / Azure Data Explorer | REST API over HTTPS, signed in with the Azure CLI's account (az login), an Entra ID application (client ID and secret), or no authentication for the Kusto emulator; KQL console with control commands (requests separated by blank lines, as in Kusto Explorer), databases with their tables and materialized views, and read-only result grids filtered and sorted with KQL. Read-only connections are also enforced by the server |
| ODBC / OpenEdge | Any database with an ODBC driver: a DSN or a connection string (+ → OpenEdge fills in Progress OpenEdge's). The driver manager (odbc32.dll, unixODBC or iODBC) is loaded at runtime and the database's ODBC driver is installed separately; SQL console, data editor, transactions and the explorer through the ODBC catalog functions |
| Prometheus / VictoriaMetrics | Prometheus HTTP API (port 9090, HTTPS with "Use TLS"), also under a path prefix for VictoriaMetrics, Mimir or Grafana's proxy (paste http://vmselect:8481/select/0/prometheus as the host); no auth, basic auth, or a bearer token (a password without a user), and extra headers through header.<Name> driver properties (header.X-Scope-OrgID). PromQL console with requests separated by blank lines: instant queries by default, range queries with # range: 6h step: 1m or # start: … end: … comment lines. The explorer lists the metrics with samples in the last hour; the data editor filters them with label matchers and shows raw samples over a range (5m). Result grids are read-only |
✅ supported · ❌ not supported. This table mirrors the capabilities each Driver declares in src/db/mod.rs, and a test checks that both agree.
| Engine | View data | Edit data | Transactions | Cancel query | SSH tunnel | Copy table | Create databases |
|---|---|---|---|---|---|---|---|
| PostgreSQL / CockroachDB⁴ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| MySQL / MariaDB | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| SQL Server | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ |
| Oracle¹ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| SAP HANA | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ |
| Firebird | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ |
| Snowflake | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
| SQLite | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
| DuckDB² | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ |
| ClickHouse³ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ |
| Redis / Valkey | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ |
| MongoDB | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ |
| InfluxDB 2 | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ |
| Kusto / Azure Data Explorer | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Prometheus / VictoriaMetrics | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ |
| ODBC / OpenEdge⁵ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
¹ Oracle needs Oracle Instant Client installed separately.
² DuckDB 2.0.0 is a downloadable add-on: the connection dialog's Download driver fetches it once and checks its SHA-256.
³ ClickHouse's data editor only adds rows: updates and deletes are asynchronous mutations, so run them from the console. Its table copies run without a transaction.
⁴ CockroachDB connects through the PostgreSQL driver: add it with + → CockroachDB, which fills in port 26257, defaultdb and root.
⁵ The ODBC engine loads the system's driver manager at runtime (odbc32.dll on Windows, unixODBC or iODBC on macOS and Linux) and reaches any database with an ODBC driver, such as Progress OpenEdge (+ → OpenEdge fills in its connection string). The database's own ODBC driver is installed separately, as Oracle Instant Client is.
Every engine reached over TCP (all but SQLite, DuckDB, Snowflake, Kusto and ODBC, whose driver makes its own connection) can connect through a bastion host. Tick Use SSH tunnel in the data source's SSH tab and give the bastion's host, port and user, then sign in with a password, a private key (OpenSSH or PEM, with its passphrase) or the running SSH agent. The host and port in General stay the database's address as the bastion reaches it, often localhost.
~/.ssh/known_hosts are trusted, others go to DataCraft's own ssh_known_hosts, and a bastion whose key changed is refused, naming both fingerprints.mongodb+srv address can't be used through a tunnel: point it at one server.PostgreSQL, MySQL and MariaDB data sources choose how the connection is encrypted in the SSL part of the SSH/SSL tab:
| Mode | Encrypted | Certificate |
|---|---|---|
| Prefer (default) | When the server offers it | Not checked |
| Disable | Never | — |
| Require | Always | Not checked |
| Verify CA | Always | Signed by the CA file, or by a CA the system trusts |
| Verify full | Always | Signed as above and issued for the host |
postgresql://, mysql://, mariadb://, sqlserver://, mongodb://, mongodb+srv://, redis://, rediss://, clickhouse:// and duckdb: URLs, and a SQLite or DuckDB file's path. The engine, user, password and SSL settings are filled in; the password goes to the system keychain.dataSources.xml) with their engine, folder and address. Engines DataCraft doesn't support are shown but can't be ticked, existing ones are left unticked and a name in use is imported as a copy. Passwords aren't imported: DataCraft asks for each one on the first connect. DataGrip's files are only read.Support varies by engine, server version and account privileges. Oracle Instant Client must be installed separately for Oracle connections.
Built with Rust, egui/wgpu and Tokio. Database work runs through background workers to keep the interface responsive.
Get packaged builds from the official GitHub Releases.
| Platform | Package | Install |
|---|---|---|
| macOS 11+ · Apple Silicon and Intel | DataCraft-<version>-universal.dmg | Open the disk image and move DataCraft to Applications. |
| Windows 10/11 · x64 | DataCraft-<version>-windows-x64.zip | Extract the archive and run DataCraft.exe. |
| Windows on ARM · ARM64 | DataCraft-<version>-windows-arm64.zip | Extract the archive and run DataCraft.exe. |
| Linux · x64 and ARM64 (glibc 2.35+) | DataCraft-<version>-linux-x64.tar.gz / -linux-arm64.tar.gz | Extract the archive and run DataCraft/datacraft. Needs a Vulkan driver, SQLite, D-Bus and a Secret Service provider (GNOME Keyring or KWallet). |
The macOS app is not notarized and Windows executables are unsigned, so the operating system may show a first-launch warning. Check the release notes for the build you download.
Updates: a few seconds after launch DataCraft checks the latest release on GitHub and, when a newer one is out, shows a notice with a link to its page (Skip This Version hides it until the next one). Check for Updates… checks right away, and the check can be turned off in Settings. Nothing is downloaded or installed automatically.
Use a Rust toolchain with support for the 2024 edition and the native build tools for your platform.
git clone https://github.com/javy-fernandez/datacraft.git
cd datacraft
cargo run --locked
For an optimized Windows executable:
cargo build --locked --release
The output is target/release/datacraft.exe. Native MSVC builds require the Visual Studio C++ build tools and Windows SDK, including the resource compiler used to embed the application icon.
On Linux, the same commands build a native Wayland/X11 app rendered with Vulkan. The build links the system SQLite and D-Bus libraries, so install their development packages first:
sudo dnf install gcc pkgconf-pkg-config sqlite-devel dbus-devel # Fedora
sudo apt install build-essential pkg-config libsqlite3-dev libdbus-1-dev # Debian / Ubuntu
At runtime it needs a Vulkan driver and a Secret Service provider, such as GNOME Keyring or KWallet, to store saved passwords.
On macOS:
scripts/bundle.sh --install
scripts/bundle.sh --universal --dmg
The universal build requires both Apple Silicon and Intel Rust targets. The bundle script uses DATACRAFT_SIGN_IDENTITY, or a certificate named DataCraft, when available; otherwise it uses ad hoc signing. A stable signing identity helps preserve Keychain access between builds.
For x64, install the GNU Windows target and MinGW-w64:
rustup target add x86_64-pc-windows-gnu
brew install mingw-w64
cargo build --locked --release --target x86_64-pc-windows-gnu
For ARM64, use cargo-xwin with LLVM and LLD:
rustup target add aarch64-pc-windows-msvc
cargo install cargo-xwin
brew install llvm lld
cargo xwin build --locked --release --target aarch64-pc-windows-msvc
cargo-xwin downloads the Windows SDK and requires acceptance of Microsoft's license.
| Guide | Contents |
|---|---|
| Database workspace | Inspectors, cell editor, structured filters and pagination |
| Object browser | List/grid layouts, object metadata, row-count semantics and table actions (models, exports, privileges, launchers) |
| Table editor | Keyboard navigation, selections, bulk edits and optional automatic saving |
| Navigation and search | Table search, schema search, local groups/colors and tab management |
| Database backups | Engine support, native utilities, destinations and cancellation |
| Session monitor | Server sessions and queries, blocking chains, cancel and terminate per engine |
| Procedures and functions | Browsing, the routine dialog, editing per engine and executing with parameters |
| Task scheduler | Recurring SQL and backup tasks, the background process, time limits and history |
| Schema compare | Differences between two schemas and the migration script that applies them |
| Dangerous statements and environments | Confirmations before whole-table changes, Development / Staging / Production data sources |
| Manual transactions | Commit / Roll Back in the SQL console, failed transactions and the safeguards |
| Application icon | Shared artwork and native Windows/macOS icon assets |
| Window header | Platform-specific window controls and validation notes |
| Low-power rendering | Software adapters, Remote Desktop and frame statistics |
| Screenshots | Reproduce the full-window documentation captures |
Bug reports, focused pull requests and translation improvements are welcome. Include your operating system, database engine/version and steps to reproduce the issue. Use synthetic data in screenshots and examples.
Run the relevant checks before submitting a change:
cargo test --locked --all-targets
cargo clippy --locked --all-targets -- -D warnings
cargo fmt --all -- --check
Live integration tests require separately configured database services. Run only the relevant ignored tests against a disposable environment; do not run the entire ignored suite against personal or production databases.
Translations live in locales/<code>.json, keyed by their English labels. The MySQL/MariaDB and PostgreSQL user editors were inspired by DBCraft by DarkSoe.
Thank you to everyone who has contributed code, fixes and translations to DataCraft.
| # | Contributor | Commits | Share | Lines changed | Share |
|---|---|---|---|---|---|
| 1 | javy-fernandez | 111 | 48.5% | +45,714 / −3,621 | 25.0% |
| 2 | YoSiem | 90 | 39.3% | +51,002 / −7,822 | 29.8% |
| 3 | Ivan Temchenko | 10 | 4.4% | +55,154 / −12,989 | 34.6% |
| 4 | Claude | 8 | 3.5% | +6,399 / −41 | 3.3% |
| 5 | moein | 7 | 3.1% | +10,476 / −856 | 5.7% |
| 2 others | 3 | 1.3% | 3,116 | 1.6% |
Counted from non-merge commits on main; merge commits, bots and Cargo.lock are excluded.
The chart is refreshed by the contributors workflow.
DataCraft is available under MIT or Apache-2.0, at your option. Bundled fonts retain their own SIL Open Font License 1.1; see the font notices.
Laatst bijgewerkt vanaf GitHub: 4 uur geleden
GitHub-cijfers worden een paar keer per dag ververst.
Log in of maak een account aan om te reageren.
Nog geen reacties. Wees de eerste.
Laat het zien: een live kaart met je positie en beoordeling, die zichzelf bijwerkt.
Liever de kleine? Voeg toe: ?style=flat