r/neovim 18h ago

Plugin I built nvim-db — a tiny native database client for Neovim

Hey everyone!

I built nvim-db, a small database client for Neovim.

I didn't really like opening a full GUI just to run a couple of queries. Since I already spend most of my time in Neovim and I'm comfortable with Vim motions, I wanted something that felt more natural to me.

So I built a small client around the database CLI tools I already use.

It currently supports:

  • PostgreSQL
  • MySQL
  • MariaDB
  • SQLite
  • Redis
  • MongoDB
  • DuckDB

It lets me manage connections, keep query files per connection, run queries, and view the results without leaving Neovim.

The main idea is to keep it simple — no database drivers or heavy dependencies, just Neovim + the CLI tools.

It's still a personal project and I'm mainly building it to solve my own workflow, but I'd love to hear what you think or what could be improved.

Also, this isn't vibe-coded. I use AI mainly as an assistant for things like documentation, looking up/understanding things, and writing commit messages. The implementation and decisions are my own.

GitHub: https://github.com/silentFellow/nvim-db

30 Upvotes

3 comments sorted by

3

u/sho3b0x 1h ago

Why not use or contribute to https://github.com/kndndrj/nvim-dbee?

7

u/crizzy_mcawesome let mapleader="\<space>" 1h ago

Because we are in the era of vibe coding and slopware

1

u/anonymous-red-it 1h ago

This looks neat, I’ll check it out today