kue is a terminal user interface (tui) application designed for managing aws sqs (simple queue service). It provides an intuitive and efficient way to interact with your sqs queues directly from the terminal. With Kue, you can easily create, delete, and manage messages within your queues, making it an essential tool for engineers who prefer working within a terminal environment.
queue: overview, details, creation, delete, purge, dead-letter redrivemessage: details, send, delete
The header shows the aws profile, region, account and endpoint in use, and the number of queues and messages across them.
q: back, quit on the queue overviewesc: back, clear the filter or selection, cancel a dialog or form; never quitsctrl+c: quit↑,k: up↓,j: down→,l: right←,h: leftg,G: first/last row, top/bottom of a message bodypgup,pgdn: page up/downtab,shift+tab: next/previous field; on a message, scroll its attributes rather than its body when there are more than fitctrl+n: create queue/send messagectrl+d: delete queue/messagectrl+p: purge queuectrl+r: redrive a dead-letter queuectrl+s: send (in the send view)y,n: answer a yes/no dialogc: copy message body/queue arnr: refresh, also while pausedp: pause/resume the automatic refresh?: helpenter: viewspace: select/: filter
Deleting a queue asks to type its name first, and purging a queue with more than 10 messages asks twice. Pressing esc on a form with input asks again before discarding it.
| flag | description |
|---|---|
--theme |
auto, the default, follows the terminal; dark and light paint their own background |
--debug |
write debug logs to debug.log |
--version |
print the version and exit |
--help |
print the flags and exit |
The aws profile, region and endpoint come from the environment and the shared aws config, e.g. AWS_PROFILE, AWS_REGION and AWS_ENDPOINT_URL.
queue overview
queue details
message details
message creation
message delete
queue creation
queue delete
Kue uses LocalStack running in Docker to simulate AWS SQS locally. This allows you to develop and test without connecting to real AWS services.
- docker
- aws cli
- jq
- earthly
- vhs with
ffmpegandttyd, only to record the readme gif and screenshots - go 1.26+
docker compose up -dThe compose file pins localstack/localstack:4.14.0, the last community release. Later images quit on start without a LOCALSTACK_AUTH_TOKEN.
The project includes an Earthfile with targets to quickly set up sample SQS queues and messages for development. They point the aws cli at LocalStack with its test credentials, so your own aws profile is never used.
create sample queues and messages
earthly +seedlist the queues
earthly +listTo show the changes made in the repository readme, the following command can be ran which automatically creates the preview gif & screenshots:
earthly +vhsStart LocalStack, create the sample resources, build and run in one go:
earthly +dev
AWS_ENDPOINT_URL=http://localhost:4566 AWS_REGION=us-east-1 AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test ./build/kontrolplane/kueSeeding skips queues that already exist, so this can be rerun. LocalStack keeps nothing across restarts, so docker compose restart starts from scratch.










