Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

codeGROOVE-dev/turnclient

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turnclient

A command-line tool to check if a GitHub pull request is blocked by a specific user.

Installation

go install github.com/codeGROOVE-dev/turnclient/cmd/checkurl@latest

Usage

checkurl [options] <github-pr-url>

Options:
  --backend=<url>    Backend server URL (default: http://localhost:8080)
  --user=<username>  GitHub username to check (default: current authenticated user)
  --verbose          Enable verbose logging

Examples

Check if a PR is blocked by the current authenticated user:

checkurl https://github.com/owner/repo/pull/123

Check if a PR is blocked by a specific user:

checkurl --user=octocat https://github.com/owner/repo/pull/123

Use a different backend server:

checkurl --backend=https://api.example.com https://github.com/owner/repo/pull/123

Authentication

The tool uses GitHub authentication to:

  • Automatically detect the current user (when --user is not specified)
  • Make authenticated API requests to avoid rate limits

Authentication methods (in order of precedence):

  1. GITHUB_TOKEN environment variable
  2. GitHub CLI (gh auth token)

To authenticate:

# Option 1: Set environment variable
export GITHUB_TOKEN=your_token_here

# Option 2: Use GitHub CLI
gh auth login

Development

Building

go build ./cmd/checkurl

Testing

go test ./...

License

See LICENSE file.

About

client to the turnserver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.