{"id":17555498,"url":"https://github.com/evolution-app/zeromq","last_synced_at":"2025-04-24T03:47:16.694Z","repository":{"id":63909666,"uuid":"124929890","full_name":"EVOlution-App/ZeroMQ","owner":"EVOlution-App","description":"A ZeroMQ library created by our folks from Zewo. The original -\u003e","archived":false,"fork":false,"pushed_at":"2020-05-22T21:41:40.000Z","size":103,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T03:47:10.304Z","etag":null,"topics":["macos","message-broker","message-queue","server-side-swift","swift","swift4","zewo"],"latest_commit_sha":null,"homepage":"https://github.com/Zewo/ZeroMQ","language":"Swift","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/EVOlution-App.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":"2018-03-12T18:00:06.000Z","updated_at":"2025-01-17T12:47:28.000Z","dependencies_parsed_at":"2022-11-29T07:06:59.074Z","dependency_job_id":null,"html_url":"https://github.com/EVOlution-App/ZeroMQ","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVOlution-App%2FZeroMQ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVOlution-App%2FZeroMQ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVOlution-App%2FZeroMQ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EVOlution-App%2FZeroMQ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EVOlution-App","download_url":"https://codeload.github.com/EVOlution-App/ZeroMQ/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560010,"owners_count":21450168,"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":["macos","message-broker","message-queue","server-side-swift","swift","swift4","zewo"],"created_at":"2024-10-21T07:05:52.577Z","updated_at":"2025-04-24T03:47:16.668Z","avatar_url":"https://github.com/EVOlution-App.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZeroMQKit\n\n[![Swift][swift-badge]][swift-url]\n[![Platform][platform-badge]][platform-url]\n[![License][mit-badge]][mit-url]\n\n**ZeroMQKit** is a [0mq](http://zeromq.org/) binding for **Swift 4** and this repository is a fork of [ZeroMQ](https://github.com/Zewo/ZeroMQ).\n\n## Features\n\n- [x] Context\n- [x] Socket\n- [x] Message\n- [x] Poller\n- [x] Proxy\n\n## Example\n\n```swift\nimport ZeroMQKit\n\nguard let context = try? Context() else {\n    fatalError(\"Context could not be instantiated\")\n}\n\nguard let inbound = try? context.socket(.pull) else {\n    fatalError(\"Cannot create socket to .pull\")\n}\ntry? inbound.bind(\"tcp://127.0.0.1:5555\")\n\nif let outbound = try? context.socket(.push) {\n    try outbound.connect(\"tcp://127.0.0.1:5555\")\n    \n    _ = try outbound.send(\"Hello World!\")\n    _ = try outbound.send(\"Bye!\")\n}\n\nwhile let data = try? inbound.receive(), let value = data, value != \"Bye!\" {\n    print(value) // \"Hello World!\"\n}\n```\n\n## Installation\n\nInstall ZeroMQ system library\n\n```sh\n./setup_env.sh\n```\n\nAdd `ZeroMQ` to `Package.swift`\n\n```swift\nimport PackageDescription\n\nlet package = Package(\n    dependencies: [\n        .package(url: \"https://github.com/unnamedd/ZeroMQ.git\", .upToNextMajor(from: \"1.0.0\")),\n    ]\n)\n```\n\n## Support\n\nIf you need any help you can join on [Slack](http://slack.zewo.io) of Zewo and go to the **#help** channel. Or you can create a Github [issue](https://github.com/Zewo/Zewo/issues/new) in our main repository. When stating your issue be sure to add enough details, specify what module is causing the problem and reproduction steps.\n\n## License\n\nThis project is released under the MIT license. See [LICENSE](LICENSE) for details.\n\n[swift-badge]: https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat\n[swift-url]: https://swift.org\n[platform-badge]: https://img.shields.io/badge/Platforms-OS%20X%20--%20Linux-lightgray.svg?style=flat\n[platform-url]: https://swift.org\n[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat\n[mit-url]: https://tldrlegal.com/license/mit-license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolution-app%2Fzeromq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevolution-app%2Fzeromq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolution-app%2Fzeromq/lists"}