{"id":21828661,"url":"https://github.com/smartrecruiters/rabbitr","last_synced_at":"2025-04-14T05:51:02.055Z","repository":{"id":37978742,"uuid":"232582845","full_name":"smartrecruiters/rabbitr","owner":"smartrecruiters","description":"CLI tool for easier management of RabbitMQ related tasks","archived":false,"fork":false,"pushed_at":"2023-05-20T12:27:03.000Z","size":11337,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-27T19:41:45.514Z","etag":null,"topics":["admin","cli","go","master-pipeline","rabbitmq","rabbitmq-management"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smartrecruiters.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-08T14:32:02.000Z","updated_at":"2024-03-04T14:03:29.000Z","dependencies_parsed_at":"2024-06-19T11:15:24.979Z","dependency_job_id":"e130b491-0814-4ce5-b1ff-6e6626376117","html_url":"https://github.com/smartrecruiters/rabbitr","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrecruiters%2Frabbitr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrecruiters%2Frabbitr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrecruiters%2Frabbitr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smartrecruiters%2Frabbitr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smartrecruiters","download_url":"https://codeload.github.com/smartrecruiters/rabbitr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830389,"owners_count":21168272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","cli","go","master-pipeline","rabbitmq","rabbitmq-management"],"created_at":"2024-11-27T18:17:07.475Z","updated_at":"2025-04-14T05:51:02.025Z","avatar_url":"https://github.com/smartrecruiters.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003ch1 align=\"center\"\u003erabbitr\u003c/h1\u003e\n\t\u003cp align=\"center\"\u003e\n\t\t\u003ca href=\"https://app.travis-ci.com/github/smartrecruiters/rabbitr\"\u003e\u003cimg alt=\"Build\" src=\"https://app.travis-ci.com/smartrecruiters/rabbitr.svg?branch=master\"\u003e\u003c/a\u003e\n\t\t\u003ca href=\"/LICENSE\"\u003e\u003cimg alt=\"Software License\" src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\"\u003e\u003c/a\u003e\n\t\t\u003ca href=\"https://goreportcard.com/report/github.com/smartrecruiters/rabbitr\"\u003e\u003cimg alt=\"Go Report Card\" src=\"https://goreportcard.com/badge/github.com/smartrecruiters/rabbitr?style=flat-square\"\u003e\u003c/a\u003e\n\t\t\u003ca href=\"http://godoc.org/github.com/smartrecruiters/rabbitr\"\u003e\u003cimg alt=\"Go Doc\" src=\"https://img.shields.io/badge/godoc-reference-brightgreen.svg?style=flat-square\"\u003e\u003c/a\u003e\n\t\u003c/p\u003e\n\u003c/p\u003e\n\u003c!-- MarkdownTOC autolink=\"true\" bracket=\"round\" autoanchor=\"true\" --\u003e\n\n- [Rabbitr](#rabbitr)\n  - [Implemented features](#implemented-features)\n  - [Installation](#installation)\n    - [Tapping the repo](#tapping-the-repo)\n    - [Installing](#installing)\n  - [Configuration](#configuration)\n  - [Usage](#usage)\n  - [Advanced filtering](#advanced-filtering)\n\n\u003c!-- /MarkdownTOC --\u003e\n\n\u003ca id=\"rabbitr\"\u003e\u003c/a\u003e\n# Rabbitr\n\nSmall CLI application written in GoLang for easier management of RabbitMQ related tasks. \n\n\u003ca id=\"implemented-features\"\u003e\u003c/a\u003e\n## Implemented features\n\n - connections\n     - [x] list\n     - [x] close\n - messages\n     - [x] download\n     - [x] upload\n     - [x] move\n - queue  \n     - [x] list\n     - [x] purge  \n     - [x] sync \n     - [x] delete\n - exchange  \n     - [x] list\n     - [x] delete\n - server\n     - [x] add\n     - [x] delete\n     - [x] list\n - shovels     \n     - [x] delete\n     - [x] list\n - policies     \n     - [x] list\n \n\u003ca id=\"installation\"\u003e\u003c/a\u003e\n## Installation\n\n\u003ca id=\"tapping-the-repo\"\u003e\u003c/a\u003e\n#### Tapping the repo\n`brew tap smartrecruiters/public-homebrew-taps git@github.com:smartrecruiters/public-homebrew-taps.git`\n\n\u003ca id=\"installing\"\u003e\u003c/a\u003e\n#### Installing\n`brew update \u0026\u0026 brew install rabbitr`\n \n\u003ca id=\"configuration\"\u003e\u003c/a\u003e\n## Configuration\nAfter downloading or building the source code `rabbitr` application needs to be configured with coordinates to \nRabbitMQ servers that it will operate on. It uses REST API when communicating with RabbitMQ server. \nTo add server configuration invoke:\n\n`rabbitr server add -s my-server-name -api-url http://localhost:15672 -u user -p pass`\n\nAfter the server has been configured it can be used in context of other commands such as `queues`\n\n\u003ca id=\"usage\"\u003e\u003c/a\u003e\n## Usage\nEach command comes with a description and examples. Start with `rabbitr -h` to check all the commands. \nLower level commands provide their own usage, for example `rabbitr queues -h` or `rabbitr queues list -h`\n\n![\"Example flow\"](rabbitr-demo.gif)\n\nExample commands:\n\n```\nrabbitr server add -s my-server-name -api-url http://localhost:15672 -amqp-url amqp://localhost:5672 -u user -p pass\nrabbitr queues list -s my-server-name\nrabbitr queues sync -s my-server-name\nrabbitr queues list -s my-server-name --filter=\"queue.Consumers==0\"\nrabbitr queues list -s my-server-name --filter=\"queue.Consumers==0 \u0026\u0026 queue.Messages\u003e=200\"\nrabbitr queues purge -s my-server-name --filter=\"queue.Consumers==0 \u0026\u0026 queue.Messages\u003e=200\"\nrabbitr messages move -s my-server-name --src-vhost vhost1 --src-queue test-queue --duplicate\"\nrabbitr messages download -s my-server-name -v vhost1 --queue \"sample-queue\" --output-dir /tmp --verbose --max-messages=100\nrabbitr messages upload -s my-server-name -v vhost1 --queue \"sample-queue-new\" --input-dir /tmp --confirm --max-messages=100\n```\n\n\u003ca id=\"advanced-filtering\"\u003e\u003c/a\u003e\n## Advanced filtering\nRabbitr uses [goevaluate](https://github.com/Knetic/govaluate#govaluate) library for dynamic filtering of the resources.\nIt can be useful to determine list of subjects that match given criteria.\nIt allows for creating flexible conditions considering for example only queues with particular name, vhost, defined number of consumers or messages.\nCheck command descriptions for a list of properties available for use on given resource type.     \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartrecruiters%2Frabbitr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmartrecruiters%2Frabbitr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmartrecruiters%2Frabbitr/lists"}