{"id":20487916,"url":"https://github.com/thalhammer/mod_grpcbackend","last_synced_at":"2025-04-13T15:59:07.485Z","repository":{"id":114954887,"uuid":"104055961","full_name":"Thalhammer/mod_grpcbackend","owner":"Thalhammer","description":"Apache module to forward requests to a grpc backend","archived":false,"fork":false,"pushed_at":"2020-09-26T11:37:55.000Z","size":41,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T06:51:20.799Z","etag":null,"topics":["apache-module","apache2","grpc","protobuf"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Thalhammer.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},"funding":{"github":["Thalhammer"],"patreon":"Thalhammer"}},"created_at":"2017-09-19T09:38:13.000Z","updated_at":"2024-03-27T16:52:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"c116d160-871e-4c57-9a96-13dfe6c6a52d","html_url":"https://github.com/Thalhammer/mod_grpcbackend","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thalhammer%2Fmod_grpcbackend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thalhammer%2Fmod_grpcbackend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thalhammer%2Fmod_grpcbackend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Thalhammer%2Fmod_grpcbackend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Thalhammer","download_url":"https://codeload.github.com/Thalhammer/mod_grpcbackend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741197,"owners_count":21154252,"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":["apache-module","apache2","grpc","protobuf"],"created_at":"2024-11-15T16:53:23.665Z","updated_at":"2025-04-13T15:59:07.480Z","avatar_url":"https://github.com/Thalhammer.png","language":"C++","funding_links":["https://github.com/sponsors/Thalhammer","https://patreon.com/Thalhammer"],"categories":[],"sub_categories":[],"readme":"# mod_grpcbackend\n\nThis module provides a way for apache to directly interact with a grpc backend service. Using this you can add a webinterface to your grpc service without any additional libraries or complex configuration.\n\n### Building\n\nIn order to build mod_grpcbackend on your system you need to install some required packages:\n* build-essential\n* protoc\n* libprotobuf\n* libgrpc++\n* apache2-dev\n\nIf you have installed all required software checkout this repository and run\n\n`make`\n\n`make install`\n\nand add the following line somewhere in your apache config:\n\n`LoadModule grpcbackend_module /usr/lib/apache2/modules/mod_grpcbackend.so`\n\n### Configuration\n\nCurrently mod_grpcbackend provides only 4 configuration directives, but only 2 are required for a working configuration. In addition to enabling grpcbackend using `GrpcEnabled` you need to set the handler to `grpcbackend` if you want a file to get handled by grpcbackend. See [SetHandler](https://httpd.apache.org/docs/current/mod/core.html#sethandler) and [AddHandler](https://httpd.apache.org/docs/2.4/de/mod/mod_mime.html#addhandler) for more information.\n\n##### GrpcEnabled Directive\n\nIf you want a directory to be handled by a grpc backend, you need to set this directive to on.\n\n##### GrpcHost Directive\n\nThis allows you to set the grpc service host and port apache will forward your requests to.\n\n##### GrpcConnectTimeout Directive\n\nThis optional directive allows you to set a timeout in milliseconds for connecting to your backend service.\n\n##### GrpcCallTimeout Directive\n\nThis optional directive allows you to set a timeout in milliseconds for each call to your backend service.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthalhammer%2Fmod_grpcbackend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthalhammer%2Fmod_grpcbackend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthalhammer%2Fmod_grpcbackend/lists"}