{"id":16823426,"url":"https://github.com/hhatto/kamasu","last_synced_at":"2025-04-11T03:13:53.316Z","repository":{"id":66041559,"uuid":"102503996","full_name":"hhatto/kamasu","owner":"hhatto","description":"HTTP/HTTPS/HTTP2 Proxy for PHP Built-in Server, written in Rust","archived":false,"fork":false,"pushed_at":"2022-10-11T00:18:42.000Z","size":36,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T03:13:48.658Z","etag":null,"topics":["http","http2","php","proxy","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/hhatto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-09-05T16:18:50.000Z","updated_at":"2023-02-14T11:10:04.000Z","dependencies_parsed_at":"2023-03-24T03:49:05.381Z","dependency_job_id":null,"html_url":"https://github.com/hhatto/kamasu","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhatto%2Fkamasu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhatto%2Fkamasu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhatto%2Fkamasu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhatto%2Fkamasu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhatto","download_url":"https://codeload.github.com/hhatto/kamasu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333594,"owners_count":21086200,"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":["http","http2","php","proxy","rust"],"created_at":"2024-10-13T11:07:58.638Z","updated_at":"2025-04-11T03:13:53.309Z","avatar_url":"https://github.com/hhatto.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kamasu [![](https://travis-ci.org/hhatto/kamasu.svg?branch=master)](https://travis-ci.org/hhatto/kamasu)\n\nHTTP Proxy Sever for PHP Built-in Server, written in Rust.\n\n```\n        +---------------------+         +----------------------------------------+\n        |  kamasu(main proc)  | - - - - |                                        |-+\n        |                     |  +----\u003e |           php built-in server          | |-+\n  HTTP  |    +--------+  HTTP |  |+---\u003e | (child proc via std::process::Command) | | |\n -----------\u003e| thread |----------+|+--\u003e |                                        | | |\n        |    | (http) |       |   ||    +----------------------------------------+ | |\n        |    +---------       |   ||      +----------------------------------------+ |\n        |                     |   ||        +----------------------------------------+\n  HTTPS |    +--------+  HTTP |   ||                        :\n -----------\u003e| thread |-----------+|                        : N procs\n        |    | (https)|       |    |                        :\n        |    +--------+       |    |\n        |                     |    |\n  HTTP2 |    +--------+  HTTP |    |\n -----------\u003e| thread |------------+\n        |    | (http2)|       |\n        |    +--------+       |\n        +---------------------+\n```\n\n## Installation\n\n```\n$ cargo install --git https://github.com/hhatto/kamasu.git\n```\n\n## Usage\n\n```\n$ kamasu -S 127.0.0.1:8080 -n 4 -t ./your/docroot -c php.ini\n```\n\n## License\n\nCopyright 2017- Hideo Hattori\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhatto%2Fkamasu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhatto%2Fkamasu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhatto%2Fkamasu/lists"}