{"id":16318617,"url":"https://github.com/vic/mill-dotenv","last_synced_at":"2025-10-05T01:19:43.206Z","repository":{"id":43836431,"uuid":"147122997","full_name":"vic/mill-dotenv","owner":"vic","description":"A Mill module for twelve-factor apps loading environment variables from a local file.","archived":false,"fork":false,"pushed_at":"2022-02-16T17:41:33.000Z","size":39,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T00:29:49.064Z","etag":null,"topics":["dotenv","hacktoberfest","mill","mill-module","twelve-factor"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-09-02T21:24:12.000Z","updated_at":"2025-04-11T02:41:10.000Z","dependencies_parsed_at":"2022-09-12T10:51:54.625Z","dependency_job_id":null,"html_url":"https://github.com/vic/mill-dotenv","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/vic/mill-dotenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fmill-dotenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fmill-dotenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fmill-dotenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fmill-dotenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vic","download_url":"https://codeload.github.com/vic/mill-dotenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vic%2Fmill-dotenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399288,"owners_count":25980330,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dotenv","hacktoberfest","mill","mill-module","twelve-factor"],"created_at":"2024-10-10T22:24:07.347Z","updated_at":"2025-10-05T01:19:43.176Z","avatar_url":"https://github.com/vic.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mill-dotenv\n\n[![Main workflow](https://github.com/vic/mill-dotenv/workflows/Main%20workflow/badge.svg)](https://github.com/vic/mill-dotenv/actions?query=workflow%3A%22Main+workflow%22)\n[![jitpack](https://jitpack.io/v/vic/mill-dotenv.svg)](https://jitpack.io/#vic/mill-dotenv)\n\nA [Mill][mill] module for loading environment variables from a local file.\n\nStoring configuration in the environment is one of the tenets of a twelve-factor app. Anything that is likely to change between deployment environments–such as resource handles for databases or credentials for external services–should be extracted from the code into environment variables.\n\nBut it is not always practical to set environment variables on development machines or continuous integration servers where multiple projects are run. mill-dotenv loads variables from a .env file into ENV when the environment is bootstrapped.\n\nmill-dotenv is intended to be used in development.\n\n## Usage\n\nSee the example project buildfile: [`example/build.sc`][example].\n\n### Credits\n\nThe regular expression for parsing the env file has been borrowed from [sbt-dotenv] to support exactly the same format.\n\n[mill]: https://www.lihaoyi.com/mill\n[sbt-dotenv]: https://github.com/mefellows/sbt-dotenv\n[example]: https://github.com/vic/mill-dotenv/blob/master/example/build.sc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Fmill-dotenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvic%2Fmill-dotenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvic%2Fmill-dotenv/lists"}