All Projects → emgarten → NuGet.CatalogReader

emgarten / NuGet.CatalogReader

Licence: MIT license
NuGet v3 catalog reader

Programming Languages

C#
18002 projects
powershell
5483 projects

Projects that are alternatives of or similar to NuGet.CatalogReader

pkg ping
Prints or writes the fastest OpenBSD mirror(s); or easily replace the mirror in /etc/installurl which went down.
Stars: ✭ 18 (-47.06%)
Mutual labels:  mirror
NHentaiAPI
A (full) nHentai API implementation for .NET
Stars: ✭ 24 (-29.41%)
Mutual labels:  nuget
libtool
Mirror of git://git.savannah.gnu.org/libtool.git
Stars: ✭ 17 (-50%)
Mutual labels:  mirror
QuestPDF
QuestPDF is an open-source, modern and battle-tested library that can help you with generating PDF documents by offering friendly, discoverable and predictable C# fluent API.
Stars: ✭ 2,872 (+8347.06%)
Mutual labels:  nuget
openconnect
OpenConnect (mirror from official repository with pre-build MinGW binary/libraries)
Stars: ✭ 23 (-32.35%)
Mutual labels:  mirror
multilanguages
AKSoftware.Localization.MultiLanguages is a package for .NET developers allows them to easily build apps target multiple languages with just few lines of code
Stars: ✭ 54 (+58.82%)
Mutual labels:  nuget
iTunesSearch
🎵 A .NET wrapper to the iTunes search API
Stars: ✭ 20 (-41.18%)
Mutual labels:  nuget
nwayo
🌰 A multi-theme, multi-site, multi-cms front end framework
Stars: ✭ 27 (-20.59%)
Mutual labels:  mirror
Extended-Toolkit
A companion toolkit for the standard toolkit.
Stars: ✭ 83 (+144.12%)
Mutual labels:  nuget
feedsearch-crawler
Crawl sites for RSS, Atom, and JSON feeds.
Stars: ✭ 23 (-32.35%)
Mutual labels:  feeds
ScreenshotPlugin
A simple Screenshot plugin for Xamarin and Windows to get and save screenshot in yours apps.
Stars: ✭ 32 (-5.88%)
Mutual labels:  nuget
vasttrafik-api
Mirror of the official Västtrafik API (reseplaneraren) for JavaScript
Stars: ✭ 15 (-55.88%)
Mutual labels:  mirror
dotnet-Svg.Contrib.Render
No description or website provided.
Stars: ✭ 21 (-38.24%)
Mutual labels:  nuget
Pandownload-Copy
Pandownload作者被捕,此项目仅作软件保存用
Stars: ✭ 95 (+179.41%)
Mutual labels:  mirror
mirror-leech-telegram-bot
Aria/qBittorrent Telegram mirror/leech bot
Stars: ✭ 1,289 (+3691.18%)
Mutual labels:  mirror
unzip
Tiny unzip helper class for .NET 3.5 Client Profile and Mono 2.10, written in pure C#.
Stars: ✭ 25 (-26.47%)
Mutual labels:  nuget
CoreLibraries
A set of .NET libraries for building enterprise level solutions quickly
Stars: ✭ 22 (-35.29%)
Mutual labels:  nuget
Mirror
Deploy Google and Wikipedia mirror with one command using now.sh.
Stars: ✭ 93 (+173.53%)
Mutual labels:  mirror
Serilog.Sinks.Postgresql.Alternative
Serilog.Sinks.Postgresql.Alternative is a library to save logging information from https://github.com/serilog/serilog to https://www.postgresql.org/.
Stars: ✭ 29 (-14.71%)
Mutual labels:  nuget
Reactive.XAF
DevExpress XAF extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
Stars: ✭ 60 (+76.47%)
Mutual labels:  nuget

Build Status

AppVeyor Travis Visual Studio Online
AppVeyor Travis VSO

What are these tools?

NuGetMirror.exe is a command line tool to mirror nuget.org to disk, or any NuGet v3 feed. It supports filtering package ids and wildcards to narrow down the set of mirrored packages.

NuGet.CatalogReader is a library for reading package ids, versions, and the change history of a NuGet v3 feeds or nuget.org.

Getting NuGetMirror

Install dotnet global tool

  1. dotnet tool install -g nugetmirror
  2. nugetmirror should now be on your PATH

Quick start

Using NuGetMirror

Mirror all packages to a folder on disk.

NuGetMirror nupkgs https://api.nuget.org/v3/index.json -o d:\tmp

NuGetMirror can be used to continually sync the latest packages. Runs store to the last commit time to disk, future runs will resume from this point and only get new or updated packages.

Using NuGet.CatalogReader

Discover all packages in a feed using GetFlattenedEntriesAsync. To see the complete history including edits use GetEntriesAsync.

var feed = new Uri("https://api.nuget.org/v3/index.json");

using (var catalog = new CatalogReader(feed))
{
    foreach (var entry in await catalog.GetFlattenedEntriesAsync())
    {
        Console.WriteLine($"[{entry.CommitTimeStamp}] {entry.Id} {entry.Version}");
        await entry.DownloadNupkgAsync(@"d:\output");
    }
}

NuGet v3 feeds that do not have a catalog can be read using FeedReader.

var feed = new Uri("https://api.nuget.org/v3/index.json");

using (var feedReader = new FeedReader(feed))
{
    foreach (var entry in await feedReader.GetPackagesById("NuGet.Versioning"))
    {
        Console.WriteLine($"{entry.Id} {entry.Version}");
        await entry.DownloadNupkgAsync(@"d:\output");
    }
}

CI builds

CI builds are located on the following NuGet feed:

https://nuget.blob.core.windows.net/packages/index.json

The list of packages on this feed is here.

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].