NuGetGallery

Open source

The source code of the NuGet Gallery, the web application and background jobs that power the nuget.org package repository for .NET.

Open-source alternative to

nuget.org
NuGetGallery homepage screenshot
GitHub stars
1.6k
Last 30 days
+1(+0%)
Last commit
yesterday
Repository age
15 years
Version
v2024.12.06
Licence
Apache-2.0
Self-hosted
Yes

About NuGetGallery

NuGet Gallery is the project that powers nuget.org, which the README calls the home of the .NET open-source ecosystem. NuGet is the package manager for .NET, and the gallery is the central repository used by package authors and consumers. The code is written in C# and licensed under Apache 2.0.

The repository holds the gallery web app that runs nuget.org, the background jobs, and shared libraries for configuration, key vault, logging, storage and similar services. It also contains nuget.org's implementation of the NuGet V3 API. Each job is an executable built from a Program class and a Job class and is configured from a JSON file.

The README walks through running the site locally with Visual Studio 2022, using SQL Server Express LocalDB for development, and through deploying either to Azure or locally with IIS Express. Bugs with the gallery are reported through the issue tracker. Visitors to the nuget.org homepage find package search, uploads and statistics.

Key features

  • Web app, background jobs and shared libraries together
  • Implementation of the NuGet V3 API
  • Shared libraries across NuGet server repositories
  • Each job is an executable with Program and Job classes
  • Documented deployment to Azure
  • Local deployment with a publish profile

Good fit for

  • Running a private NuGet package gallery
  • Contributing fixes to nuget.org
  • Developing against the NuGet V3 API
Tags
nuget
dotnet
package-registry
csharp
azure
nuget-org
package-manager

NuGetGallery: questions and answers

What is NuGetGallery used for?
NuGetGallery: The source code of the NuGet Gallery, the web application and background jobs that power the nuget.org package repository for .NET. It is a good fit for running a private NuGet package gallery, contributing fixes to nuget.org and developing against the NuGet V3 API.
Is NuGetGallery open source?
Yes. NuGetGallery is open source under the Apache-2.0 licence. Its source code is on GitHub at NuGet/NuGetGallery and is written mainly in C#.
Is NuGetGallery free?
Yes. NuGetGallery is open source, so the software itself is free to use. A managed cloud version is also available.
Can I self-host NuGetGallery?
Yes. NuGetGallery can be self-hosted on your own server or infrastructure.
What is NuGetGallery an alternative to?
NuGetGallery is an open-source alternative to Cloudsmith. Other open-source alternatives to Cloudsmith include Gitea, Harness and Harbor.
Is NuGetGallery actively maintained?
Yes. The most recent commit to NuGetGallery was on 11 November 2026, and the latest release is v2024.12.06, published on 6 December 2024. The project has 1.6k stars on GitHub, with 1 added in the last 30 days.

Open-source alternatives to NuGetGallery

See all

SaaS alternatives to NuGetGallery

See all