{"id":18585355,"url":"https://github.com/tyhopp/lenv","last_synced_at":"2025-05-16T06:09:03.295Z","repository":{"id":257790248,"uuid":"846854497","full_name":"tyhopp/lenv","owner":"tyhopp","description":"Manage .env symlinks","archived":false,"fork":false,"pushed_at":"2024-10-19T07:00:19.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T16:52:29.741Z","etag":null,"topics":["cli","env","environment-variables","go","golang","monorepo","symlink","symlinks-manager","wasi","wasm","zero-dependency"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tyhopp.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.sh","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":"2024-08-24T06:16:37.000Z","updated_at":"2024-10-19T07:00:22.000Z","dependencies_parsed_at":"2025-02-17T16:49:53.399Z","dependency_job_id":"7bd07a05-ce84-446a-a2fc-0fc3315204b7","html_url":"https://github.com/tyhopp/lenv","commit_stats":null,"previous_names":["tyhopp/lenv"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Flenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Flenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Flenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyhopp%2Flenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyhopp","download_url":"https://codeload.github.com/tyhopp/lenv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254478193,"owners_count":22077676,"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":["cli","env","environment-variables","go","golang","monorepo","symlink","symlinks-manager","wasi","wasm","zero-dependency"],"created_at":"2024-11-07T00:33:16.798Z","updated_at":"2025-05-16T06:09:03.279Z","avatar_url":"https://github.com/tyhopp.png","language":"Go","readme":"# lenv\n\nManage symlinks from a root file to multiple destinations.\n\nUseful for monorepos that use a single `.env` file as a source of truth for many child projects.\n\n## Installation\n\nDownload precompiled binaries from [Releases](https://github.com/tyhopp/lenv/releases).\n\nPorts for various programming languages are available in [lenv-ports](https://github.com/tyhopp/lenv-ports):\n\n- [JavaScript](https://github.com/tyhopp/lenv-ports/tree/main/js/README.md), published to [npm](https://www.npmjs.com/package/lenv-js)\n- [Python](https://github.com/tyhopp/lenv-ports/tree/main/py/README.md), published to [PyPI](https://pypi.org/project/lenv-py)\n- [Rust](https://github.com/tyhopp/lenv-ports/tree/main/rs/README.md), published to [crates.io](https://crates.io/crates/lenv-rs)\n\n## Usage\n\nIn the root of your project:\n\n1. Create a `.env` (or other named) file you want to symlink\n2. Create a `.lenv` file with the destination locations to symlink to, such as:\n\n```\nproject/a/.env\nproject/b/.env\n```\n\n3. Execute `lenv link` to create symlinks\n\nUse the `-help` flag to see all usage instructions.\n\n### WASI binary execution\n\nThe [WebAssembly System Interface (WASI)](https://wasi.dev/) binary can be executed with the [Wasmtime](https://wasmtime.dev/) runtime CLI with this command structure:\n\n```\nwasmtime --wasi cli --dir /absolute/path/to/project lenv-wasip1.wasm\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Flenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyhopp%2Flenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyhopp%2Flenv/lists"}