Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

pages-health-check

> 编程语言
Open source

Checks your GitHub Pages site for common DNS configuration issues

156 stars0 likes2 views
WebsiteGitHub

About

Checks your GitHub Pages site for common DNS configuration issues

GitHub Pages Health Check

Checks your GitHub Pages site for common DNS configuration issues

Installation

gem install github-pages-health-check

Usage

Basic Usage

ruby
> check = GitHubPages::HealthCheck::Site.new("choosealicense.com")
=> #
> check.valid?
=> true

An invalid domain

ruby
> check = GitHubPages::HealthCheck::Site.new("foo.github.com")
> check.valid?
=> false
> check.valid!
raises GitHubPages::HealthCheck::Errors::InvalidCNAMEError

Retrieving specific checks

ruby
> check.domain.should_be_a_record?
=> true
> check.domain.a_record?
=> true

Getting checks in bulk

…

Getting the reason a domain is invalid

ruby
> check = GitHubPages::HealthCheck::Site.new "developer.facebook.com"
> check.valid?
=> false
> check.reason
=> #
> check.reason.message
=> "CNAME does not point to GitHub Pages"

Repository checks

Repository checks require a personal access or OAuth token with repo or scope. This can be passed as the second argument to the Site or Repository constructors like so:

ruby
check = GitHubPages::HealthCheck::Site.new "github/pages-health-check", access_token: "1234

You can also set OCTOKIT_ACCESS_TOKEN as an environmental variable, or via a .env file in your working directory.

Command Line

…

Issues· 7 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Ruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言