Internet
#github
#git
#repository
#vcs
GitHub Repository
Validates GitHub repository references in owner/repo format. Owner and repo names must be 1–100 characters and contain only alphanumerics, hyphens, underscores, or dots.
✓ GitHub App integrations✓ CI/CD config validation✓ Monorepo tooling
✓ Valid Examples
- regex-to/validators
- torvalds/linux
- microsoft/TypeScript
- user123/my.repo_name
✗ Invalid Examples
- just-a-name
- /missing-owner
- owner/
- -invalid/repo
Usage & Integration
Validate GitHub Repository natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('github-repo', '...');Python
from regexto_validators import validate
validate("github-repo", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("github-repo", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('github-repo', '...');Rust
use regexto_validators::validate;
let is_valid = validate("github-repo", "...").unwrap();