{"id":17474068,"url":"https://github.com/ispyhumanfly/raku-dotenv","last_synced_at":"2025-04-10T05:16:36.430Z","repository":{"id":65282841,"uuid":"588809872","full_name":"ispyhumanfly/raku-dotenv","owner":"ispyhumanfly","description":"A Raku dotenv module that loads .env files into your environment","archived":false,"fork":false,"pushed_at":"2023-02-14T16:08:12.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-18T20:48:21.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ispyhumanfly.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}},"created_at":"2023-01-14T04:34:46.000Z","updated_at":"2024-09-24T13:56:38.000Z","dependencies_parsed_at":"2024-12-07T19:05:41.427Z","dependency_job_id":null,"html_url":"https://github.com/ispyhumanfly/raku-dotenv","commit_stats":{"total_commits":50,"total_committers":3,"mean_commits":"16.666666666666668","dds":0.06000000000000005,"last_synced_commit":"9dd94825e847ce318965528ab2e79f83960fc7ba"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ispyhumanfly%2Fraku-dotenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ispyhumanfly%2Fraku-dotenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ispyhumanfly%2Fraku-dotenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ispyhumanfly%2Fraku-dotenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ispyhumanfly","download_url":"https://codeload.github.com/ispyhumanfly/raku-dotenv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161284,"owners_count":21057556,"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-10-18T18:08:19.044Z","updated_at":"2025-04-10T05:16:36.410Z","avatar_url":"https://github.com/ispyhumanfly.png","language":"Raku","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dotenv\n\n[![License: Artistic-2.0](https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)\n![Zef Badge](https://raku.land/zef:ispyhumanfly/Env::Dotenv/badges/version)\n[![SparrowCI](https://ci.sparrowhub.io/project/gh-ispyhumanfly-raku-dotenv/badge)](https://ci.sparrowhub.io)\n\nA shim to load environment variables from .env into ENV in development. Based on the original [bkeepers](https://github.com/bkeepers/dotenv) module written in Ruby.\nAnd from this one https://pypi.org/project/python-dotenv/\n\n## Synopsis\n\nIn your application or scripts root directory, create a `.env` file and place some variables in it.\n\n```shell\nMY_SECRET_INFO=\"some value\"\nMY_API_KEY=123123oiashdam,hwejk1h23kbaamn\n```\n\nThen inside of your script...\n\n```raku\nuse v6;\nuse Env::Dotenv :ALL;\n\ndotenv_load();\n\nfor %*ENV.kv -\u003e $key, $value {\n    \"$key: $value\".say;\n}\n\nmy %dotenv = dotenv_values();\n\nsay %dotenv{\"MY_SECRET_INFO\"};\n\nfor dotenv_values().kv -\u003e $key, $value {\n    \"$key: $value\".say;\n}\n\n```\n\nA command line interface is also in the works. Right now it only outputs the variables it finds inside of your `.env`.\n\n```shell\n$ dotenv\n```\n\n## Installation\n\n### Stable\n\n```shell\nzef install Env::Dotenv\n```\n### Unstable\n```shell\nzef install -v https://github.com/ispyhumanfly/raku-dotenv.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fispyhumanfly%2Fraku-dotenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fispyhumanfly%2Fraku-dotenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fispyhumanfly%2Fraku-dotenv/lists"}