Skip to content

Showcase cards: handle GitLab repositories #1081

Description

@julien-deramond

Note

Still relevant (2026-09-28). scripts/libs/showcaseScrapper.ts fetches repository data from the GitHub GraphQL API only. A GitLab URL is saved as { type: 'gitlab', url } and src/components/Showcase.astro renders it as a plain "Visit this GitLab link" card (one entry today, in src/content/showcase/retlim.json). For a public project, the GitLab REST API (GET /projects/:id, with the URL-encoded path as id) returns the name, description, avatar and star count without a token.

Prerequisites

Proposal

Right now, the script creating the showcase page is able to gather information from GitHub. Otherwise, links are handled just as links.

The script should use the GitLab API in order to gather information about GitLab repositories too.

Motivation and context

This change would improve the cards rendering of GitLab repositories to be more consistent, would bring more information, and would be more visually appealing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureSomething can be improvedhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions