{"id":15713823,"url":"https://github.com/cloudamqp/amqpcat","last_synced_at":"2026-03-06T16:33:22.832Z","repository":{"id":49545602,"uuid":"260047240","full_name":"cloudamqp/amqpcat","owner":"cloudamqp","description":"CLI tool for publishing to and consuming from AMQP servers","archived":false,"fork":false,"pushed_at":"2026-02-06T14:53:54.000Z","size":54,"stargazers_count":22,"open_issues_count":2,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-02-06T22:23:17.976Z","etag":null,"topics":["amqp-client","crystal"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/cloudamqp.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-29T21:13:30.000Z","updated_at":"2026-02-06T14:53:57.000Z","dependencies_parsed_at":"2023-11-10T18:27:45.412Z","dependency_job_id":"6abbef5b-316b-4351-8c04-91e464c79f77","html_url":"https://github.com/cloudamqp/amqpcat","commit_stats":{"total_commits":80,"total_committers":8,"mean_commits":10.0,"dds":0.5,"last_synced_commit":"89b47897acd1f04e018c331b49c93d5f0497ac6e"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/cloudamqp/amqpcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Famqpcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Famqpcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Famqpcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Famqpcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudamqp","download_url":"https://codeload.github.com/cloudamqp/amqpcat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudamqp%2Famqpcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30185509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["amqp-client","crystal"],"created_at":"2024-10-03T21:33:43.623Z","updated_at":"2026-03-06T16:33:22.763Z","avatar_url":"https://github.com/cloudamqp.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amqpcat\n\nnetcat for AMQP. CLI tool to publish to and consume from AMQP servers.\n\n## Installation\n\nUsing snap:\n\n```\nsnap install amqpcat\n```\n\nUsing Homebrew in OS X:\n\n```\nbrew install cloudamqp/cloudamqp/amqpcat\n```\n\nUsing Docker/Podman:\n\n```\ndocker run -it cloudamqp/amqpcat\n```\n\nFrom source:\n\n```\nbrew install crystal # os x\nsnap install crystal # linux/ubuntu\n\ngit clone https://github.com/cloudamqp/amqpcat.git\ncd amqpcat\nshards build --release --production\n```\n\nThere are more [Crystal installation alternatives](https://crystal-lang.org/install/).\n\n## Usage\n\n```\nUsage: amqpcat [arguments]\n    -P, --producer                   Producer mode, reading from STDIN, each line is a new message\n    -C, --consumer                   Consume mode, message bodies are written to STDOUT\n    -u URI, --uri=URI                URI to AMQP server\n    -e EXCHANGE, --exchange=EXCHANGE Exchange\n    -r ROUTINGKEY, --routing-key=KEY Routing key when publishing\n    -q QUEUE, --queue=QUEUE          Queue to consume from\n    -f FORMAT, --format=FORMAT       Format string (default \"%s\\n\")\n\t\t\t\t     %e: Exchange name\n\t\t\t\t     %r: Routing key\n\t\t\t\t     %s: Body, as string\n\t\t\t\t     \\n: Newline\n\t\t\t\t     \\t: Tab\n    -v, --version                    Display version\n    -h, --help                       Show this help message\n```\n\n## Examples\n\nSend messages to a queue named `test`:\n\n```sh\necho Hello World | amqpcat --producer --uri=$CLOUDAMQP_URL --queue test\n```\n\nConsume from the queue named `test`:\n\n```sh\namqpcat --consumer --uri=$CLOUDAMQP_URL --queue test\n```\n\nWith a temporary queue, consume messages sent to the exchange amq.topic with the routing key 'hello.world':\n\n```sh\namqpcat --consumer --uri=$CLOUDAMQP_URL --exchange amq.topic --routing-key hello.world\n```\n\nConsume from the queue named `test`, format the output as CSV and pipe to file:\n```sh\namqpcat --consumer --uri=$CLOUDAMQP_URL --queue test --format \"%e,%r,\"%s\"\\n | tee messages.csv\n```\n\nPublish messages from syslog to the exchange 'syslog' topic with the hostname as routing key\n```sh\ntail -f /var/log/syslog | amqpcat --producer --uri=$CLOUDAMQP_URL --exchange syslog --routing-key $HOSTNAME\n```\n\nConsume, parse and extract data from json messages:\n```sh\namqpcat --consumer --queue json | jq .property\n```\n\n## Development\n\namqpcat is built with [Crystal](https://crystal-lang.org/)\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/cloudamqp/amqpcat/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Carl Hörberg](https://github.com/carlhoerberg) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudamqp%2Famqpcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudamqp%2Famqpcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudamqp%2Famqpcat/lists"}