Skip to content

gitpkg.vercel.app is down #62

Open

Description

@futurekarol

When loading the page it says This deployment is temporarily paused and loading packages fails with Payment Required - 402.

Activity

  1. yosizesta commented on Nov 23, 2025

    @yosizesta

    same problem here

  2. EqualMa commented on Nov 23, 2025

    @EqualMa
    Owner

    Sorry for the inconvenience. My vercel free account is paused due to overusage. Please deploy GitPkg with your own vercel account.

    Image Image
  3. pinned this issue on Nov 23, 2025
  4. deflexable commented on Nov 29, 2025

    @deflexable

    @EqualMa is there a doc anywhere on how to easily deploy this?

  5. DanielKuhn commented on Feb 4, 2026

    @DanielKuhn

    It's now happening again. We're using gitpkg.vercel.app to package subdirectories of repos and now we can't install.
    So, I'm asking again: How can one "deploy GitPkg with your own vercel account" to avoid this error in the future?

  6. trogau commented on Feb 4, 2026

    @trogau

    I've never used Vercel but was able to get Gitpkg running in a self-hosted manner on my own server using the Vercel CLI via vercel dev. There are probably easier ways to do this and deploy it directly in Vercel, so maybe someone else can comment on that.

    Unfortunately I didn't keep great notes, but all I did was something like the below:

    1. Create a free Vercel account
    2. Check out the gitpkg code to a server
    3. Run npm install to install dependencies
    4. Install Typescript
    5. Install the Vercel CLI
    6. Run vercel dev to start the application.

    My notes have the following steps which show some of the steps I did. Apologies that it's not more specific but I remember I had to muck around a bit to find the right sequencing.

    mkdir gitpkg
    cd gitpkg
    wget https://github.com/EqualMa/gitpkg/archive/refs/heads/main.zip
    
    wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
    // need to restart shell here I think to effect the setup of nvm into PATH
    nvm install 22
    npm install typescript --save-dev
    npm i -g vercel
    
    // I also installed earlyoom because I found that random bots would hit the endpoint and it would chew up memory and crash
    apt install earlyoom
    

    At some point in the above you need to link your deployment to your free Vercel account - I /think/ that happens when you first run vercel dev but there may be another step there that I've forgotten.

    I put nginx in front of it as a reverse proxy and added a location rule so it would ONLY forward requests to the gitpkg backend that were relevant to our repository. I highly recommend doing this so nginx filters out all the random Internet background radiation and only valid requests are passed to your gitpkg endpoint. (Alternatively if you can deploy this off the public Internet that is safer; I started to deploy it on Tailscale but ran into some internal network config issues that made this painful).

    I've had this running happily for several months now. We're planning on removing our dependency on this in our build process soon but that is dragging out so if time permits I'm going to look at stripping out the Vercel requirement as it doesn't seem to add any value for a self-deployment like this.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions