{"id":15497260,"url":"https://github.com/jwerle/q","last_synced_at":"2025-06-27T06:38:11.487Z","repository":{"id":148540543,"uuid":"23809581","full_name":"jwerle/q","owner":"jwerle","description":"Simple message queuing","archived":false,"fork":false,"pushed_at":"2014-09-09T01:28:13.000Z","size":131,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T21:49:31.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/jwerle.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}},"created_at":"2014-09-08T21:43:59.000Z","updated_at":"2019-07-15T17:32:42.000Z","dependencies_parsed_at":"2023-03-29T00:55:47.985Z","dependency_job_id":null,"html_url":"https://github.com/jwerle/q","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jwerle/q","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwerle","download_url":"https://codeload.github.com/jwerle/q/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259957088,"owners_count":22937535,"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":[],"created_at":"2024-10-02T08:32:23.434Z","updated_at":"2025-06-15T10:04:16.647Z","avatar_url":"https://github.com/jwerle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nq(1)\n====\n\nSimple message queuing\n\n## install\n\n```sh\n$ bpkg install jwerle/q\n```\n\n## usage\n\n```\nusage: q [-hV]\n   or: q push [data]\n   or: q shift\n   or: q lock\n   or: q unlock\n   or: q clear\n   or: q stream\n```\n\n`q(1)` is a dead simple message queue written in bash. You can queue\nmessages or lock into a fifo. Messgaes are pushed and shifted. Messages\nmay be persisted in a log file that may be cleared when unlocked.\n\nPush a message:\n\n```sh\n$ echo beep | q push\n$ echo boop | q push\n```\n\nShift a message off q\n\n```sh\n$ q shift\nbeep\n\n$ q shift\nboop\n\n```\n\nYou can lock the q so a message must be acknowledged before another\ncan be pushed on to it.\n\n```sh\n$ q lock\n$ echo boop | q push\n```\n\n```sh\n# in another terminal\n$ q shift\nboop\n\n$ q unlock\n```\n\nThe q can be streamed as well\n\n```sh\n$ unlock\n$ q push a\n$ q push b\n$ q push c\n$ q stream\na\nb\nc\n\n```\n\n## license\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwerle%2Fq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fq/lists"}