GitHub Repository
Details for the GITHUB_REPOSITORY link type
Type Value: GITHUB_REPOSITORY
Status: PRODUCTION
A GITHUB_REPOSITORY
link type corresponds to a repository hosted on GitHub. Alongside standard preview attributes (title
, description
, image
), GITHUB_REPOSITORY
links provide a rich set of repository-specific data—such as star counts, forks, issues, contributors, and topics—making it easy to integrate open-source insights into your application.
What It Includes
When type
is GITHUB_REPOSITORY
, the response includes a githubRepository
object with fields like:
- name & description: Identifies the repo and describes its purpose.
- owner: Information about the repository owner (including username and avatar).
- starsCount, forksCount, watchersCount, contributorsCount: Engagement metrics that reflect the repository’s popularity and community involvement.
- issuesCount, pullRequestsCount: Indicators of project activity and ongoing development.
- commitsCount: The size of the project’s commit history.
- languages & topics: Technical classifications that reveal the repo’s language stack and thematic focus.
- lastCommitDate: The timestamp of the most recent commit, showing how actively the project is maintained.
These insights help users quickly assess a repository’s popularity, stability, technology stack, and level of community involvement.
Example Request
Example Response
Special Notes
- Fallback Strategies: If certain repo metadata is unavailable, Peekalink uses inference to maintain a useful preview.
- Community & Activity Signals: Star counts, forks, and issues help users gauge project health and popularity.
- Language & Topics: Use these fields to highlight the repo’s tech stack and thematic categories, aiding in content discovery.
Schema reference
For a full technical breakdown of all fields and validation rules, including detailed JSON schemas, please refer to the API Reference.