r/tui • • Apr 25 '26

Vibe coded SQLite viewer

Post image

I've been lately having a lot of fun creating rich TUIs for all kind of tools, but one that turned out particularly nice is this SQLite viewer I did the AI generated.

https://github.com/mendrik-private/sqv try it out if you want! for now there is only a deb release. But should be buildable with cargo to other systems, too.

511 Upvotes

22 comments sorted by

7

u/SosoTaE Apr 26 '26

Awesome project. I code in vim, mostly, so this tool is the great for me

3

u/mendrique2 Apr 26 '26

Remember to report bugs :) glad you like it!

5

u/braveness24 Apr 26 '26

License: None declared. Under copyright law, that means all rights reserved by default — no one can legally use, modify, or distribute the code without explicit permission from the author.

Contributors: No CONTRIBUTING.md, no issue templates, no pull request templates, no CODE_OF_CONDUCT.md. The project gives no signals that it's open to outside contributions.

3

u/mendrique2 Apr 27 '26

Will fix, licence already added

3

u/braveness24 Apr 26 '26

Bummer, I was going to contribute...

4

u/mendrique2 Apr 27 '26

I added MIT

1

u/braveness24 Apr 29 '26

I may jump in and have a look around. Anything you'd like help with. Anything I should steer clear of?

4

u/ankushbhagat Apr 26 '26

This project is absolutely great but having a emojis making feel kinda cheap so could you remove them from table column.

2

u/mendrique2 May 13 '26

Hey a bit late reply, but the project comes now with a config file where you can change theme colors and utf symbols. ~/.config/sqview/config.toml

1

u/mendrique2 Apr 26 '26

You mean the primary key and fk icons?

1

u/ankushbhagat Apr 26 '26

Emojis like: 🔗, 🔑

8

u/davydany Apr 26 '26

A picture is worth a thousand words. I say keep em!

1

u/Perfect-Walrus1126 Apr 27 '26

you can use font icon like nerd fonts

1

u/TellMeAboutGoodManga Apr 26 '26

having a emojis making feel kinda cheap

which it is, given it's AI-generated.

4

u/Sendo01 Apr 26 '26

Which library you used to build these amazing TUIs

1

u/eimfach Apr 30 '26

Is there an easy way to theme this ?

2

u/mendrique2 Apr 30 '26

Not yet, but config file is already implemented, I can add it to the next release.

1

u/eimfach Apr 30 '26

That'd be nice ! Thanks

2

u/mendrique2 May 13 '26

It has now a config file with theme colors and symbols.

2

u/Ok-Coast-5970 Apr 27 '26

Great work. This Looks cool!

0

u/[deleted] Apr 28 '26

[deleted]

1

u/mendrique2 Apr 28 '26

well it's more of a classic db tool, with writing queries and seeing the results. sqv is optimized for displaying the data in a nice way with color coding, column width optimization. it does a lot of smart things under the hood, if a column contains less than 20 unique values in a column the editor shows a select box. then you can jump from fk cells to the linked table, and move quickly back with backspace. stuff like that. I did it mostly as a small helper for my own workflow and wanted to share it.