{"id":20003572,"url":"https://github.com/nathanborror/example-pages","last_synced_at":"2025-05-04T15:35:08.845Z","repository":{"id":66667380,"uuid":"71379651","full_name":"nathanborror/example-pages","owner":"nathanborror","description":"📓 An example project using gRPC, Protocol Buffers, Swift and Go","archived":false,"fork":false,"pushed_at":"2016-10-24T19:26:09.000Z","size":443,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-13T13:26:05.945Z","etag":null,"topics":["grpc","http2","protobuf","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathanborror.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-19T16:57:17.000Z","updated_at":"2024-06-19T12:35:58.114Z","dependencies_parsed_at":"2024-06-19T12:35:56.221Z","dependency_job_id":"7fedc52b-0196-468d-9a0c-b3aefa85bf3b","html_url":"https://github.com/nathanborror/example-pages","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanborror%2Fexample-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanborror%2Fexample-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanborror%2Fexample-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanborror%2Fexample-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathanborror","download_url":"https://codeload.github.com/nathanborror/example-pages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252357475,"owners_count":21735150,"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":["grpc","http2","protobuf","swift"],"created_at":"2024-11-13T05:26:18.441Z","updated_at":"2025-05-04T15:35:08.205Z","avatar_url":"https://github.com/nathanborror.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pages\n\nAn example of building a server/client relationship using [gRPC][1] and [protocol\nbuffers][2]. In this example the server is written in Go along with a very simple\ncommand line client. The web client is written in [Elm][3] which uses the [gRPC\nGateway][4] interface. And finally the native client is written in Swift using\nthe new [swift-protobuf][5] library.\n\n## Todos\n\n- [x] Protobuf Server\n- [x] JSON reverse-proxy\n- [x] In-memory state\n- [x] Persistent state\n- [x] iOS client\n- [x] Web client\n- [ ] Command-line client\n\n## Requirements\n\n- Go 1.7\n- Swift 3 / Xcode 8\n- openssl\n- At times you may need switch over to MASTER for github.com/apple/swift-protobuf\n\n## Installation\n\n    $ ./setup.sh\n    $ make\n\n### Run server \u0026 reverse-proxy\n\n    $ cd server \u0026\u0026 go run main.go\n\nRun with persistent sqlite backend:\n\n    $ cd server \u0026\u0026 SERVER_STATE=sqlite go run main.go\n\n### Run iOS client\n\n    $ open clients/ios/Pages/Pages.xcodeproj\n    Product \u003e Run (⌘R)\n\n### Run web client\n\n    $ open clients/web/index.html\n\n### Run command line client\n\n    $ cd clients/cmd\n    $ go run main.go\n\n[1]:http://www.grpc.io\n[2]:https://developers.google.com/protocol-buffers/\n[3]:http://elm-lang.org\n[4]:https://github.com/grpc-ecosystem/grpc-gateway\n[5]:https://github.com/apple/swift-protobuf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanborror%2Fexample-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanborror%2Fexample-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanborror%2Fexample-pages/lists"}