{"id":44025569,"url":"https://github.com/dotandev/envcheck","last_synced_at":"2026-02-07T17:34:45.290Z","repository":{"id":334396954,"uuid":"1141224363","full_name":"dotandev/envcheck","owner":"dotandev","description":"Stop \"works on my machine\" problems with fast, declarative environment validation for tools, versions, env vars, and ports.","archived":false,"fork":false,"pushed_at":"2026-01-24T14:28:46.000Z","size":23,"stargazers_count":0,"open_issues_count":16,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-25T01:42:01.816Z","etag":null,"topics":["cli","developer-tools","dx","environment","oss","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dotandev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2026-01-24T13:35:42.000Z","updated_at":"2026-01-24T13:59:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dotandev/envcheck","commit_stats":null,"previous_names":["dotandev/envcheck"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dotandev/envcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotandev%2Fenvcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotandev%2Fenvcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotandev%2Fenvcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotandev%2Fenvcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotandev","download_url":"https://codeload.github.com/dotandev/envcheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotandev%2Fenvcheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29201284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"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":["cli","developer-tools","dx","environment","oss","rust"],"created_at":"2026-02-07T17:34:44.769Z","updated_at":"2026-02-07T17:34:45.279Z","avatar_url":"https://github.com/dotandev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# envcheck\n\n[![Crates.io](https://img.shields.io/crates/v/envcheck.svg)](https://crates.io/crates/envcheck)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n**envcheck** is a lightweight CLI tool that validates your development environment against project requirements. Say goodbye to \"works on my machine\" problems!\n\n## Features\n\n- **Fast** - Written in Rust, single binary, no dependencies\n- **Simple** - Just add a `.envcheck.yaml` file to your project\n- **Comprehensive** - Check tools, versions, env vars, ports, and files\n- **Clean Output** - Clear, colored output with actionable suggestions\n- **Cross-platform** - Works on macOS, Linux, and Windows\n- **Community-driven** - Easy to extend with new validators\n\n## Quick Start\n\n### Installation\n\n```bash\n# Using cargo\ncargo install envcheck\n\n# Or download from releases\n# https://github.com/dotandev/envcheck/releases\n```\n\n### Usage\n\n1. Initialize a new configuration or use an existing one:\n\n```bash\n# Generate a default configuration\n$ envcheck init\n```\n\n2. Run `envcheck`:\n\n```bash\n$ envcheck\n\nRunning environment checks...\n\n✓ node 18.17.0 found\n✓ docker found\n✗ DATABASE_URL is not set\n  Set DATABASE_URL environment variable\n✓ Port 3000 is available\n✓ .env exists\n\n--- 1 issue(s) found. Fix them to continue.\n```\n\n3. Export results to JSON for CI/CD:\n\n```bash\n$ envcheck --json\n```\n\n## Configuration\n\n### Tools\n\nCheck if tools are installed and verify versions using proper semver comparison:\n\n```yaml\ntools:\n  - name: node\n    version: \"\u003e=18.0.0\"  # Supports semver ranges\n    required: true\n  - name: docker\n    required: false      # Optional tools won't fail the check\n```\n\nSupported tools include `node`, `npm`, `go`, `rust`, `cargo`, `python`, `docker`, `git`, `java`, `ruby`, and more.\n\n### Environment Variables\n\nValidate that required environment variables are set and optionally match a regex:\n\n```yaml\nenv_vars:\n  - name: DATABASE_URL\n    required: true\n  - name: NODE_ENV\n    pattern: \"^(development|test|production)$\"\n    required: true\n```\n\n### Ports\n\nCheck if ports are available:\n\n```yaml\nports:\n  - 3000\n  - 5432\n```\n\n### Files \u0026 Directories\n\nVerify that required files or directories exist and have correct permissions:\n\n```yaml\nfiles:\n  - path: .env\n    required: true\n    permissions: 0o600 # Verify octal permissions (Unix)\n  - path: storage/logs\n    is_directory: true\n    required: true\n```\n\n## Contributing\n\nWe love contributions! This project is designed to be community-driven. See our [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.\n\n### Good First Issues\n\nLooking to contribute? Check out issues labeled [`good first issue`](https://github.com/dotandev/envcheck/labels/good%20first%20issue) - these are perfect for newcomers!\n\n## Examples\n\nSee the [`examples/`](examples/) directory for sample configurations:\n\n- [Node.js project](examples/.envcheck.yaml)\n- [Django project](examples/django-project.yaml)\n- [Rails project](examples/rails-project.yaml)\n- [Go project](examples/go-project.yaml)\n- [Rust project](examples/rust-project.yaml)\n\n## Development\n\n```bash\n# Clone the repo\ngit clone https://github.com/dotandev/envcheck.git\ncd envcheck\n\n# Build\ncargo build\n\n# Run tests\ncargo test\n\n# Run locally\ncargo run -- --help\n```\n\n## License\n\nMIT License - see [LICENSE](LICENSE) for details\n\n## Inspiration\n\nInspired by tools like [Redis](https://redis.io) - built by the community, for the community.\n\n---\n\n**Made by the envcheck community**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotandev%2Fenvcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotandev%2Fenvcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotandev%2Fenvcheck/lists"}