Skip to content

Enhancement: Enable Public Repo Tracking Without Personal Access Token (PAT) #224

@Julliet-Mohanta

Description

@Julliet-Mohanta

Problem: Currently, our dashboard requires a Personal Access Token (PAT) to view GitHub activity. This creates a barrier for new users who want to quickly track a public repository without going through GitHub's developer settings.
Proposed Solution:

  1. Optional PAT: Make the PAT input field optional in the layout.
  2. Unauthenticated Fetch: When a repository URL is entered, attempt to fetch data using a standard GET request to https://github.com{owner}/{repo} without an authorization header.
  3. Fallback/Rate Limit Handling:If the request succeeds, render the tracking data immediately.
  4. If the request fails due to a 403 (Rate Limit Exceeded), then prompt the user to provide a PAT.If the repository is private, show a specific message: "Private repository detected. Please input PAT".

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions