{"id":20082395,"url":"https://github.com/googlesamples/pluscode-swift-demo","last_synced_at":"2025-05-06T00:31:48.842Z","repository":{"id":141040742,"uuid":"181781628","full_name":"googlesamples/pluscode-swift-demo","owner":"googlesamples","description":"An example Plus Code service written in Swift","archived":false,"fork":false,"pushed_at":"2019-07-31T07:40:48.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-09T06:25:19.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://plus.codes","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/googlesamples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2019-04-16T23:21:03.000Z","updated_at":"2020-09-19T08:44:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1c0097c-8327-4763-b613-b90ab739fb4b","html_url":"https://github.com/googlesamples/pluscode-swift-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fpluscode-swift-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fpluscode-swift-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fpluscode-swift-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fpluscode-swift-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlesamples","download_url":"https://codeload.github.com/googlesamples/pluscode-swift-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252598425,"owners_count":21774256,"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":"2024-11-13T15:43:14.586Z","updated_at":"2025-05-06T00:31:48.834Z","avatar_url":"https://github.com/googlesamples.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plus Code Demo in Swift\r\n\r\n\u003e Note: This is not an official Google product.\r\n\r\nThis sample container is a very simple web server that can convert a\r\nlatitude and longitude coordinate into a [Plus Code](https://plus.codes), a concise way to represent location coordinates, usable in Google Maps and other map tools.\r\n\r\nIt uses the [Open Location Code for Swift](https://github.com/google/open-location-code-swift) open source library for the conversion, and the [Swifter HTTP engine](https://github.com/httpswift/swifter) to handle the requests.\r\n\r\nThis sample container was demonstrated in the Google Next '19 session [Deploy Your Next Application to Google Kubernetes Engine](https://www.youtube.com/watch?v=JDBq2JvzQOY\u0026list=PLIivdWyY5sqKqrrodcI34M_0Di4B5GFIP\r\n).\r\n\r\n## Build\r\n\r\n`docker build . -t pluscodedemo`\r\n\r\n## Run\r\n\r\n`docker run -it -p 8080:80 pluscodedemo`\r\n\r\n## Usage\r\n\r\nBrowse to localhost:8080/*[Latitude]*,*[Longitude]*\r\n\r\ne.g. http://localhost:8080/37.784173,-122.401557","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglesamples%2Fpluscode-swift-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglesamples%2Fpluscode-swift-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglesamples%2Fpluscode-swift-demo/lists"}