Show HN: Sqlit – A lazygit-style TUI for SQL databases

Hacker News (score: 43)
Found: December 15, 2025
ID: 2692

Description

Database
Show HN: Sqlit – A lazygit-style TUI for SQL databases I work mostly in the terminal but found myself constantly switching to bloated GUIs like SSMS only for the simple task of browsing tables and run queries. And I didn't find Existing SQL TUIs intuitive, having to read documentation to learn keybindings and CLI flags to connect. Given I had recently switched to linux, I found myself using vs code's sql database extension. Something was awfully wrong.

I wanted something like lazygit for databases – run it, connect, and query and frankly just make it enjoyable to access data.

  Sqlit is a keyboard-driven SQL TUI with:

  - Context-based keybindings (always visible)
  - Neovim-like interface with normal and insert mode for query editing
  - Browse databases, tables, views, stored procedures
  - Adapters for SQL Server, SQLite, PostgreSQL, Turso & more
  - SSH tunneling support
  - Themes (Tokyo Night, Nord, Gruvbox etc.)

  Inspired by lazygit, neovim and lazysql. Built with Python/Textual.
Feedback welcome – especially on which adapters to prioritize next. My vision of sqlit is to make a tool that makes it easy to connect and query data, and to do that, and that thing only, really well.

https://github.com/Maxteabag/sqlit

More from Hacker

Show HN: Mantic.sh – A structural code search engine for AI agents

Show HN: Mantic.sh – A structural code search engine for AI agents Author here! Some context: I published this 48 hours ago and it was auto-listed on MCPMarket (the MCP tools directory). Got 700+ organic downloads with zero marketing—developers were actively searching for exactly this solution.<p>The &quot;Git Accelerator&quot; optimization story:<p>Initially used a file walker that took 6.6s on Chromium. Profiling showed 90% was filesystem I&#x2F;O. The fix: git ls-files returns 480k paths in ~200ms. Added smart heuristics for untracked files (only scan dirs &lt;50k files), bringing total to 0.46s.<p>Why this matters: Agents can&#x27;t wait 10 seconds for search. Sub-500ms makes it feel instant, changing how they explore codebases.<p>Installation:<p><pre><code> Cursor: npx mantic.sh@latest VS Code: npx mantic.sh@latest CLI: npm i -g mantic.sh </code></pre> Limitations: Mantic is optimized for precise queries (&quot;find stripe webhook&quot;) where structure matters. For fuzzy exploratory search, traditional embeddings may still be better. Curious if HN has ideas for hybrid approaches.<p>Happy to answer questions!

Show HN: Turn Markdown into React/Svelte/Vue UI at runtime, zero build step

Show HN: Turn Markdown into React/Svelte/Vue UI at runtime, zero build step

Manticore Search: Fast, efficient, drop-in replacement for Elasticsearch

Manticore Search: Fast, efficient, drop-in replacement for Elasticsearch

No other tools from this source yet.