{"id":19846300,"url":"https://github.com/name/dh","last_synced_at":"2026-01-02T08:18:30.804Z","repository":{"id":254873214,"uuid":"847782237","full_name":"name/dh","owner":"name","description":"A lightweight CLI tool for production domain health checks.","archived":false,"fork":false,"pushed_at":"2024-09-03T22:56:11.000Z","size":104,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-12T13:11:48.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/name.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":"2024-08-26T14:35:17.000Z","updated_at":"2024-11-06T08:08:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"64f1ef77-c2b5-4e39-a7e7-b2c0dd6b0a0f","html_url":"https://github.com/name/dh","commit_stats":null,"previous_names":["name/dh"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/name%2Fdh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/name","download_url":"https://codeload.github.com/name/dh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233481514,"owners_count":18682726,"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-11-12T13:11:07.836Z","updated_at":"2025-09-18T12:31:17.429Z","avatar_url":"https://github.com/name.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Domain Health (dh) CLI Tool\n\nA command-line interface tool for checking and scoring the email security configuration of a domain.\n\n## Features\n\n- Checks mail provider (e.g., Google, Microsoft, Mimecast)\n- Verifies SPF (Sender Policy Framework) records\n- Checks DMARC (Domain-based Message Authentication, Reporting, and Conformance) configuration\n- Verifies DKIM (DomainKeys Identified Mail) records\n- Calculates a health score based on SPF, DMARC, and DKIM configurations\n- Provides suggestions for improving email security\n- Displays an easy-to-read summary of domain email security\n\n## Usage\n\n```shell\ndh \u003cdomain\u003e\n```\n\nExample:\n\n```shell\ndh example.com\n```\n\n## Output\n\nThe tool provides a formatted table output including:\n\n- Domain being checked\n- Detected mail provider\n- SPF record status and trusted senders\n- DMARC configuration\n- DKIM record status\n- Overall health score (out of 100)\n- Breakdown of the health score\n- Suggestions for improvement\n\n### Example Outputs\n\n#### Healthy Domain Configuration\n\n![Healthy Domain Output](images/healthy.png)\n\n#### Unhealthy Domain Configuration\n\n![Unhealthy Domain Output](images/unhealthy.png)\n\n## Health Score Calculation\n\nThe health score is calculated based on the following criteria:\n\n- SPF: Up to 33 points\n  - 33 points for valid SPF with hard fail (-all)\n  - 29 points for valid SPF with soft fail (~all)\n  - 25 points for valid SPF without explicit fail\n- DMARC: Up to 34 points\n  - 34 points for p=reject\n  - 25 points for p=quarantine\n  - 20 points for p=none or no policy specified\n- DKIM: 33 points for valid DKIM record\n\n## Requirements\n\n- Rust (latest stable version)\n\n## Installation\n\n1. Clone the repository\n2. Run `cargo build --release`\n3. The binary will be available in `target/release/dh`\n\n## License\n\n[GNU GENERAL PUBLIC LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fname%2Fdh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fname%2Fdh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fname%2Fdh/lists"}