{"id":18792607,"url":"https://github.com/amyodov/example-thrift-app","last_synced_at":"2026-04-28T12:06:18.155Z","repository":{"id":90662625,"uuid":"227874399","full_name":"amyodov/example-thrift-app","owner":"amyodov","description":"Just a playground of Apache Thrift integration with Scala, Ruby and other languages.","archived":false,"fork":false,"pushed_at":"2020-07-20T06:45:25.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T15:15:19.845Z","etag":null,"topics":["finagle","ruby","scala","scrooge","thrift","thrift-protocol"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amyodov.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":"2019-12-13T16:01:07.000Z","updated_at":"2020-07-20T06:45:27.000Z","dependencies_parsed_at":"2023-07-09T03:45:46.427Z","dependency_job_id":null,"html_url":"https://github.com/amyodov/example-thrift-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amyodov/example-thrift-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyodov%2Fexample-thrift-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyodov%2Fexample-thrift-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyodov%2Fexample-thrift-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyodov%2Fexample-thrift-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amyodov","download_url":"https://codeload.github.com/amyodov/example-thrift-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyodov%2Fexample-thrift-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["finagle","ruby","scala","scrooge","thrift","thrift-protocol"],"created_at":"2024-11-07T21:20:45.988Z","updated_at":"2026-04-28T12:06:18.138Z","avatar_url":"https://github.com/amyodov.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example-Thrift-App\n-------------------\n\nJust a sample playground project for [Apache Thrift](https://thrift.apache.org/) integrations.\n\n\n## Features\n\nNote: may change in future without any warning (this is a playground!)\n\n* API defined using Thrift specification; language-specific interfaces are autogenerated.\n* Served by Twitter [Finagle](https://twitter.github.io/finagle/) embedded RPC server.\n  - working in [ThriftMux](https://twitter.github.io/finagle/guide/Protocols.html#mux) mode;\n  - using [MethodPerEndpoint](https://twitter.github.io/scrooge/Finagle.html) Thrift-Finagle integration;\n  - using Thrift framed transport (hence non-blocking);\n  - using default Binary protocol for serialization.\n\n\n## Components and languages\n\n### Common API: [/api](/api)\n\n* [/api/src/main/thrift](/api/src/main/thrift) – contains the API definition (taken from some public Thrift example).\n\nThe other projects will use it (both client and server ones) and generate the needed boilerplate code from it.\n\n### Scala\n\nUses [sbt](https://www.scala-sbt.org/) to build. No manual steps are normally required, the APIs are built automatically using the configured sbt plugin.\n\n#### Some common API code\n\n* [/api/src/main/scala](/api/src/main/scala) – some (completely unnecessary for functioning) code to test out the API serialization aspects.\n\n#### RPC server: [/server](/server)\n\nLaunches the Finagle-ThriftMux server at `127.0.0.1:8000`.\n\nBuild and run it using:\n\n~~~sh\nsbt server/run\n~~~\n\n(or `sbt '~server/run'` if you want auto-restarting it if source files are edited).\n\n#### RPC client: [/client](/client)\n\nConnects to the Finagle-ThriftMux server at `127.0.0.1:8000` and tries the available operations.\n\nBuild and run it using:\n\n~~~sh\nsbt client/run\n~~~\n\n(or `sbt '~client/run'` if you want auto-restarting it if source files are edited).\n\n### Ruby\n\n#### RPC client: [/client-rb](/client-rb)\n\nNeeds some manual actions (calling the Thrift compiler to build the API into the autogenerated access code) before running. See the [/client-rb/README.md](/client-rb/README.md) file for details.\n\nThen, similarly to the Scala client implementation, connects to the RPC server at `127.0.0.1:8000` and tries the available operations.\n\nAfter building (see [/client-rb/README.md](/client-rb/README.md)), run it using:\n\n~~~sh\nruby client.rb\n~~~\n\n## Read more\n\n### Thrift\n\n* [Official Thrift interface description](https://thrift.apache.org/docs/idl);\n* (suggested) [Thrift – The missing specification](https://erikvanoosten.github.io/thrift-missing-specification/).\n\n### Finagle\n\n*  [Finagle](https://twitter.github.io/finagle/);\n  - [Usage guide](https://twitter.github.io/finagle/guide/Protocols.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyodov%2Fexample-thrift-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famyodov%2Fexample-thrift-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyodov%2Fexample-thrift-app/lists"}