Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

gitlab stricter api rate limits announced

Abierto
#3,263 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
gitlab, nuxt, typescript
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
3.6k
Forks
533
Merge medio
4 d 13 h
PR fusionados (30 d)
37

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de npmx-dev/npmx.dev

Todos los issues de npmx-dev/npmx.dev

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.