{"id":23092651,"url":"https://github.com/kjdev/zmq-tools","last_synced_at":"2025-08-16T10:31:15.353Z","repository":{"id":14561008,"uuid":"17276754","full_name":"kjdev/zmq-tools","owner":"kjdev","description":"ZeroMQ tools","archived":false,"fork":false,"pushed_at":"2014-02-28T06:06:40.000Z","size":2436,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-18T00:52:26.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/kjdev.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-02-28T05:56:03.000Z","updated_at":"2023-04-25T06:53:03.000Z","dependencies_parsed_at":"2022-09-02T00:42:28.705Z","dependency_job_id":null,"html_url":"https://github.com/kjdev/zmq-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjdev%2Fzmq-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjdev%2Fzmq-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjdev%2Fzmq-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kjdev%2Fzmq-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kjdev","download_url":"https://codeload.github.com/kjdev/zmq-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230029160,"owners_count":18161992,"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-12-16T21:35:34.676Z","updated_at":"2024-12-16T21:35:35.684Z","avatar_url":"https://github.com/kjdev.png","language":"C++","readme":"# zmq-tools: ZeroMQ tools\n\n## zmq-server\n\nZeroMQ Server.\n\n```\nUsage: zmq-server -e \u003cENDPOINT\u003e -t \u003cTYPE\u003e [-s SUBSCRIBE]\n                  [-S \u003cSCRIPT\u003e [-d \u003cDELIMITER\u003e]]\n                  [-D \u003cCOMMAND\u003e [-p \u003cFILE\u003e]] [-l \u003cFILE\u003e]\n```\n\n  option                    | description\n ---------------------------|-------------\n  -e, endpoint=ENDPOINT     | ZeroMQ socket endpoint\n  -t, --type=TYPE           |    ZeroMQ type [PULL|SUB|REP|STREAM]\n  -s, --subscribe=SUBSCRIBE | ZeroMQ subscribe key [type=SUB] \u003cdefault: none\u003e\n  -S, --script=SCRIPT       | script to run after receive\n  -d, --delimiter=DELIMITER | delimiter when sending the script \u003cdefault: none\u003e\n  -D, --daemon=COMMAND      | daemon command [start|stop]\n  -p, --pidfile=FILE        | pid file \u003cdefault: /var/run/zmqd.pid\u003e\n  -l, --log=FILE            | log file \u003cdefault: none(stderr)\u003e\n\n## zmq-client\n\nZeroMQ Client.\n\n```\nUsage: zmq-client -e \u003cENDPOINT\u003e -t \u003cTYPE\u003e [-l \u003cFILE\u003e] MESSAGE ...\n```\n\n  option                 | description\n ------------------------|-------------\n -e, --endpoint=ENDPOINT | ZeroMQ socket endpoint\n -t, --type=TYPE         | ZeroMQ type [PUSH|PUB|REQ|STREAM]\n -l, --log=FILE          | log file \u003cdefault: none(stderr)\u003e\n\n## Examples\n\nServer side process.\n\n```\n% cat \u003e echo.sh \u003c\u003cEOF\n#!/bin/sh\nif [ -p /dev/stdin ]; then\n    cat -\nfi\necho\nexit 0\nEOF\n% chmod 755 echo.sh\n% zmq-server -e tcp://127.0.0.1:5555 -t pull -S ./echo.sh\n```\n\nClient side process.\n\nsend to `test` message.\n\n```\n% zmq-client -e tcp://127.0.0.1:5555 -t push test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjdev%2Fzmq-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkjdev%2Fzmq-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkjdev%2Fzmq-tools/lists"}