{"id":15766897,"url":"https://github.com/sile/thrift_protocol","last_synced_at":"2025-10-28T23:43:45.687Z","repository":{"id":57556088,"uuid":"107308086","full_name":"sile/thrift_protocol","owner":"sile","description":"An Erlang implementation of Thrift protocol","archived":false,"fork":false,"pushed_at":"2020-01-18T04:42:27.000Z","size":22,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T13:36:46.122Z","etag":null,"topics":["erlang","thrift-protocol"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/sile.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":"2017-10-17T18:26:19.000Z","updated_at":"2024-07-29T07:37:06.000Z","dependencies_parsed_at":"2022-09-02T12:51:12.743Z","dependency_job_id":null,"html_url":"https://github.com/sile/thrift_protocol","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fthrift_protocol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fthrift_protocol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fthrift_protocol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sile%2Fthrift_protocol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sile","download_url":"https://codeload.github.com/sile/thrift_protocol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249991138,"owners_count":21357205,"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":["erlang","thrift-protocol"],"created_at":"2024-10-04T13:03:14.148Z","updated_at":"2025-10-28T23:43:40.657Z","avatar_url":"https://github.com/sile.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"thrift_protocol\n================\n\n[![hex.pm version](https://img.shields.io/hexpm/v/thrift_protocol.svg)](https://hex.pm/packages/thrift_protocol)\n[![Build Status](https://travis-ci.org/sile/thrift_protocol.svg?branch=master)](https://travis-ci.org/sile/thrift_protocol)\n[![Code Coverage](https://codecov.io/gh/sile/thrift_protocol/branch/master/graph/badge.svg)](https://codecov.io/gh/sile/thrift_protocol/branch/master)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\nAn Erlang implementation of [Thrift](https://thrift.apache.org/) protocol.\n\n[Documentation](https://hexdocs.pm/thrift_protocol/)\n\nExamples\n---------\n\n```erlang\nBody =\n    #thrift_protocol_struct{\n        fields = #{1 =\u003e true, 2 =\u003e {i8, -1}}\n    },\nMessage =\n    #thrift_protocol_message{\n        method_name = \u003c\u003c\"foo\"\u003e\u003e,\n        message_type = call,\n        sequence_id = 0,\n        body = Body\n    },\n\nEncoded = list_to_binary(thrift_protocol:encode_message(Message, compact)),\n\u003c\u003c130,33,0,3,102,111,111,17,19,255,0\u003e\u003e = Encoded,\n\n{Decoded, \u003c\u003c\u003e\u003e} = thrift_protocol:decode_message(Encoded, compact),\nMessage = Decoded.\n```\n\nReferences\n-----------\n\n- [Thrift Protocol Structure][protocol-structure]\n- [Thrift Binary protocol encoding][binary-encoding]\n- [Thrift Compact protocol encoding][compact-encoding]\n\n[protocol-structure]: https://github.com/apache/thrift/blob/master/doc/specs/thrift-protocol-spec.md\n[binary-encoding]: https://github.com/apache/thrift/blob/master/doc/specs/thrift-binary-protocol.md\n[compact-encoding]: https://github.com/apache/thrift/blob/master/doc/specs/thrift-compact-protocol.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsile%2Fthrift_protocol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsile%2Fthrift_protocol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsile%2Fthrift_protocol/lists"}