{"id":21740614,"url":"https://github.com/noahc3/libgetdownloader","last_synced_at":"2026-04-22T23:35:48.607Z","repository":{"id":44659599,"uuid":"203186924","full_name":"noahc3/LibGetDownloader","owner":"noahc3","description":".NET Standard libget repository interface library","archived":false,"fork":false,"pushed_at":"2022-12-08T14:44:06.000Z","size":22,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-23T14:21:56.372Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noahc3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-19T14:15:43.000Z","updated_at":"2019-09-19T23:55:53.000Z","dependencies_parsed_at":"2023-01-25T14:00:37.149Z","dependency_job_id":null,"html_url":"https://github.com/noahc3/LibGetDownloader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/noahc3/LibGetDownloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FLibGetDownloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FLibGetDownloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FLibGetDownloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FLibGetDownloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahc3","download_url":"https://codeload.github.com/noahc3/LibGetDownloader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahc3%2FLibGetDownloader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261232676,"owners_count":23128166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T06:14:20.107Z","updated_at":"2026-04-22T23:35:48.561Z","avatar_url":"https://github.com/noahc3.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LibGetDownloader\n\n[![Nuget](https://img.shields.io/nuget/v/LibGetDownloader?style=flat-square)](https://www.nuget.org/packages/LibGetDownloader/)\n\nThis is a .NET Standard library for interfacing with remote libget repositories. This allows easy retrieval of package information and downloading of packages from libget repositories.\n\nFor more information on libget, see https://github.com/vgmoose/libget\n\n\n## Library\n\nThe library is created in C# for .NET Standard 2.0. You can use it in any .NET Standard, .NET Core, .NET Framework, etc. project.\n\n### Examples\n\nAll examples should have `using LibGetDownloader;`\n\nCreate a \"Repo\" object:\n\n```csharp\nRepo repo = Repo.GetRepo(\"https://switchbru.com/appstore/\");\n```\n\nCheck if a package exists in the repository:\n\n```csharp\nif (!repo.PackageExists(\"Goldleaf\")) {\n  Console.WriteLine(\"Package doesn't exist!\");\n} else {\n  Console.WriteLine(\"Package exists!\");\n}\n```\n\nGet the Package object for a package:\n\n```csharp\nPackage p = repo.GetPackage(\"Goldleaf\");\n```\n\nYou can view all available properties [here](https://github.com/noahc3/LibGetDownloader/blob/832ed506ecdf73d08a99979916718b69e5dbf3c9/LibGetDownloader/Package.cs#L10).\n\nExample:\n\n```csharp\n// Equivalent to p.ToDetailedString();\nstring[] lines = new string[] {\n    $\"[{Name}]\",\n    $\"    Title: {p.Title}\",\n    $\"    Version: {p.Version}\",\n    $\"    Author: {p.Author}\",\n    $\"    Category: {p.Category.ToString()}\",\n    $\"    Description: {p.Description}\",\n    $\"    URL: {p.Url}\",\n    $\"    License: {p.License}\",\n    $\"    Binary: {p.Binary}\",\n    $\"    File Size: {p.FileSize}\",\n    $\"    Extracted Size: {p.Extracted}\",\n    $\"    Web Downloads: {p.WebDownloads}\",\n    $\"    App Downloads: {p.AppDownloads}\",\n};\nConsole.WriteLine(String.Join(Environment.NewLine, lines));\n\n//Example Output:\n//[Goldleaf]\n//    Title: Goldleaf\n//    Version: 0.6.1\n//    Author: XorTroll\n//    Category: tool\n//    Description: Nintendo Switch title installer \u0026 manager\n//    URL: https://github.com/XorTroll/Goldleaf/releases\n//    License: GPLv3\n//    Binary: /switch/Goldleaf/Goldleaf.nro\n//    File Size: 4861\n//    Extracted Size: 11383\n//    Web Downloads: 2436\n//    App Downloads: 19983\n```\n\nDownloading a Package ZIP to disk without extracting:\n\n```csharp\nrepo.DownloadPackageToDisk(\"Goldleaf\", \"out/Goldleaf.zip\");\n```\n\nDownloading a Package ZIP to disk and extract:\n\n```csharp\nrepo.DownloadPackageToDisk(\"Goldleaf\", \"out/Goldleaf\", true);\n```\n\nDownloading a Package ZIP and get a byte[] buffer in memory:\n\n```csharp\nbyte[] buffer = repo.DownloadPackageToMemory(\"Goldleaf\");\n```\n\n## CLI Tool\n\nThe CLI tool (LibGetDownloaderCli) is a working implementation of the library in a simple cross-platform .NET Core console application.\n\n```\n\u003e LibGetDownloaderCli.exe --help\nLibGetDownloaderCli 1.0.0\nCopyright (C) 2019 noahc3\n  list       List all packages in a repository.\n  info       Display detailed information on a specified package from a repository.\n  get        Get (download) a specified package from a repository.\n  help       Display more information on a specific command.\n  version    Display version information.\n```\n\n```\n\u003e LibGetDownloaderCli.exe list --help\nLibGetDownloaderCli 1.0.0\nCopyright (C) 2019 noahc3\n  -r, --repo          Required. libget repository to use.\n  -c, --categories    (Default: all) Semicolon separated list of categories to include.\n  --help              Display this help screen.\n  --version           Display version information.\n```\n\n```\n\u003e LibGetDownloaderCli.exe info --help\nLibGetDownloaderCli 1.0.0\nCopyright (C) 2019 noahc3\n  -r, --repo       Required. libget repository to use.\n  -p, --package    Required. List information on a given package name.\n  --help           Display this help screen.\n  --version        Display version information.\n```\n\n```\n\u003e LibGetDownloaderCli.exe get --help\nLibGetDownloaderCli 1.0.0\nCopyright (C) 2019 noahc3\n  -r, --repo         Required. libget repository to use.\n  -p, --package      Required. List information on a given package name.\n  -d, --directory    Required. File path to download a zip to, or a directory to extract files to.\n  -e, --extract      (Default: false) Extract downloaded package ZIP to specified directory.\n  --help             Display this help screen.\n  --version          Display version information.\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahc3%2Flibgetdownloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahc3%2Flibgetdownloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahc3%2Flibgetdownloader/lists"}