Skip to content

A GUI client for GCP Pub/Sub, built in Rust/egui.

Notifications You must be signed in to change notification settings

dmackdev/pubsubman

Repository files navigation

pubsubman

Build Status

A GUI client for GCP Pub/Sub, built in Rust with egui.

Messages View Screenshot

Features

  • Pull or stream messages from topics on automatically created, dedicated subscriptions.
  • Interactive JSON visualisation for message data.
  • Copy message data JSON structures to the clipboard.
  • Filter received messages by ID or JSON contents.
  • Publish new messages, and republish previously received messages.
  • Persistence of received messages.
  • Option to delete created subscriptions when quitting the app.

Usage

pubsubman internally uses the google-cloud-pubsub crate. As such, the GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_APPLICATION_CREDENTIALS_JSON environment variables are respected for authenticating against a GCP Project.

If wishing to use a locally running GCP Pub/Sub emulator, ensure your PUBSUB_EMULATOR_HOST environment variable is set, e.g:

export PUBSUB_EMULATOR_HOST=localhost:8085

From Source

cargo run --release

Binary

cargo install --git https://github.com/dmackdev/pubsubman
pubsubman

CLI Options

Usage: pubsubman [OPTIONS]

Options:
      --emulator-project-id <EMULATOR_PROJECT_ID>
          Optional override for the Pub/Sub Emulator project ID
  -h, --help
          Print help

Remove all egui app data

rm /Users/<USER>/Library/Application\ Support/pubsubman/app.ron

Releases

No releases published

Packages

No packages published