{"id":28573741,"url":"https://github.com/sobotics/swiftredunda","last_synced_at":"2025-07-07T06:10:12.128Z","repository":{"id":63920541,"uuid":"118767565","full_name":"SOBotics/SwiftRedunda","owner":"SOBotics","description":"Swift library for Redunda","archived":false,"fork":false,"pushed_at":"2018-07-15T10:40:22.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-27T15:57:02.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"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/SOBotics.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-01-24T13:14:16.000Z","updated_at":"2018-07-15T10:35:17.000Z","dependencies_parsed_at":"2023-01-14T14:00:19.634Z","dependency_job_id":null,"html_url":"https://github.com/SOBotics/SwiftRedunda","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOBotics%2FSwiftRedunda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOBotics%2FSwiftRedunda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOBotics%2FSwiftRedunda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOBotics%2FSwiftRedunda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SOBotics","download_url":"https://codeload.github.com/SOBotics/SwiftRedunda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SOBotics%2FSwiftRedunda/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259152806,"owners_count":22813228,"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":"2025-06-10T21:19:13.973Z","updated_at":"2025-06-10T21:19:48.264Z","avatar_url":"https://github.com/SOBotics.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftRedunda\n\n[![Build Status](https://travis-ci.org/SOBotics/SwiftRedunda.svg?branch=master)](https://travis-ci.org/SOBotics/SwiftRedunda)\n\nSwiftRedunda is a library to ping Redunda.\n\n### Installation:\n\nUsing the Swift Package Manager:\n\nIn the `dependencies` section of your `Package.swift`, add the following package:\n\n```swift\n.package(url: \"https://github.com/SOBotics/SwiftRedunda.git\", from: \"0.1.0\")\n```\n\nAdd `\"SwiftRedunda\"` to the `dependencies` array in the `.target` of `targets`.\n\nInstallation complete!\n\n### Usage\n\nOn top of your swift file, import the module:\n\n```swift\nimport SwiftRedunda\n```\n\nThen use `RedundaPingService` to ping the server.\n\n```swift\nlet pingService = RedundaPingService(key: \"YOUR_KEY_HERE\", version: \"1.0\") // remember to generate a key at redunda.sobotics.org first!\npingService.startPinging()\n```\n\nBefore posting chat messages, remember to see if you should be in standby mode first!\n\n```swift\nif !pingService.shouldStandby {\n    // post messages\n}\n```\n\nYou should also use a class which conforms to the protocol `RedundaPingServiceDelegate` to receive errors. Set the delegate of you `RedundaPingService` using the following:\n\n```swift\npingService.delegate = PingServiceDelegate\n```\n\nwhere `PingServiceDelegate` conforms to `RedundaPingServiceDelegate`.\n\nYou can set the service to debug mode with `pingService.debug = true`. If this value is true, Redunda won't be pinged.\n\n### Report bugs\n\nReport bugs in the [issues](https://github.com/SOBotics/SwiftRedunda/issues) section of this repository.\n\n### Contact me\n\nYou can contact me by pinging me with @paper in chat in the [SOBotics](https://chat.stackoverflow.com/rooms/111347/sobotics) chat room.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsobotics%2Fswiftredunda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsobotics%2Fswiftredunda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsobotics%2Fswiftredunda/lists"}