{"id":13785643,"url":"https://github.com/IBM-Swift-Sunset/Aphid","last_synced_at":"2025-05-11T21:31:28.502Z","repository":{"id":69022505,"uuid":"62978907","full_name":"IBM-Swift-Sunset/Aphid","owner":"IBM-Swift-Sunset","description":"🚫 This project is no longer maintained. Lightweight MQTT client in Swift 3","archived":false,"fork":false,"pushed_at":"2017-09-27T21:36:47.000Z","size":148,"stargazers_count":56,"open_issues_count":5,"forks_count":19,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-30T19:01:49.869Z","etag":null,"topics":["aphid","arm","iot","mosquitto","mqtt","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IBM-Swift-Sunset.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-07-10T02:59:10.000Z","updated_at":"2022-08-06T02:58:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"f6ebcff4-c033-4145-a07c-0d7ad6a66a26","html_url":"https://github.com/IBM-Swift-Sunset/Aphid","commit_stats":null,"previous_names":["ibm-swift/aphid"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Swift-Sunset%2FAphid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Swift-Sunset%2FAphid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Swift-Sunset%2FAphid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Swift-Sunset%2FAphid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IBM-Swift-Sunset","download_url":"https://codeload.github.com/IBM-Swift-Sunset/Aphid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253638894,"owners_count":21940433,"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":["aphid","arm","iot","mosquitto","mqtt","swift"],"created_at":"2024-08-03T19:01:02.871Z","updated_at":"2025-05-11T21:31:28.120Z","avatar_url":"https://github.com/IBM-Swift-Sunset.png","language":"Swift","funding_links":[],"categories":["Web Server Connectivity"],"sub_categories":["MQTT"],"readme":"# Aphid\n\n🚫 This project is no longer maintained.\n\nA lightweight MQTT 3.1.1 client written in pure Swift 3\n\n[![Build Status](https://travis-ci.org/IBM-Swift/Aphid.svg?branch=master)](https://travis-ci.org/IBM-Swift/Aphid)\n![](https://img.shields.io/badge/Swift-3.1%20RELEASE-orange.svg?style=flat)\n![](https://img.shields.io/badge/platform-Linux,%20macOS,%20ARM%20Linux-blue.svg?style=flat)\n\n## Setup your project to use Aphid \n\n1. On Linux, install OpenSSL (if not already installed):\n\n    ```bash\n    sudo apt-get install openssl\n    ```\n\n2. In Package.swift, add Aphid as a dependency for your project.\n\n    ```swift\n    import PackageDescription\n\n    let package = Package(\n        name: \"ProjectName\",\n        dependencies: [\n            .Package(url: \"https://github.com/IBM-Swift/Aphid.git\", majorVersion: 0)\n        ])\n    ```\n3. Create XCode project to build library (Optional)\n\n    ```bash\n    $ swift package generate-xcodeproj\n    ```\n\n4. In Sources/main.swift, import the Aphid module.\n\n    ```swift\n    import Aphid\n    ```\n\n5. Note: build locally with:\n\n    ```bash\n    swift build\n    ```\n\n## Examples\n\nExample usage can be found in our [AphidClient Repository](https://github.com/IBM-Swift/AphidClient)\n\n## MQTT brokers\n\nThere are several MQTT brokers you can use remotely such as the [IBM IoT Foundation](http://www.ibm.com/cloud-computing/bluemix/internet-of-things/) on Bluemix.\n\nIf testing locally, we recommend the [Mosquitto broker](https://mosquitto.org/):\n\n    - macOS: `brew install mosquitto`\n    - Ubuntu Linux: `apt-get install mosquitto`\n    \n## Installing and using on the Raspberry Pi 3:\n\nApplications that need to run on an ARM system must be compiled with the Swift compiler targetting the ARM platform. Here are some articles to get you started.\n\n- [Building Swift 3.0 on an ARMv7 system](http://dev.iachieved.it/iachievedit/building-swift-3-0-on-an-armv7-system/)\n- [Compiling an Aphid application on the Raspberry Pi 3](https://github.com/IBM-Swift/Aphid/wiki/Compiling-an-Aphid-Application-on-the-Pi-3)\n\n## License\n\nCopyright 2017 IBM\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIBM-Swift-Sunset%2FAphid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIBM-Swift-Sunset%2FAphid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIBM-Swift-Sunset%2FAphid/lists"}