frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Pam-db – A hybrid TUI <-> CLI tool for SQL databases

https://github.com/eduardofuncao/pam
2•xGoivo•2h ago
I love working in the terminal! In the past few months, I found myself switching more and more of my tools to be cli or tui based. Whenever I have to deal with databases though, I end up switching back to work with GUI tools like dbeaver/datagrip. They are all great, but it feels a little bit much having to spin up these programs just for a quick query.

I've tried existing SQL TUIs like harlequin, sqlit, and nvim-dbee. they're all excellent tools and work great for heavier workflows, but they generally use the same 3-pane (explorer, editor, results) paradigm most of the other GUI tools operate with. I found myself wanting to try a different approach, and came up with pam-db.

Pam's Database Drawer uses a hybrid approach between being a cli and tui tool: cli commands where possible (managing connections and queries, switching contexts), TUI where it makes more sense (exploring results, interactive updates), and your $EDITOR when... editing text (usually for writing queries).

Example workflow with sqlite:

  # Create a connection
  pam init sqlite sqlite3 file:///path/to/mydb.db

  # Add a query with params and default values
  pam add min_salary 'select * from employees where salary > :sal|10000'

  # Run it
  pam run min_salary --sal 300000
This opens an interactive table TUI where you can explore data, export results, update cells, and delete rows. Later you can switch to another database connection using `pam switch <dbname>` and following pam commands will use this db as context.

Features: - Hybrid cli/tui approach - Parameterized saved queries - Interactive table exploration and editing - Connection context management - Support for sqlite, postgres, mysql/mariadb, sqlserver, oracle and more

Built with go and the awesome charm/bubbletea!

Currently in beta, so any feedback is very welcome! Especially on missing features or database adapters you'd like to see.

https://github.com/eduardofuncao/pam

Comments

forgotpwd16•1h ago
That's such cool tool. The parametrized query management/run alone is great idea, and then you've that sweet hybrid cli/tui on top. Then open repo, and was sold even more with that intro.
xGoivo•59m ago
Thanks a lot, glad you liked it! There's a few the office easter eggs throughout the repo :)

Celibacy taught me I'm too clever to find love

https://www.telegraph.co.uk/news/2026/01/27/too-clever-to-find-love/
1•mraniki•35s ago•1 comments

Continued influence of AI-generated deepfake vids despite transparency warnings

https://www.nature.com/articles/s44271-025-00381-9
1•bookofjoe•2m ago•0 comments

Show HN: I gamified a productivity app to help my ADHD friends get things done

https://www.tryhypermonkey.com/
1•jcylim21•3m ago•0 comments

Paty: The most human-like AI agent you'll ever use

https://github.com/gjtorikian/paty
1•gjtorikian•3m ago•0 comments

Despite AI chip boom and record high stock price, ASML to lay off employees

https://www.tomshardware.com/tech-industry/asml-to-lay-off-employees-despite-ai-chip-boom-and-rec...
1•speckx•4m ago•0 comments

Lightweight Sentry.io Alternative with Session Replay

https://rejourney.co/
2•mrashiddev•4m ago•2 comments

Show HN: I Gave Claude Code a Job as a Quant Researcher

https://staunch.ai/docs/guides/eth-hourly-mean-reversion
2•irasigman•5m ago•0 comments

GE-Proton10-29

https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/GE-Proton10-29
1•linux4dummies•5m ago•0 comments

Who's Vibe Coding? The Data Doesn't Match the Hype

https://octomind.dev/blog/whos-actually-vibe-coding-the-data-doesnt-match-the-hype/index.html
3•daniel_roedler•6m ago•1 comments

On Writing Browsers with AI Agents

https://chebykin.org/posts/writing-browsers-with-ai-agents
1•mifydev•6m ago•0 comments

I built an AI slop generator to survive the content economy

https://danielvaughan.org/posts/orpius/2026/01/28/How-to-Build-an-Automatic-AI-Slop-Generator/
1•DanielVaughan•6m ago•0 comments

Show HN: New to System Programmings

1•daniil-gi•7m ago•0 comments

Urban Expansion in the Age of Liberalism

https://worksinprogress.co/issue/urban-expansion-in-the-age-of-liberalism/
1•ortegaygasset•8m ago•0 comments

Death of an Indian Tech Worker

https://restofworld.org/2026/india-tech-workers-crisis-suicide/
1•Brajeshwar•9m ago•0 comments

The surprisingly big health benefits of just a little exercise

https://www.nature.com/articles/d41586-026-00237-0
1•Brajeshwar•9m ago•0 comments

Climbers accidentally discovered evidence of an 80M year-old sea turtle stampede

https://www.livescience.com/animals/extinct-species/rock-climbers-in-italy-accidentally-discovere...
1•Brajeshwar•9m ago•0 comments

Show HN: FASHN VTON v1.5 – open-source virtual try-on model

https://github.com/fashn-AI/fashn-vton-1.5
1•ayaboch•10m ago•0 comments

I reached 2000 on Chess.com by studying solely with my own app

https://chessvision.ai/blog/how-i-reached-2000-on-chess-com-studying-with-my-own-app/
2•pkacprzak•11m ago•0 comments

Google searches per U.S. user fell nearly 20% YoY

https://searchengineland.com/google-searches-per-us-user-fall-report-468051
2•speckx•12m ago•0 comments

Discuss: Linux has been solid for a long time, come on in – the water is fine

3•ottoflux•12m ago•1 comments

Zotac warns component shortages threaten 'survival' of GPU manufacturers

https://www.tomshardware.com/pc-components/gpus/zotac-warns-component-shortages-threaten-the-very...
2•linolevan•13m ago•0 comments

Fpgadsp-Based Software Updating for Satellite Payload Control Systems

https://www.mdpi.com/2226-4310/13/1/74
1•PaulHoule•15m ago•0 comments

SlopOS: A tiny OS with the userland and parts of kernel in Scheme

https://github.com/arjunguha/SlopOS
2•enum•16m ago•1 comments

Spotify's Crackdown on Anna's Archive Domains Hits a Jurisdiction Snag

https://torrentfreak.com/spotifys-crackdown-on-annas-archive-domains-hits-a-jurisdiction-snag/
2•nickthegreek•16m ago•0 comments

Speeding up Pillow's open and save

https://hugovk.dev/blog/2026/faster-pillow/
1•lumpa•18m ago•0 comments

Agentic Vision in Gemini 3 Flash

https://blog.google/innovation-and-ai/technology/developers-tools/agentic-vision-gemini-3-flash/
2•WarmWash•18m ago•0 comments

Managing Unreliable Compilers

https://blog.tonkotsu.ai/p/managing-unreliable-compilers
1•derekcheng08•20m ago•0 comments

Trump's acting cybersecurity chief uploaded sensitive government docs to ChatGPT

https://techcrunch.com/2026/01/28/trumps-acting-cybersecurity-chief-uploaded-sensitive-government...
4•speckx•21m ago•0 comments

Low-Earth orbit is just 2.8 days from disaster

https://www.sciencedaily.com/releases/2026/01/260128075341.htm
1•OutOfHere•21m ago•0 comments

What's the "Best" Month for New Movies and Music? A Statistical Analysis

https://www.statsignificant.com/p/whats-the-best-month-for-new-movies
1•jmsflknr•22m ago•0 comments