{"id":47762745,"url":"https://github.com/taskcluster/pulse-go","last_synced_at":"2026-04-03T05:49:07.185Z","repository":{"id":27284672,"uuid":"30758158","full_name":"taskcluster/pulse-go","owner":"taskcluster","description":"Go (golang) client for pulse.mozilla.org","archived":false,"fork":false,"pushed_at":"2024-07-09T12:48:09.000Z","size":83,"stargazers_count":0,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-15T07:28:58.055Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taskcluster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-02-13T13:49:15.000Z","updated_at":"2024-07-09T12:48:24.000Z","dependencies_parsed_at":"2022-09-07T03:51:17.882Z","dependency_job_id":null,"html_url":"https://github.com/taskcluster/pulse-go","commit_stats":null,"previous_names":["petemoore/pulse-go"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/taskcluster/pulse-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fpulse-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fpulse-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fpulse-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fpulse-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taskcluster","download_url":"https://codeload.github.com/taskcluster/pulse-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskcluster%2Fpulse-go/sbom","scorecard":{"id":869257,"data":{"date":"2025-08-11","repo":{"name":"github.com/taskcluster/pulse-go","commit":"0eaa986e1fb4b79262a1ffbf092ead7eca3262b4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Code-Review","score":1,"reason":"Found 3/26 approved changesets -- score normalized to 1","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":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Mozilla Public License 2.0: 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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/taskcluster/.github/SECURITY.md:1","Info: Found linked content: github.com/taskcluster/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/taskcluster/.github/SECURITY.md:1","Info: Found text in security policy: github.com/taskcluster/.github/SECURITY.md:1"],"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 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"}}]},"last_synced_at":"2025-08-24T03:38:56.811Z","repository_id":27284672,"created_at":"2025-08-24T03:38:56.812Z","updated_at":"2025-08-24T03:38:56.812Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31337184,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T04:42:29.251Z","status":"ssl_error","status_checked_at":"2026-04-03T04:42:12.667Z","response_time":107,"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":[],"created_at":"2026-04-03T05:49:06.427Z","updated_at":"2026-04-03T05:49:07.179Z","avatar_url":"https://github.com/taskcluster.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" src=\"http://media.taskcluster.net/logo/logo-96x120.png\" /\u003e\n\n# pulse-go\n\n[![Build Status](https://secure.travis-ci.org/taskcluster/pulse-go.png)](http://travis-ci.org/taskcluster/pulse-go)\n[![GoDoc](https://godoc.org/github.com/taskcluster/pulse-go?status.png)](https://godoc.org/github.com/taskcluster/pulse-go)\n\nA go (golang) library for consuming mozilla pulse messages (http://pulse.mozilla.org/).\n\n## This project contains three go packages:\n\n# Package 1: \"github.com/taskcluster/pulse-go\"\n\nThis is a command line interface for consuming mozilla pulse messages, written in go.\n\nThe best way to see how to use this command line tool, is to run it with the --help option:\n\n```\npmoore@home:~ $ pulse-go --help\npulse-go\npulse-go is a very simple command line utility that allows you to specify a list of Pulse\nexchanges/routing keys that you wish to bind to, and prints the body of the Pulse messages\nto standard out.\n\nDerivation of username, password and AMQP server url\n====================================================\nIf no AMQP server is specified, production will be used (amqps://pulse.mozilla.org:5671).\n\nIf a pulse username is specified on the command line, it will be used.\nOtherwise, if the AMQP server url is provided and contains a username, it will be used.\nOtherwise, if a value is set in the environment variable PULSE_USERNAME, it will be used.\nOtherwise the value 'guest' will be used.\n\nIf a pulse password is specified on the command line, it will be used.\nOtherwise, if the AMQP server url is provided and contains a password, it will be used.\nOtherwise, if a value is set in the environment variable PULSE_PASSWORD, it will be used.\nOtherwise the value 'guest' will be used.\n\n  Usage:\n      pulse-go [-u \u003cpulse_user\u003e] [-p \u003cpulse_password\u003e] [-s \u003camqp_server_url\u003e] (\u003cexchange\u003e \u003crouting_key\u003e)...\n      pulse-go -h | --help\n\n  Options:\n    -h, --help            Display this help text.\n    -u \u003cpulse_user\u003e       The pulse user to connect with (see http://pulse.mozilla.org/).\n    -p \u003cpulse_password\u003e   The password to use for connecting to pulse.\n    -s \u003camqp_server_url\u003e  The full amqp/amqps url to use for connecting to the pulse server.\n\n  Examples:\n    1)  pulse-go -u pmoore_test1 -p potato123 \\\n        exchange/build/ '#' \\\n        exchange/taskcluster-queue/v1/task-defined '*.*.*.*.*.null-provisioner.buildbot-try.#'\n\n    This would display all messages from exchange exchange/build/ and only messages from\n    exchange/taskcluster-queue/v1/task-defined with provisionerId = \"null-provisioner\" and\n    workerType = \"buildbot-try\" (see\n    https://docs.taskcluster.net/reference/platform/queue/exchanges#taskDefined for more\n    information).\n\n    Remember to quote your routing key strings on the command line, so they are not\n    interpreted by your shell!\n\n    Please note if you are interacting with taskcluster exchanges, please consider using one\n    of the following libraries, for better handling:\n\n      * https://github.com/taskcluster/taskcluster-client-go\n      * https://github.com/taskcluster/taskcluster-client\n\n    2) pulse-go -s amqps://admin:peanuts@localhost:5671 exchange/treeherder/v2/new-result-set '#'\n\n    This would match all messages on the given exchange, published to the local AMQP service\n    running on localhost. Notice that the user and password are given as part of the url.\npmoore@home:~ $ \n```\n\n# Package 2: \"github.com/taskcluster/pulse-go/pulse\"\n\nThis is a pulse client library, written in go.\n\nThe full API documentation is available at http://godoc.org/github.com/taskcluster/pulse-go/pulse\n\n# Package 3: \"github.com/taskcluster/pulse-go/pulsesniffer\"\n\nThis package contains the following *example* program, which uses the pulse library (package 2 above).\n\n```go\n// Package pulsesniffer provides a simple example program that listens to some\n// real world pulse messages.\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/taskcluster/pulse-go/pulse\"\n\t\"github.com/streadway/amqp\"\n)\n\nfunc main() {\n\t// Passing all empty strings:\n\t// empty user =\u003e use PULSE_USERNAME env var\n\t// empty password =\u003e use PULSE_PASSWORD env var\n\t// empty url =\u003e connect to production\n\tconn := pulse.NewConnection(\"\", \"\", \"\")\n\tconn.Consume(\n\t\t\"taskprocessing\", // queue name\n\t\tfunc(message interface{}, delivery amqp.Delivery) { // callback function to pass messages to\n\t\t\tfmt.Println(\"Received from exchange \" + delivery.Exchange + \":\")\n\t\t\tfmt.Println(string(delivery.Body))\n\t\t\tfmt.Println(\"\")\n\t\t\tdelivery.Ack(false) // acknowledge message *after* processing\n\t\t},\n\t\t1,     // prefetch 1 message at a time\n\t\tfalse, // don't auto-acknowledge messages\n\t\tpulse.Bind( // routing key and exchange to get messages from\n\t\t\t\"*.*.*.*.*.*.gaia.#\",\n\t\t\t\"exchange/taskcluster-queue/v1/task-defined\"),\n\t\tpulse.Bind( // another routing key and exchange to get messages from\n\t\t\t\"*.*.*.*.*.aws-provisioner.#\",\n\t\t\t\"exchange/taskcluster-queue/v1/task-running\"))\n\tconn.Consume( // a second workflow to manage concurrently\n\t\t\"\", // empty name implies anonymous queue\n\t\tfunc(message interface{}, delivery amqp.Delivery) { // simpler callback than before\n\t\t\tfmt.Println(\"Buildbot message received\")\n\t\t\tfmt.Println(\"\")\n\t\t},\n\t\t1,    // prefetch\n\t\ttrue, // auto acknowledge, so no need to call delivery.Ack\n\t\tpulse.Bind( // routing key and exchange to get messages from\n\t\t\t\"#\", // get *all* normalized buildbot messages\n\t\t\t\"exchange/build/normalized\"))\n\t// wait forever\n\tforever := make(chan bool)\n\t\u003c-forever\n}\n```\n\nTravis build success/failure messages are posted to irc channel #tcclient-go on irc.mozilla.org:6697.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskcluster%2Fpulse-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaskcluster%2Fpulse-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskcluster%2Fpulse-go/lists"}