{"id":18939055,"url":"https://github.com/monai/cloudberry","last_synced_at":"2026-02-03T01:07:25.844Z","repository":{"id":10239749,"uuid":"65073284","full_name":"monai/cloudberry","owner":"monai","description":"HTTP/HTTPS middleware driven proxy server","archived":false,"fork":false,"pushed_at":"2023-04-17T09:43:56.000Z","size":1469,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-05-19T07:11:20.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/monai.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}},"created_at":"2016-08-06T08:40:35.000Z","updated_at":"2023-01-09T14:10:28.000Z","dependencies_parsed_at":"2023-02-18T22:46:04.250Z","dependency_job_id":null,"html_url":"https://github.com/monai/cloudberry","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/monai/cloudberry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monai%2Fcloudberry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monai%2Fcloudberry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monai%2Fcloudberry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monai%2Fcloudberry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monai","download_url":"https://codeload.github.com/monai/cloudberry/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monai%2Fcloudberry/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260862594,"owners_count":23074158,"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":[],"created_at":"2024-11-08T12:16:13.522Z","updated_at":"2026-02-03T01:07:20.820Z","avatar_url":"https://github.com/monai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudberry\n\n[![NPM Version](http://img.shields.io/npm/v/cloudberry.svg)](https://www.npmjs.org/package/cloudberry)\n\nCloudberry is HTTP/HTTPS middleware driven proxy server.\n\n## Generate CA signing identity\n\nGenerate signing identity:\n\n```shell\ncloudberry\n```\n\nGenerate signing identity and save to macOS default keychain:\n\n```shell\ncloudberry -K\n```\n\n## Usage\n\n```js\nconst proxy = require('cloudberry');\n\nconst key =\n`-----BEGIN RSA PRIVATE KEY-----\n\u003c...\u003e\n-----END RSA PRIVATE KEY-----`;\n\nconst cert =\n`-----BEGIN CERTIFICATE-----\n\u003c...\u003e\n-----END CERTIFICATE-----`;\n\nproxy.keychain.getDefaultIdentity((error, identity) =\u003e {\n  if (error) {\n    identity = { key, cert }; // if not on macOS\n  }\n\n  const ca = proxy.ca(identity);\n  const server = proxy.createServer({\n    SNICallback: ca.SNICallback()\n  }, (req, res) =\u003e {\n    console.log('\u003e', req.url);\n    proxy.request(ca)(req, res).on('error', console.error);\n  });\n\n  proxy(server).listen(8000);\n});\n```\n\n## License\n\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonai%2Fcloudberry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonai%2Fcloudberry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonai%2Fcloudberry/lists"}