{"id":13740559,"url":"https://github.com/Grubba27/dotenv_gleam","last_synced_at":"2025-05-08T20:31:53.455Z","repository":{"id":203418531,"uuid":"709577462","full_name":"Grubba27/dotenv_gleam","owner":"Grubba27","description":"dotenv for gleam","archived":false,"fork":false,"pushed_at":"2025-04-17T15:01:28.000Z","size":27,"stargazers_count":9,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-03T14:17:05.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Gleam","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/Grubba27.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-10-25T01:00:03.000Z","updated_at":"2025-04-17T15:00:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7c16952-0160-4750-952c-9884531e430d","html_url":"https://github.com/Grubba27/dotenv_gleam","commit_stats":{"total_commits":18,"total_committers":4,"mean_commits":4.5,"dds":0.2222222222222222,"last_synced_commit":"9496ca5e2832a34806eb769b9e1af1bc87fa8a59"},"previous_names":["grubba27/gleam_dotenv","grubba27/dotenv_gleam"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grubba27%2Fdotenv_gleam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grubba27%2Fdotenv_gleam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grubba27%2Fdotenv_gleam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Grubba27%2Fdotenv_gleam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Grubba27","download_url":"https://codeload.github.com/Grubba27/dotenv_gleam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253144863,"owners_count":21861135,"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-08-03T04:00:49.688Z","updated_at":"2025-05-08T20:31:53.407Z","avatar_url":"https://github.com/Grubba27.png","language":"Gleam","funding_links":[],"categories":["Packages"],"sub_categories":["Configuration"],"readme":"# dotenv_gleam\n\n[![Package Version](https://img.shields.io/hexpm/v/dotenv)](https://hex.pm/packages/dotenv_gleam)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/dotenv_gleam/)\n\nSimilar to [Node](https://www.npmjs.com/package/dotenv) dotenv and [Ruby](https://github.com/bkeepers/dotenv) dotenv\n\n\n## Installation\n\nIf available on Hex this package can be added to your Gleam project:\n\n```sh\ngleam add dotenv_gleam\n```\n\nthen in your code:\n\n```gleam\n\nimport dotenv_gleam\nimport envoy // do not forget to add envoy to the project\n\npub fn main() {\n  let assert Ok(Nil) = dotenv_gleam.config() // this should load .env file or return an error if it does not exist\n\n  let assert Ok(test) = envoy.get(\"TEST\")\n  let assert Ok(bar) = envoy.get(\"BAR\")\n}\n\n// or you can specify the path to the .env file\n\npub fn main() {\n  let assert Ok(Nil) = dotenv_gleam.config_with(\"path/to/.env\") // this should load .env file or return an error if it does not exist\n\n  let assert Ok(test) = envoy.get(\"TEST\")\n  let assert Ok(bar) = envoy.get(\"BAR\")\n}\n\n```\n\nand its documentation can be found at \u003chttps://hexdocs.pm/dotenv_gleam\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGrubba27%2Fdotenv_gleam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGrubba27%2Fdotenv_gleam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGrubba27%2Fdotenv_gleam/lists"}