---
title: "New upstream source: GitHub Releases"
description: "You can now proxy and cache binaries, scripts, and other assets directly from GitHub Releases into Cloudsmith."
canonical_url: "https://cloudsmith.com/changelog/proxy-and-cache-from-github-releases"
last_updated: "2026-02-26T19:21:15.622Z"
---
# New upstream source: GitHub Releases

You can now proxy and cache binaries, scripts, and other assets directly from **GitHub Releases** into Cloudsmith. This integration allows you to treat GitHub-hosted assets as a managed part of your internal software supply chain, rather than an external dependency.

## Why this matters

- **High availability:** Cloudsmith caches assets upon the first request. Your binaries remain available even if the source GitHub repository is deleted, is made private, or suffers an outage.
- **Rate limit management:** Serving repeated requests from the Cloudsmith cache preserves your GitHub API quota and prevents CI/CD failures due to "403 Forbidden" errors from GitHub.
- **Governance & visibility:** Centralizing access ensures teams download only approved, trusted versions of third-party assets via a single internal URL.

## How it works

Cloudsmith utilizes the GitHub REST API to retrieve structured release data and assets, ensuring reliability without relying on complex HTML parsing.

When a file is requested through Cloudsmith, the platform will:

1. **Proxy** the call to the corresponding GitHub Release API.
2. **Retrieve** the file from GitHub.
3. **Serve and cache** the file for all future requests.

**Note:** Because GitHub organizes releases by namespace (user/org) and repository, you will typically configure a separate Cloudsmith upstream for each GitHub repository.

## Rate limits and authentication

To ensure a reliable experience and prevent performance bottlenecks, upstreams configured to GitHub Releases require an authentication token. GitHub limits unauthenticated API requests to just 60 per hour per IP address. By providing a GitHub token, you leverage GitHub’s authenticated rate limit of 5,000 requests per hour, ensuring your pipelines remain stable and performant.

For more details, see the official [GitHub REST API Rate Limits](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api) documentation.

## Get started

To configure an upstream for GitHub Releases, follow these steps:

1. Navigate to your repository and select **Upstreams**.
2. Click **Configure new upstream** and select the **Generic** source type.
3. Enter your GitHub Releases URL and your authentication token.

```json
{
  "_key": "763633754f28",
  "_type": "image",
  "alt": "Configuring GitHub Releases as an upstream in Cloudsmith",
  "asset": {
    "_createdAt": "2026-02-26T18:35:57Z",
    "_id": "image-bab7a5eef62c3e9c76ad2ca846ba1d6caab1342b-1737x1211-png",
    "_rev": "AIXdq82WMySkiPSuU6Si6k",
    "_type": "sanity.imageAsset",
    "_updatedAt": "2026-02-26T18:35:57Z",
    "assetId": "bab7a5eef62c3e9c76ad2ca846ba1d6caab1342b",
    "extension": "png",
    "metadata": {
      "_type": "sanity.imageMetadata",
      "blurHash": "V7PQW_%M00xu~C?uoeIWfRxZE2oe%LofRj~poeD+R*-o",
      "dimensions": {
        "_type": "sanity.imageDimensions",
        "aspectRatio": 1.434351775392238,
        "height": 1211,
        "width": 1737
      },
      "hasAlpha": true,
      "isOpaque": true,
      "lqip": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAACXBIWXMAAAsTAAALEwEAmpwYAAACIklEQVR4nIWSWW+bQBSF8/9/UvrSVq1Utamb2AYH28CwzQwMi8FsXqRT3RmI3ShSHw7rvd+cuzxYTOIjOVGGQBaIVYUkryCKGrKowWSJTZDqmDXJN7JITOLB1h+Flh3IN7mJQlrWqJoWddujG09oh1GD6TCK/7MX+OVwPG05lq6A7RMwICDXstgEZQIuz5EfCDag6Ub04wXdcIIsGjhROgE5fr5yPDkcS09gQw7pQrCVx2H5wkCZwC5WSNQRSd4jzjvwoocoe4RZjddwKtkXWHlGlLcJCBgIrD2OlZvouz0DI4VANtglNWxW6HukeoSpAVKr5liLmbwb0E+wdGOsvES7pJ9ekkMWR7ixwnIXIpQlquMIkTfY/g+48qipxqEG+gRUGkigfZjp57o7QxQGSMkkewYGHwDJIfWTgPtYIVZHxKrXSooBvBgQpgc4k8MZuGYc1gy034ZiHJppc702WdXh0J5RtRekZYdIVghkaUoObmtmTaVPDmkpzWDWk0PL5/C50vt3vlxxulzR9gOKQ4NEVdhG5PAG2dxJl0yANxgF+uQwQ1l36MczxvMVw+mKY38yix2SCXOw/Q5655AmTAHmfcNSbOMaTtJhz0d48gRfjnD5QSeaiuY1uwPOPTATNg7J6fNe4LuV4XGh8LjI8WlR4PMyx2KX/dMis2bvHJrRU5NNo+n5ZRfjxzrA12eGL1o+vr0w/HYiczjlTBVRzgz8C3JL/V9jWu1UAAAAAElFTkSuQmCC",
      "palette": {
        "_type": "sanity.imagePalette",
        "darkMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#374c5c",
          "foreground": "#fff",
          "population": 0.02,
          "title": "#fff"
        },
        "darkVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#152a38",
          "foreground": "#fff",
          "population": 0.18,
          "title": "#fff"
        },
        "dominant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#a3b8d4",
          "foreground": "#000",
          "population": 0.76,
          "title": "#fff"
        },
        "lightMuted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#a3b8d4",
          "foreground": "#000",
          "population": 0.76,
          "title": "#fff"
        },
        "lightVibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#64a4fc",
          "foreground": "#000",
          "population": 0.01,
          "title": "#fff"
        },
        "muted": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#4d74b0",
          "foreground": "#fff",
          "population": 0.18,
          "title": "#fff"
        },
        "vibrant": {
          "_type": "sanity.imagePaletteSwatch",
          "background": "#2c6de2",
          "foreground": "#fff",
          "population": 0.53,
          "title": "#fff"
        }
      },
      "thumbHash": "uOcBBYAHx4eKhXmFirdIdViegKBI"
    },
    "mimeType": "image/png",
    "originalFilename": "image1.png",
    "path": "images/rafvlnhi/production/bab7a5eef62c3e9c76ad2ca846ba1d6caab1342b-1737x1211.png",
    "sha1hash": "bab7a5eef62c3e9c76ad2ca846ba1d6caab1342b",
    "size": 244029,
    "uploadId": "gZAQP6Aoqm7L7YaLlNbOZ9rpE5TchPPk",
    "url": "https://cdn.sanity.io/images/rafvlnhi/production/bab7a5eef62c3e9c76ad2ca846ba1d6caab1342b-1737x1211.png"
  },
  "link": {
    "_type": "link",
    "href": null,
    "openInNewTab": false
  },
  "markDefs": null
}
```

For more details, please review our [documentation](https://docs.cloudsmith.com/formats/generic-repository).
