Skip to content

dnesdan/website-trust-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website Trust Checker

CI

Website Trust Checker is a small CLI that checks basic trust signals for a website and prints a simple report card. It is useful for landing pages, indie products, client sites, and quick pre-launch reviews.

Features

  • Normalizes bare domains like example.com to HTTPS.
  • Checks HTTP status and HTTPS usage.
  • Extracts page title and meta description.
  • Looks for privacy policy, contact, and support signals.
  • Checks for common security headers.
  • Supports text and JSON output.
  • Runs with no runtime dependencies.

Installation

git clone https://github.com/dnesdan/website-trust-checker.git
cd website-trust-checker
npm install

Usage

node ./bin/trust-check.js https://example.com

JSON output:

node ./bin/trust-check.js example.com --json

The CLI exits with code 1 when the score is below 70, which makes it useful in simple CI checks.

Example Output

Website Trust Report: https://example.com/
Score: 86/100

Title: Example Domain

Checks:
- OK Uses HTTPS
- OK HTTP status 200
- NO Links to a privacy policy

What It Checks

  • HTTPS
  • Successful HTTP status
  • Useful title
  • Meta description
  • Privacy policy link
  • Contact or support signal
  • Basic security headers

This is not a vulnerability scanner or legal compliance tool. It is a fast first-pass trust checklist.

Development

npm test

Roadmap

  • Broken link scan.
  • Lighthouse-style performance hints.
  • Accessibility quick checks.
  • Markdown report export.

License

MIT

About

CLI that checks basic trust signals for websites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors