{"id":39146837,"url":"https://github.com/valinurovam/garagemq","last_synced_at":"2026-01-17T21:36:19.492Z","repository":{"id":34269446,"uuid":"145136583","full_name":"valinurovam/garagemq","owner":"valinurovam","description":"AMQP message broker implemented with golang","archived":false,"fork":false,"pushed_at":"2024-05-13T10:13:06.000Z","size":6292,"stargazers_count":228,"open_issues_count":11,"forks_count":39,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-06-18T17:09:54.753Z","etag":null,"topics":["amqp","amqp-server","amqp0-9-1","message-broker","messaging","pubsub","queue","rabbitmq"],"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/valinurovam.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-17T15:22:52.000Z","updated_at":"2024-06-15T15:53:07.000Z","dependencies_parsed_at":"2023-01-15T06:00:41.618Z","dependency_job_id":"1ef46b43-532c-44a0-8244-259702e333e8","html_url":"https://github.com/valinurovam/garagemq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/valinurovam/garagemq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valinurovam%2Fgaragemq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valinurovam%2Fgaragemq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valinurovam%2Fgaragemq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valinurovam%2Fgaragemq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valinurovam","download_url":"https://codeload.github.com/valinurovam/garagemq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valinurovam%2Fgaragemq/sbom","scorecard":{"id":915304,"data":{"date":"2025-08-11","repo":{"name":"github.com/valinurovam/garagemq","commit":"becd122222a0028eb64343f4d7391ee2ec7a321e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 1/5 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/valinurovam/garagemq/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/valinurovam/garagemq/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/valinurovam/garagemq/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/valinurovam/garagemq/build.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:18: pin your Docker image by updating alpine to alpine@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: goCommand not pinned by hash: .github/workflows/build.yml:25","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 goCommand dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"64 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-4www-5p9h-95mh","Warn: Project is vulnerable to: GHSA-9gqv-wp59-fq42","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-hxm2-r34f-qmc5","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GO-2025-3372 / GHSA-6wxm-mpqj-6jpf","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T20:44:28.983Z","repository_id":34269446,"created_at":"2025-08-24T20:44:28.983Z","updated_at":"2025-08-24T20:44:28.983Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28518636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: 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","amqp-server","amqp0-9-1","message-broker","messaging","pubsub","queue","rabbitmq"],"created_at":"2026-01-17T21:36:18.183Z","updated_at":"2026-01-17T21:36:19.478Z","avatar_url":"https://github.com/valinurovam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GarageMQ [![Build Status](https://github.com/valinurovam/garagemq/actions/workflows/build.yml/badge.svg)](https://github.com/valinurovam/garagemq/actions) [![Coverage Status](https://coveralls.io/repos/github/valinurovam/garagemq/badge.svg)](https://coveralls.io/github/valinurovam/garagemq) [![Go Report Card](https://goreportcard.com/badge/github.com/valinurovam/garagemq)](https://goreportcard.com/report/github.com/valinurovam/garagemq)\n\nGarageMQ is a message broker that implement the Advanced Message Queuing Protocol (AMQP). Compatible with any AMQP or RabbitMQ clients (tested streadway/amqp and php-amqp lib)\n\n#### Table of Contents\n- [Goals of this project](#goals-of-this-project)\n- [Demo](#demo)\n- [Installation and Building](#installation-and-building)\n  - [Docker](#docker)\n  - [Go get](#go-get)\n  - [Execution flags](#execution-flags)\n  - [Default config params](#default-config-params)\n- [Performance tests](#performance-tests)\n  - [Persistent messages](#persistent-messages)\n  - [Transient messages](#transient-messages)\n- [Internals](#internals)\n  - [Backend for durable entities](#backend-for-durable-entities)\n  - [QOS](#qos)\n  - [Admin server](#admin-server)\n- [TODO](#todo)\n- [Contribution](#contribution)\n\n## Goals of this project\n\n- Have fun and learn a lot\n- Implement AMQP message broker in Go\n- Make protocol compatible with RabbitMQ and standard AMQP 0-9-1.\n\n\n## Demo\nSimple demo server on Digital Ocean, ```2 GB Memory / 25 GB Disk / FRA1 - Ubuntu Docker 17.12.0~ce on 16.04```\n\n|     Server    | Port | Admin port | Login | Password | Virtual Host |\n|:-------------:|:----:|:----------:|:-----:|:--------:|:------------:|\n| 46.101.117.78 | 5672 |    15672    | guest |   guest  |       /      |\n\n- [AdminServer - http://46.101.117.78:15672/](http://46.101.117.78:15672/)\n- Connect uri - ```amqp://guest:guest@46.101.117.78:5672```\n\n## Installation and Building\n### Docker\n\nThe quick way to start with GarageMQ is by using `docker`. You can build it by your own or pull from docker-hub \n```shell\ndocker pull amplitudo/garagemq\ndocker run --name garagemq -p 5672:5672 -p 15672:15672 amplitudo/garagemq\n```\nor\n\n```shell\ngo get -u github.com/valinurovam/garagemq/...\ncd $GOPATH/src/github.com/valinurovam/garagemq\ndocker build -t garagemq .\ndocker run --name garagemq -p 5672:5672 -p 15672:15672 garagemq\n\n```\n### Go get\nYou can also use [go get](https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies): ```go get -u github.com/valinurovam/garagemq/...```\n```shell\ngo get -u github.com/valinurovam/garagemq/...\ncd $GOPATH/src/github.com/valinurovam/garagemq\nmake build.all \u0026\u0026 make run\n```\n### Execution flags\n| Flag | Default | Description | ENV |\n| :--- | :--- | :--- | :--- |\n| --config | [default config](#default-config-params) | Config path | GMQ_CONFIG |\n| --log-file | stdout | Log file path or `stdout`, `stderr`| GMQ_LOG_FILE |\n| --log-level | info | Logger level | GMQ_LOG_LEVEL |\n| --hprof | false | Enable or disable [hprof profiler](https://golang.org/pkg/net/http/pprof/#pkg-overview) | GMQ_HPROF |\n| --hprof-host | 0.0.0.0 | Profiler host | GMQ_HPROF_HOST |\n| --hprof-port | 8080 | Profiler port | GMQ_HPROF_PORT |\n\n### Default config params\n```yaml\n# Proto name to implement (amqp-rabbit or amqp-0-9-1)\nproto: amqp-rabbit\n# User list\nusers:\n  - username: guest\n    password: 084e0343a0486ff05530df6c705c8bb4 # guest md5\n# Server TCP settings\ntcp:\n  ip: 0.0.0.0\n  port: 5672\n  nodelay: false\n  readBufSize: 196608\n  writeBufSize: 196608\n# Admin-server settings\nadmin:\n  ip: 0.0.0.0\n  port: 15672\nqueue:\n  shardSize: 8192\n  maxMessagesInRam: 131072\n# DB settings\ndb:\n  # default path \n  defaultPath: db\n  # backend engine (badger or buntdb) \n  engine: badger\n# Default virtual host path  \nvhost:\n  defaultPath: /\n# Security check rule (md5 or bcrypt)\nsecurity:\n  passwordCheck: md5\nconnection:\n  channelsMax: 4096\n  frameMaxSize: 65536\n```\n\n## Performance tests\n\nPerformance tests with load testing tool https://github.com/rabbitmq/rabbitmq-perf-test on test-machine:\n``` \nMacBook Pro (15-inch, 2016)\nProcessor 2,6 GHz Intel Core i7\nMemory 16 GB 2133 MHz LPDDR3\n```\n### Persistent messages\n```shell\n./bin/runjava com.rabbitmq.perf.PerfTest --exchange test -uri amqp://guest:guest@localhost:5672 --queue test --consumers 10 --producers 5 --qos 100 -flag persistent\n...\n...\nid: test-235131-686, sending rate avg: 53577 msg/s\nid: test-235131-686, receiving rate avg: 51941 msg/s\n```\n### Transient messages\n```shell\n./bin/runjava com.rabbitmq.perf.PerfTest --exchange test -uri amqp://guest:guest@localhost:5672 --queue test --consumers 10 --producers 5 --qos 100\n...\n...\nid: test-235231-085, sending rate avg: 71247 msg/s\nid: test-235231-085, receiving rate avg: 69009 msg/s\n```\n\n## Internals\n\n### Backend for durable entities\nDatabase backend is changeable through config `db.engine` \n```\ndb:\n  defaultPath: db\n  engine: badger\n```\n```\ndb:\n  defaultPath: db\n  engine: buntdb\n```\n- Badger https://github.com/dgraph-io/badger\n- BuntDB https://github.com/tidwall/buntdb\n\n### QOS\n\n`basic.qos` method implemented for standard AMQP and RabbitMQ mode. It means that by default qos applies for connection(global=true) or channel(global=false). \nRabbitMQ Qos means for channel(global=true) or each new consumer(global=false).\n\n### Admin server\n\nThe administration server is available at standard `:15672` port and is `read only mode` at the moment. Main page above, and [more screenshots](/readme) at /readme folder\n\n![Overview](readme/overview.jpg)\n\n## TODO\n- [ ] Optimize binds\n- [ ] Replication and clusterization\n- [ ] Own backend for durable entities and persistent messages\n- [ ] Migrate to message reference counting\n\n## Contribution\nContribution of any kind is always welcome and appreciated. Contribution Guidelines in WIP\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalinurovam%2Fgaragemq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalinurovam%2Fgaragemq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalinurovam%2Fgaragemq/lists"}