{"id":28958416,"url":"https://github.com/chenasraf/direnv-dotenvx","last_synced_at":"2026-04-25T08:38:22.475Z","repository":{"id":299891697,"uuid":"1004544675","full_name":"chenasraf/direnv-dotenvx","owner":"chenasraf","description":"A direnv plugin to load .env or .env.{env} files using dotenvx, with automatic variable detection and shell-safe exports.","archived":false,"fork":false,"pushed_at":"2026-03-18T22:44:47.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-19T11:50:11.674Z","etag":null,"topics":["automation","bash","developer-tools","direnv","dotenv","dotenvx","env","environment","plugin","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/chenasraf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"chenasraf","patreon":null,"open_collective":null,"ko_fi":"casraf","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=TSH3C3ABGQM22\u0026currency_code=ILS\u0026source=url"]}},"created_at":"2025-06-18T19:48:41.000Z","updated_at":"2026-03-18T22:44:51.000Z","dependencies_parsed_at":"2025-06-18T21:21:12.767Z","dependency_job_id":"cb5e0a20-4515-43d2-8e88-b48f31e20304","html_url":"https://github.com/chenasraf/direnv-dotenvx","commit_stats":null,"previous_names":["chenasraf/direnv-dotenvx"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/chenasraf/direnv-dotenvx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fdirenv-dotenvx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fdirenv-dotenvx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fdirenv-dotenvx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fdirenv-dotenvx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenasraf","download_url":"https://codeload.github.com/chenasraf/direnv-dotenvx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenasraf%2Fdirenv-dotenvx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32255994,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","bash","developer-tools","direnv","dotenv","dotenvx","env","environment","plugin","shell"],"created_at":"2025-06-23T23:00:52.021Z","updated_at":"2026-04-25T08:38:22.471Z","avatar_url":"https://github.com/chenasraf.png","language":"Shell","funding_links":["https://github.com/sponsors/chenasraf","https://ko-fi.com/casraf","https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=TSH3C3ABGQM22\u0026currency_code=ILS\u0026source=url","https://ko-fi.com/casraf'"],"categories":[],"sub_categories":[],"readme":"# direnv-dotenvx\n\nA simple direnv extension to automatically load environment variables from `.env` files using\n[dotenvx](https://dotenvx.com/).\n\n## 📦 Installation\n\n### Homebrew\n\n```sh\nbrew install chenasraf/tap/direnv-dotenvx\n# or\nbrew tap chenasraf/tap\nbrew install direnv-dotenvx\n```\n\n### Manual\n\n1. Clone the repo somewhere:\n\n```sh\nmkdir -p ~/.config/direnv/lib\ngit clone https://github.com/chenasraf/direnv-dotenvx ~/.config/direnv/lib/direnv-dotenvx\n```\n\n2. Symlink or source the loader:\n\n```sh\nln -s ~/.config/direnv/lib/direnv-dotenvx/use_dotenvx.sh ~/.config/direnv/lib/use_dotenvx.sh\n```\n\n✅ This makes the function `use_dotenvx` available in all `.envrc` files.\n\n## ⚙️ Usage\n\nIn your `.envrc`:\n\n```sh\nuse_dotenvx              # loads .env or .env.default\nuse_dotenvx dev          # loads .env.dev\n```\n\nThen run:\n\n```sh\ndirenv allow\n```\n\n## 🔇 Log Filtering\n\n`direnv-dotenvx` respects the `log_filter` setting from your direnv config\n(`~/.config/direnv/direnv.toml`). Only log messages matching the regex are shown.\n\nFor example, to disable all logs:\n\n```toml\n[global]\nlog_filter=\"^$\"\n```\n\nIf no `log_filter` is set, all messages are shown by default.\n\n## 🔒 Security Note\n\n\u003e ⚠️ `direnv` applies only explicitly exported variables from the `.envrc` environment. `dotenvx`\n\u003e handles `.env` files without needing `export` statements, so your `.env` or `.env.*` files should\n\u003e use the standard `KEY=value` format. Always review your environment files before allowing `direnv`\n\u003e to apply them, as they affect your local shell environment.\n\n## 📝 License\n\nMIT\n\n## Contributing\n\nI am developing this package on my free time, so any support, whether code, issues, or just stars is\nvery helpful to sustaining its life. If you are feeling incredibly generous and would like to donate\njust a small amount to help sustain this project, I would be very very thankful!\n\n\u003ca href='https://ko-fi.com/casraf' target='_blank'\u003e\n  \u003cimg height='36' style='border:0px;height:36px;'\n    src='https://cdn.ko-fi.com/cdn/kofi1.png?v=3'\n    alt='Buy Me a Coffee at ko-fi.com' /\u003e\n\u003c/a\u003e\n\nI welcome any issues or pull requests on GitHub. If you find a bug, or would like a new feature,\ndon't hesitate to open an appropriate issue and I will do my best to reply promptly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenasraf%2Fdirenv-dotenvx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenasraf%2Fdirenv-dotenvx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenasraf%2Fdirenv-dotenvx/lists"}