Skip to content
/ dbn-cli Public

DBNav: A lightweight terminal SQLite browser with an ncdu-style interface.

Notifications You must be signed in to change notification settings

amio/dbn-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbn

A lightweight terminal SQLite browser with an ncdu-style interface.

Features

  • Minimal dependencies - Uses Node.js 24+ built-in node:sqlite module
  • Full-screen TUI - ncdu-inspired keyboard navigation

Installation

npm install -g dbn-cli

Usage

dbn <path-to-sqlite-db-file>

Keyboard Shortcuts

  • j/k or ↓/↑ - Navigate
  • Enter or l - Open/view details
  • h or Esc - Go back
  • s - Toggle schema view
  • r - Reload data
  • g/G - Jump to top/bottom
  • q - Quit

Development

npm run dev path/to/database.db   # Run in dev mode
npm test                          # Run tests

License

MIT

About

DBNav: A lightweight terminal SQLite browser with an ncdu-style interface.

Resources

Stars

Watchers

Forks