{"id":26192828,"url":"https://github.com/asynched/http-rpc","last_synced_at":"2026-04-18T10:04:13.908Z","repository":{"id":125528389,"uuid":"504001279","full_name":"asynched/http-rpc","owner":"asynched","description":"Remote procedure calls with HTTP and Javascript","archived":false,"fork":false,"pushed_at":"2022-06-16T04:50:49.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T22:33:13.545Z","etag":null,"topics":["http","node","rpc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asynched.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-16T03:41:03.000Z","updated_at":"2024-03-14T08:57:30.000Z","dependencies_parsed_at":"2023-08-11T21:30:55.196Z","dependency_job_id":null,"html_url":"https://github.com/asynched/http-rpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asynched/http-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asynched%2Fhttp-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asynched%2Fhttp-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asynched%2Fhttp-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asynched%2Fhttp-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asynched","download_url":"https://codeload.github.com/asynched/http-rpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asynched%2Fhttp-rpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31964547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["http","node","rpc"],"created_at":"2025-03-12T01:24:54.383Z","updated_at":"2026-04-18T10:04:13.901Z","avatar_url":"https://github.com/asynched.png","language":"JavaScript","readme":"# http-rpc\n\nThis is a test on doing remote procedure calls over HTTP with React.\n\nMy main goal with this is to explore remote procedure calls, using them as a function for the front-end. As you'll see in the project, the front-end uses a proxy object to do the remote calls for the back-end, providing a simple interface for executing remote calls.\n\n```js\n// The main goal is to build something that looks something\n// like the code below, bridging the gap between front-end\n// and back-end.\nconst output = await rpcConnector.readFile({ filename: 'package.json' })\nconsole.log(output.contents)\n```\n\nAs for the back-end, registering procedures to be called by the rpc connector should be just as easy as the front-end. Ended up with an API that looks like this:\n\n```js\n// As for the back-end, you register a procedure attributing a\n// callback function to the procedure name. Because of proxies\n// we can afford to do this magic.\nprocedures.readFile = ({ filename }) =\u003e {\n  // Do something with the args\n  return null\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasynched%2Fhttp-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasynched%2Fhttp-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasynched%2Fhttp-rpc/lists"}