{"id":18638354,"url":"https://github.com/kitasuke/swiftprotobufsample","last_synced_at":"2025-04-11T10:31:20.131Z","repository":{"id":50135835,"uuid":"76810484","full_name":"kitasuke/SwiftProtobufSample","owner":"kitasuke","description":"Sample project for client/server in Swift with Protocol Buffers","archived":false,"fork":false,"pushed_at":"2021-06-03T02:19:24.000Z","size":1946,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-01T19:51:18.516Z","etag":null,"topics":["ios","json","kitura","protobuf","protocol-buffers","server-side-swift","swift","swift-protobuf"],"latest_commit_sha":null,"homepage":null,"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/kitasuke.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":"2016-12-18T22:29:48.000Z","updated_at":"2021-06-03T01:09:51.000Z","dependencies_parsed_at":"2022-08-02T20:15:39.502Z","dependency_job_id":null,"html_url":"https://github.com/kitasuke/SwiftProtobufSample","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitasuke%2FSwiftProtobufSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitasuke%2FSwiftProtobufSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitasuke%2FSwiftProtobufSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitasuke%2FSwiftProtobufSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitasuke","download_url":"https://codeload.github.com/kitasuke/SwiftProtobufSample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223466431,"owners_count":17149770,"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":["ios","json","kitura","protobuf","protocol-buffers","server-side-swift","swift","swift-protobuf"],"created_at":"2024-11-07T05:40:57.840Z","updated_at":"2024-11-07T05:40:58.437Z","avatar_url":"https://github.com/kitasuke.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftProtobufSample\nSample project with Protocol Buffers for client/server in Swift\n\n## Sample apps\n\n### Client app\n\nAPIClient uses `URLSession` with [swift-protobuf](https://github.com/apple/swift-protobuf)\n\n### Server app\n\nWeb framework, [Kitura](http://www.kitura.io/) provides HTTP server with [swift-protobuf](https://github.com/apple/swift-protobuf)\n\n## Requirements\n\nSwift 3.1  \nXcode 8.3    \nprotoc 3.2  \nswift-protobuf 0.9.903  \nKitura 1.3  \nCarthage 0.20  \n\n## Setup\n\n### Protocol Buffers\n\nFollow [this instruction](https://github.com/google/) to install protoc\n\n### Plugin for Swift\n\nFollow [this instruction](https://github.com/apple/swift-protobuf#build-and-install) to install swift-protobuf\n\n### Code Generator\n\nRun command below to generate swift files from proto files\n\n```\n$ make generate\n```\n\n### Dependencies\n\nRun command below to install libraries for Server/Client app\n\n```\n$ make setup\n```\n\n## Usage\n\n### Server app\n\nRun command below to run server app\n\n```\n$ make run-server\n```\n\n### Client app\n\nOpen `Client.xcodeproj` and simply run it.\n\n## Reference\n\nhttps://developer.ibm.com/swift/2016/09/30/protocol-buffers-with-kitura/\nhttps://github.com/KyoheiG3/ProtobufExample\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitasuke%2Fswiftprotobufsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitasuke%2Fswiftprotobufsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitasuke%2Fswiftprotobufsample/lists"}