{"id":15110349,"url":"https://github.com/ragarwalll/cf-operations","last_synced_at":"2026-01-19T07:04:11.383Z","repository":{"id":202737644,"uuid":"695860528","full_name":"ragarwalll/cf-operations","owner":"ragarwalll","description":"CF Operations for Getting Environment for app \u0026 starting a SSH tunnel","archived":false,"fork":false,"pushed_at":"2025-05-11T23:46:46.000Z","size":61,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T22:23:51.005Z","etag":null,"topics":["agarwal","btp","cf","ragarwalll","rahul","sap","therahulagarwal"],"latest_commit_sha":null,"homepage":"https://therahulagarwal.com/cf-operations/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ragarwalll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-24T13:06:00.000Z","updated_at":"2025-05-11T22:58:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e769328-c002-4173-97bd-3ee0434e20e3","html_url":"https://github.com/ragarwalll/cf-operations","commit_stats":null,"previous_names":["ragarwalll/cf-operations","ragarwal06/cf-operations"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ragarwalll/cf-operations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragarwalll%2Fcf-operations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragarwalll%2Fcf-operations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragarwalll%2Fcf-operations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragarwalll%2Fcf-operations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragarwalll","download_url":"https://codeload.github.com/ragarwalll/cf-operations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragarwalll%2Fcf-operations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["agarwal","btp","cf","ragarwalll","rahul","sap","therahulagarwal"],"created_at":"2024-09-25T23:44:27.226Z","updated_at":"2026-01-19T07:04:11.348Z","avatar_url":"https://github.com/ragarwalll.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"@ragarwal06/cf-operations - SAP BTP SSH \u0026 Enviorment Generator Wrapper for NodeJS (with Typescipt Support)\n==============================================\n\n\u003ca href=\"https://www.npmjs.com/package/@ragarwal06/cf-operations\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@ragarwal06/cf-operations\" alt=\"Version\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@ragarwal06/cf-operations\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dw/@ragarwal06/cf-operations\" alt=\"Total Downloads\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@ragarwal06/cf-operations\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/@ragarwal06/cf-operations\" alt=\"License\"\u003e\n\u003c/a\u003e\n\nTable of contents\n-------------\n\n* [Install](#install)\n* [Getting started](#getting-started)\n* [Contact](#contact)\n\nInstall\n-------\n\nInstall from npm:\n\n```bash\nnpm install @ragarwal06/cf-operations\n```\n\nor clone from the [GitHub repository](https://github.com/ragarwal06/cf-operations) to run tests and examples locally:\n\n```bash\ngit clone https://github.com/ragarwal06/cf-operations.git\ncd cf-operations\nnpm install\n```\n\nGetting started\n------------\n\n### Loading Environment from SAP BTP\nThis is a very simple example showing how to use this module in Javascript:\n\n```js\nconst operations = require(\"@ragarwal06/cf-operations\");\noperations\n  .generateDotEnv({\n    appName: \"appName\",\n    isBGDeployment: true,\n  })\n  .then((e) =\u003e {\n    console.log(\"env loaded\");\n  })\n  .catch((e) =\u003e console.log(e));\n```\n\nThis is a very simple example showing how to use this module in Typescript:\n\n```ts\nimport { generateDotEnv } from \"@ragarwal06/cf-operations\";\n\ngenerateDotEnv({\n  appName: \"appName\",\n  isBGDeployment: true,\n})\n  .then((e) =\u003e {\n    console.log(\"env loaded\");\n  })\n  .catch((e) =\u003e console.log(e));\n```\n\n### SSH Tunneling from SAP BTP to Local\n\nThis is a very simple example showing how to use this module in Javascript:\n\n```ts\nconst operations = require(\"@ragarwal06/cf-operations\");\n\noperations\n  .startTunneling({\n    appName: \"appName\",\n    isBGDeployment: true,\n    outPort: 9094,\n    serviceName: \"serviceName\",\n    urlGenerator: (credentials) =\u003e {\n      // make sure to generate \u0026 return the ssh format in\n      // {url}:{port}\n    },\n  })\n  .then((e) =\u003e {\n    console.log(\"hi\");\n  });\n```\nThis is a very simple example showing how to use this module in Typescript:\n\n```ts\nimport { startTunneling } from \"@ragarwal06/cf-operations\";\n\nstartTunneling({\n  appName: \"appName\",\n  isBGDeployment: true,\n  outPort: 9094,\n  serviceName: \"serviceName\",\n  urlGenerator: (creds) =\u003e {\n    // make sure to generate \u0026 return the ssh format in\n    // {url}:{port}\n  },\n}).then((e) =\u003e {\n  console.log(\"hi\");\n});\n\n```\n\nCurrently `kafka` \u0026 `postgresql-db` url generator is already available. So you can skip sending `urlGenerator` function\n\nContact\n-------\n\nIf you face any issue please write to [owner](mailto:agarwal.rahul324@gmail.com) or create a [GitHub issue](https://github.com/ragarwal06/cf-operations/issues/new?assignees=\u0026labels=bug\u0026projects=\u0026template=issue.md\u0026title=)\n\nFor feature request please request [here](https://github.com/ragarwal06/cf-operations/issues/new?assignees=\u0026labels=feature\u0026projects=\u0026template=feature.md\u0026title=)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragarwalll%2Fcf-operations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragarwalll%2Fcf-operations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragarwalll%2Fcf-operations/lists"}