{"id":15349618,"url":"https://github.com/wei-1/scala-grpc-helloworld","last_synced_at":"2026-05-01T10:31:39.125Z","repository":{"id":90069144,"uuid":"144095366","full_name":"Wei-1/Scala-gRPC-HelloWorld","owner":"Wei-1","description":"gRPC helloworld example in Scala","archived":false,"fork":false,"pushed_at":"2018-08-14T07:40:29.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-24T08:42:05.386Z","etag":null,"topics":["grpc","protobuf","scala","scalapb"],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/Wei-1.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-09T03:15:13.000Z","updated_at":"2024-12-25T15:23:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ae30fe7-5ac1-46a0-95c0-976337c552fa","html_url":"https://github.com/Wei-1/Scala-gRPC-HelloWorld","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"50a443a7e2c555763965a6440f9a9fbc3c6cbe17"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Wei-1/Scala-gRPC-HelloWorld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei-1%2FScala-gRPC-HelloWorld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei-1%2FScala-gRPC-HelloWorld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei-1%2FScala-gRPC-HelloWorld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei-1%2FScala-gRPC-HelloWorld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wei-1","download_url":"https://codeload.github.com/Wei-1/Scala-gRPC-HelloWorld/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei-1%2FScala-gRPC-HelloWorld/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","protobuf","scala","scalapb"],"created_at":"2024-10-01T11:55:06.578Z","updated_at":"2026-05-01T10:31:39.091Z","avatar_url":"https://github.com/Wei-1.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/Wei-1/Scala-gRPC-HelloWorld.svg?branch=master)](https://travis-ci.org/Wei-1/Scala-gRPC-HelloWorld)\n\n[![License](https://img.shields.io/:license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n# Scala-gRPC-HelloWorld\n\nA scala version of the official HelloWorld GRPC example.\n\n## Context\n\nThis repo is another example to use the [`sbt-protoc`](https://github.com/thesamet/sbt-protoc) plugin and implements gRPC services using [`scalaPB`](https://github.com/scalapb/ScalaPB).\n\nThe `HelloWorld` example is taken from [grpc-java](https://github.com/grpc/grpc-java) examples.\n\n## How to use?\n\nFirst, run\n\n```\nsbt compile\n```\n\nto create the case class GreeterGrpc.\n\nSecond, run\n\n```\nsbt \"runMain io.grpc.helloworld.HelloWorldServer\"\n```\n\nto start the HelloWorldServer.\n\nThird, run\n\n```\nsbt \"runMain io.grpc.helloworld.HelloWorldClient\"\n```\n\nto start a client that will send a `world` to HelloWorldServer.\n\nThe server will reply with a `Hello world`.\n\n## Why this repo?\n\nAfter checking the [official repo of Scalapb with gRPC done by xuwei-k](https://github.com/xuwei-k/grpc-scala-sample),\n\nI found that xuwei-k's example cannot be built alone and will need to have the [official Java repo](https://github.com/grpc/grpc-java) with it.\n\nAlso, his/her example doesn't follow the original build path `src`, which will cause some problems in my environment.\n\nTherefore, I search for a simpler solution and found the [gRPC example from btlines](https://github.com/btlines/grpcexample).\n\nbtlines's example is very well written and support several different connection methods with easy and reliable control.\n\nThe only problem to me is that btlines's example uses a lot of his/her own dependencies to support the abundant connection methods.\n\nFor an example, I am looking for an easier approach.\n\nBy combining all these repositories, I created this repo for a basic Hello World example that you can just `compile` and `run`.\n\n## Reference\n\n - [grpc/grpc-java](https://github.com/grpc/grpc-java)\n\n - [xuwei-k/grpc-scala-sample](https://github.com/xuwei-k/grpc-scala-sample)\n\n - [btlines/grpcexample](https://github.com/btlines/grpcexample)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwei-1%2Fscala-grpc-helloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwei-1%2Fscala-grpc-helloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwei-1%2Fscala-grpc-helloworld/lists"}