pgqueue-dash

command module
v0.0.0-...-01d4e2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 19 Imported by: 0

README

pgqueue-dash 🐘

A high performance Terminal User Interface (TUI) app for monitoring the pgqueue task queue. Its been built with Golang, Bubble Tea, Bubbles, and Lip Gloss to be a fast, memory efficient and lightweight dashboard.


Features

  • Live Metrics

    • Real-time task state distribution (pending, processing, failed, retrying, completed)
  • Powerful Search

    • PostgreSQL full-text search over task type and error messages
    • Instant filtering without leaving the TUI
  • Task & Cron Inspection

    • Scrollable detail modals
    • Pretty-printed, syntax-highlighted JSON payloads
  • Pagination at Scale

    • Efficient browsing of millions of rows using LIMIT / OFFSET
  • Actionable Operations

    • Retry failed tasks with confirmation
  • Keyboard-First UX

    • Vim-style navigation (h, j, k, l)

Installation

go install github.com/i-christian/pgqueue/cmd/pgqueue-dash@latest

Keyboard Shortcuts

Global
Key Action
q / Ctrl+C Quit
Tab Next tab
Shift+Tab Previous tab
Navigation (Vim-compatible)
Key Action
j / Move down
k / Move up
h / Previous page
l / Next page
Tasks Tab
Key Action
/ Search tasks (full-text)
Enter View task details
r Retry selected task
Esc Close modal / cancel
Cron Jobs Tab
Key Action
Enter View cron job details
h / l Change page

Screenshots 📸

Overview

Overview

Tasks View

Tasks

Task Detail (JSON Payload)

Task Detail


Configuration

Configuration can be provided via environment variables or CLI flags. CLI flags always take precedence.

Environment Variables
export PG_CONN_STRING="postgres://user:pass@localhost:5432/dbname"
pgqueue-dash
pgqueue-dash \
  --dsn="postgres://user:pass@localhost:5432/task_queue?sslmode=disable" \
  --poll=2s

CLI Arguments

Flag Default Description
--dsn "" PostgreSQL connection string
--poll 5s Refresh interval (minimum 500ms)

Documentation

Overview

Package main provides the entry point for the pgqueue-dash TUI. It handles CLI flag parsing, database connection pooling, and program initialization.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL