{"id":15408731,"url":"https://github.com/darthbenro008/dotcloud","last_synced_at":"2025-06-30T06:30:51.283Z","repository":{"id":57215384,"uuid":"331964767","full_name":"DarthBenro008/dotCloud","owner":"DarthBenro008","description":"A simple and safe replacement to .env files","archived":false,"fork":false,"pushed_at":"2021-01-25T10:26:58.000Z","size":213,"stargazers_count":25,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-26T04:22:43.973Z","etag":null,"topics":["environment-variables","envvars","npm-package","postman"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/dotcloud","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DarthBenro008.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}},"created_at":"2021-01-22T14:10:10.000Z","updated_at":"2022-10-04T18:56:23.000Z","dependencies_parsed_at":"2022-09-12T11:32:15.499Z","dependency_job_id":null,"html_url":"https://github.com/DarthBenro008/dotCloud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DarthBenro008/dotCloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthBenro008%2FdotCloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthBenro008%2FdotCloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthBenro008%2FdotCloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthBenro008%2FdotCloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarthBenro008","download_url":"https://codeload.github.com/DarthBenro008/dotCloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarthBenro008%2FdotCloud/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262344853,"owners_count":23296575,"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":["environment-variables","envvars","npm-package","postman"],"created_at":"2024-10-01T16:34:58.697Z","updated_at":"2025-06-30T06:30:51.257Z","avatar_url":"https://github.com/DarthBenro008.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DotCloud\n\n![banner](assets/banner.png)\n\n\u003e __DotCloud is a simple cloud hosted .env management solution that would help you reduce the risk of manually handling sensitive keys.__\n\n## The Reason\n\n- Have you faced issues in managing your .env variables?\n- Are you risking exposing sensitive keys to other contributors or interns at your organisation?\n- Do you need to temporarily provide access to certain key to someone?\n- Do you need a solution where you don't need to migrate your .env variables as you jump across hosting?\n- Would you like a place where you can manage all your .env varibles of all projects in one place?\n\nDotCloud is a simple solution to all the aforementioned problems.\n\n## Usage\n\nMake sure you create a account in DotCloud API. This can be achieved via:\n\n- Setting up DotCloud API on your own custom server, source code can be found [here](https://github.com/ShubhamPalriwala/DotCloud-API)\n- Running our Postman Collection and creating your project, refer [here](#dotcloud-api)\n\nIf you have your .env in the following way\n\n```env\nmyKey=12345\nmyKey1=54321\n```\n\n\u003e Obtain your project token from DotCloud API after creating a project.\n\n### To get a single key\n\n```js\nconst dotCloud = require(\"dotcloud\").init(\n  \"8880c820-af4b-4554-83c4-4ed4e97e0436\", // Token\n  \"projectName\" // Your Project Name\n);\n\nasync function getKey() {\n  const data = await dotCloud.fetchKey(\"myKey\");\n  return data;\n}\n\ngetMyKey(); // Return the value of the key, i.e: 12345\n\n```\n\n### To fetch all the keys of the project\n\n```js\nconst dotCloud = require(\"dotcloud\").init(\n  \"8880c820-af4b-4554-83c4-4ed4e97e0436\", // Token\n  \"projectName\" // Your Project Name\n);\n\nasync function getKeys() {\n  const data = await dotCloud.fetchAllKeys();\n  return data;\n}\n\nconst keys = getKeys();\n\nconsole.log(keys.myKey) // Prints 12345 \nconsole.log(keys.myKey2) // Prints 543210\n```\n\n### Custom DotCloud Domain\n\nIf you have set-up DotCloud on your own servers, you can pass the url like the following.\n\n```js\nconst dotCloud = require(\"dotcloud\").init(\n  \"8880c820-af4b-4554-83c4-4ed4e97e0436\", // Token\n  \"projectName\" // Your Project Name,\n  \"https://dotcloud.benro.tech\" // Custom DotCloud API Server setup. (Optional)\n);\n```\n\n## DotCloud API\n\nTo use this package, make sure you create an account with out DotCloud API, which can be found [here](https://documenter.getpostman.com/view/11026000/TW6tNAhC).\n\nThe source code for the API can be found [here on GitHub](https://github.com/ShubhamPalriwala/DotCloud-API)\n\nYou can also directly run our API Collection in Postman.\n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://god.gw.postman.com/run-collection/3ab4377ff5f19cd3f345#?env%5BAzure%5D=W3sia2V5IjoidXJsIiwidmFsdWUiOiJodHRwczovL2RvdGNsb3VkLmF6dXJld2Vic2l0ZXMubmV0IiwiZW5hYmxlZCI6dHJ1ZX1d)\n\n## Working Principles\n\n![Working Principles](assets/working.png)\n\n## Show your support\n\nGive a ⭐ if this project made your life easy!\n\nSpread the word to your Backend Developer fellows to make thier life easier too!\n\n## Contributions\n\n- Feel Free to Open a PR/Issue for any feature or bug(s).\n- Make sure you follow the community guidelines!\n- Feel free to open an issue to ask a question/discuss anything about DotCloud.\n- Have a feature request? Open an Issue!\n\n## License\n\nCopyright 2021 Hemanth Krishna\n\nLicensed under MIT License : \u003chttps://opensource.org/licenses/MIT\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarthbenro008%2Fdotcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarthbenro008%2Fdotcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarthbenro008%2Fdotcloud/lists"}