{"id":20811213,"url":"https://github.com/shirokovnv/phx_json_rpc","last_synced_at":"2025-05-07T09:23:52.015Z","repository":{"id":42558697,"uuid":"509953083","full_name":"shirokovnv/phx_json_rpc","owner":"shirokovnv","description":"Simple JSON RPC server written in elixir.","archived":false,"fork":false,"pushed_at":"2025-02-24T06:35:35.000Z","size":282,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T23:19:34.459Z","etag":null,"topics":["elixir","json","phoenix","rpc"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/shirokovnv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-07-03T07:27:33.000Z","updated_at":"2025-03-20T19:26:30.000Z","dependencies_parsed_at":"2024-01-24T11:41:21.614Z","dependency_job_id":"76c07e92-4bf3-43c0-a0dc-c486d3ada649","html_url":"https://github.com/shirokovnv/phx_json_rpc","commit_stats":{"total_commits":96,"total_committers":4,"mean_commits":24.0,"dds":"0.26041666666666663","last_synced_commit":"cf1a1e27670e632bfe83b035bf29fb1fee28ce69"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fphx_json_rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fphx_json_rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fphx_json_rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shirokovnv%2Fphx_json_rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shirokovnv","download_url":"https://codeload.github.com/shirokovnv/phx_json_rpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252848501,"owners_count":21813660,"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":["elixir","json","phoenix","rpc"],"created_at":"2024-11-17T20:37:57.630Z","updated_at":"2025-05-07T09:23:51.985Z","avatar_url":"https://github.com/shirokovnv.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PhxJsonRpc\n\n![ci.yml][link-ci]\n[![hex.pm badge][link-shield]][link-hex]\n\nSimple implementation of JSON-RPC server, written in [elixir][link-elixir] and working with [phoenix][link-phoenix].\n\nAllows you to define any number of rpc endpoints, which can be accessed via http protocol.\n\n## How it works\n\nThe package uses router `macro` for matching RPC calls to your end-user service.\n\nIt uses `JSON SCHEMA` as a specification for your services and provides parsing, validation and error handling briefly.\n\nRequests can be served in batches with asyncronous order.\n\nFor usage with phoenix see this [guide][link-guide].\n\n## Installation\n\nThe package can be installed\nby adding `phx_json_rpc` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:phx_json_rpc, \"~\u003e 0.7.0\"}\n  ]\nend\n```\n\nThis package depends on [ex_json_schema](https://github.com/jonasschmidt/ex_json_schema) for validation purposes.\n\n## Supported phoenix versions\n\nThe package tested with `phoenix \u003e= 1.6`, but probably will work with any version started from `1.4`.\n\n## Documentation\n\nThe docs can be found at [https://hexdocs.pm/phx_json_rpc][link-docs].\n\n## Links\n\nThe package creation was inspired by some other repos:\n\n- [json-rpc-laravel](https://github.com/avto-dev/json-rpc-laravel)\n- [open-rpc](https://github.com/open-rpc/)\n- [phoenix1.4-json-rpc](https://github.com/vruizext/phoenix1.4-json-rpc)\n\n## License\n\nMIT. Please see the [license file](LICENSE.md) for more information.\n\n[link-ci]: https://github.com/shirokovnv/phx_json_rpc/actions/workflows/ci.yml/badge.svg\n[link-elixir]: https://elixir-lang.org/\n[link-phoenix]: https://www.phoenixframework.org/\n[link-guide]: https://hexdocs.pm/phx_json_rpc/PhxJsonRpc.html\n[link-docs]: https://hexdocs.pm/phx_json_rpc\n[link-shield]: https://img.shields.io/hexpm/v/phx_json_rpc\n[link-hex]: https://hex.pm/packages/phx_json_rpc","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshirokovnv%2Fphx_json_rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshirokovnv%2Fphx_json_rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshirokovnv%2Fphx_json_rpc/lists"}