Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

gitlab stricter api rate limits announced

Offen
#3,263 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
gitlab, nuxt, typescript
Bereich
api

Rechercherichtung

Start by locating the GitLab API calls used for package metadata and changelogs, then read how metadata currently uses cachedfetch and how changelog fetching will use defineCachedFunction. The issue lists access tokens and a separate GitLab API fork as possible approaches, but does not choose one. Done should include an agreed approach that reduces rate-limit risk while supporting the mentioned GitLab data.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

context

Gitlab has announced they're going to make some changes to their api rate limits rules.
From 19th of October an unauthenticated requests will be rate limited to 60 requests per hour per ip.
with a free account with an access token the request go to 5000 request per account.

Currently npmx uses the gitlab api to get metadata (ex: stars), latest release & releases list api's.

link to announcement blog post: https://about.gitlab.com/blog/rate-limit-change-2026/

possible solutions

  • Add via environment variables Gitlab access token(s)
    • possibly make the access token available via a function to allow easier changes in only 1 function
  • create an fork of ungh that serves the gitlab api instead of github's (ungl)

further unless ungl gets made, it would be best if gitlab api is used via cachedfetch or defineCachedFunction to reduce refetching the same data

For package changelog I'll add defineCachedFunction to reduce refetching the same data.
Getting metadata like stars already use cachedfetch currently

if there other solutions or you've some opinions, then don't be hesitant to comment below.
I know that Gitlab isn't used as much as for example github for hosting npm packages source code, but it might still be best to be able to handle more than 60 an hour

Vorherrschende Sprache
TypeScript
Sterne
3.6k
Forks
533
Ø Merge
4 T. 13 Std.
Gemergte PRs (30 T.)
37

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus npmx-dev/npmx.dev

Alle Issues in npmx-dev/npmx.dev

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.