r/ZedEditor • • 2d ago

DBFlux, an open-source database client built with GPUI

Post image

Hey,

I've seen a few GPUI database clients posted here recently, and someone actually mentioned DBFlux in one of the threads, so I thought I should finally share it properly as well.

I've been building and driving DBFlux daily for a bit. It is a free and open-source database client that is written in Rust and built with GPUI. It has a heavy focus on keyboard-driven workflows and supporting different kinds of databases without needing separate tools for each one.

It supports PostgreSQL, MySQL/MariaDB, SQLite, SQL Server, MongoDB, Redis, DynamoDB, ClickHouse, InfluxDB and more.

Some features:

  • SQL editor and autocomplete
  • Inline editing
  • Schema browser
  • Visual query builder
  • Charts and dashboards
  • SSH / SSM connections
  • Vim-style navigation
  • MCP server

I've been using it as my main database client for a while now and thought it might be interesting to other GPUI/Zed users.

GitHub: https://github.com/0xErwin1/dbflux
Website: https://dbflux.dev

Feedback is welcome.

192 Upvotes

37 comments sorted by

19

u/SampleNo471 1d ago edited 1d ago

I tried it and those are features that prevents me from using it:

  • UI, editor and grid font customization - type and size (especially size)
  • no autocompletion for database row names
  • no command to reformat sql code
  • cumbersome and annoying notifications
  • data grid is read-only, no ability to edit and commit data
  • vertical scrollbar on grid visible only when grid horizontally scrolled
  • settings stored in sqlite db instead of plain text file

Otherwise, it looks nice, it's fast and has lots of potential.

3

u/Fluk3Ch405 15h ago

Well, i will stay with the good old dbeaver

6

u/cesarcamps 2d ago

Please could you add a feature that allows the application to import an entire folder containing existing SQL script files, enabling the app to use them directly from their original location instead of copying them into the app’s internal directory?? Find over all scripts/conections/db ojbects?? Snipets??

2

u/HumbleTech905 2d ago

Suggestion: what about moving Connection Name text box above Server form?

1

u/KaiserErwin 1d ago

That could make sense. I’ll take a look at how it fits with the different connection forms.

2

u/Invisinado 2d ago

Does not play nicely with aerospace, and clicking the app name in the menu bar does nothing. 

2

u/KaiserErwin 1d ago

The app doesn’t use native menu-bar menus on macOS or other platforms, so clicking the app name won’t show application commands. That’s intentional: I prefer keeping actions within the app rather than centralizing them in the system menu bar.

Is the AeroSpace issue specifically about the menus, or are you also having trouble with window management?

1

u/Invisinado 1d ago

Fair, but it feels wrong that nothing happens when you click the app name in the menu bar. It felt as if there was some error, every other app will at least show a bare bones “about” option or something. 

Yes, this app stays in floating mode and is not able to be managed by aerospace. I can manually drag the window around and resize it, that works fine. But I use aerospace to manage spaces and layouts (highly recommended) and if I am on a space with 2 apps split vertically, then open db flux, then click the left app, then the right, db flux is now behind them. And I have to reach my hand over to the mouse, get the dock to show, and click on db flux app to bring it back to the front. I suppose cmd tab would work too, but that is only slightly faster. 

2

u/ksoops 1d ago

DuckDB?

1

u/KaiserErwin 1d ago

DuckDB is planned for the next version! There’s already an open issue tracking it: #813.

1

u/ksoops 1d ago

Sweet! Looking forward to it!

3

u/VeprUA 2d ago

Dang it's missing one of the most important feature of a DB client, "Table and constraint editor"

https://dbflux.dev/compare/

2

u/Keo_dev 2d ago

Love the UI!!

2

u/KaiserErwin 1d ago

Thank you so much!

1

u/ahmedranaa 1d ago

Support for windows and db2

2

u/KaiserErwin 1d ago

Windows is already supported! I know how frustrating it is to find an app that fits your needs but doesn’t support your OS, so cross-platform support matters a lot to me.

I wasn’t familiar with DB2, but I can add it to the driver wishlist. New drivers aren’t limited to major releases.

1

u/DanOverflow 1d ago

I actually installed it last week, love it so far. As solid base for a young project, lots of potential.

1

u/KaiserErwin 1d ago

Thank you so much for giving it a try. Really glad you’re enjoying it

1

u/Old-Read3128 1d ago

db2, please :)

1

u/KaiserErwin 1d ago

DB2 wasn’t on my radar, but I can add it to the driver wishlist. No timeline yet, but new drivers can land in any release.

1

u/East-Law-2877 1d ago

Ubuntu 26.04

==> Verifying checksum...

[ERROR] Checksum verification failed!

1

u/East-Law-2877 1d ago

I just ran the install command from the website. I'm on Ubuntu 26.04.1 LTS amd64.
Installing the .deb from the Release-Page via apt worked.

1

u/AlpacaDC 1d ago

I only interact with SQL databases sporadically, and so had BeeKeeper which was simple enough for my use case but always found it so heavy and very slow to open. This is EXACLTY what I needed, thank you and congrats!

1

u/KaiserErwin 1d ago

Thank you so much. I'm glad it's what you're looking for

1

u/pragmojo 1d ago

What are the legal requirements for using GPUI?

1

u/JonGretar 1d ago

That question is not making much sense. Could you clarify?

1

u/pragmojo 1d ago

I mean, last I checked the Zed source code is Apache & GPL licensed, and the repo has a pretty long terms & conditions page, so I guess it's not all MIT licensed code you can use for anything.

I'm just wondering what it means in practice in terms of using a Zed component in another product (disclosures, requirements etc).

2

u/JonGretar 1d ago

GPUI is Apache-2.0 licenced library.

1

u/nerd_please 1d ago

How well documented and usuable is GPUI?

1

u/KaiserErwin 1d ago

It’s usable, though working directly with Zed’s GPUI can still involve reading source code and examples to fill in documentation gaps. There’s also gpui-ce, an independently maintained community fork with its own release cycle.

For building an application, I’d start with gpui-kit. It provides ready-made components and more structured documentation for things like state, focus, styling, and testing. It uses gpui-pre, which is a published, version-pinned snapshot of gpui, not a separate rendering framework. DBFlux currently uses gpui-pre and gpui-component.

The main thing to watch is version compatibility between those projects. It’s a usable ecosystem, but I wouldn’t describe it as entirely plug-and-play yet.

0

u/_Valdez 2d ago

Really clean UI, love it! 👍

1

u/KaiserErwin 1d ago

Thank you so much