Novolis.IO.GitHub 2026.1.1.54

dotnet add package Novolis.IO.GitHub --version 2026.1.1.54
                    
NuGet\Install-Package Novolis.IO.GitHub -Version 2026.1.1.54
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novolis.IO.GitHub" Version="2026.1.1.54" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.IO.GitHub" Version="2026.1.1.54" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.IO.GitHub" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novolis.IO.GitHub --version 2026.1.1.54
                    
#r "nuget: Novolis.IO.GitHub, 2026.1.1.54"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Novolis.IO.GitHub@2026.1.1.54
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novolis.IO.GitHub&version=2026.1.1.54
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.IO.GitHub&version=2026.1.1.54
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

Novolis.IO.GitHub

GitHub OAuth device flow and a sparse content/ repository mirror (Pull + Save/Commit/Push) via Octokit Git Data API. Aimed at Books Mobile / Studio hosts that should not require a full local git clone on every device.

Install

dotnet add package Novolis.IO.GitHub

Depends on Octokit. Needs a GitHub OAuth App client id with device flow enabled and appropriate scopes (typically repo for private content).

Quick start — device auth

using Novolis.IO.GitHub;

var auth = new GitHubDeviceAuth();
var device = await auth.RequestDeviceCodeAsync(clientId, scope: "repo");
// Show device.UserCode; prefer opening device.VerificationUriComplete
var token = await auth.WaitForAccessTokenAsync(clientId, device);

Manual poll loop: PollForTokenAsync returns DeviceTokenResult (Success, IsPending, errors).

Quick start — content mirror

using Novolis.IO.GitHub;
using Octokit;

var client = SparseRepoMirror.CreateClient(accessToken);
var mirror = new SparseRepoMirror(client, new SparseRepoMirrorOptions
{
    Owner = "frankhaugen",
    Name = "books",
    WorkspaceRoot = workspaceDir,
    ContentPrefix = "content/", // default
});

var pull = await mirror.PullAsync();
mirror.NoteDirty("content/series/.../chapters/001.md");
var push = await mirror.SaveCommitPushAsync(); // message: BooksMobile yyyy-MM-dd HH:mm

Mirror state is kept under {WorkspaceRoot}/.novolis/mobile-mirror.json.

API

Type Role
GitHubDeviceAuth Device code + token wait/poll
DeviceCodeResponse User code, verification URIs, interval, expiry
DeviceTokenResult Access token or pending/error
GitHubRepository Stable raw-content and latest-release URLs
SparseRepoMirror Sparse pull / dirty tracking / commit+push
SparseRepoMirrorOptions Owner, name, workspace root, content prefix
MirrorPullResult / MirrorPushResult Ok, message, commit SHA, file count

Dogfooding / apps

Used by Books Mobile deploy and Studio flows. Local IO smoke does not cover GitHub (needs client id + network).

Package Role
Novolis.IO.Git Local git process helper for desktop Studio
Novolis.IO.Mobile.Android Install / debug Android builds that use this mirror
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Novolis.IO.GitHub:

Package Downloads
Novolis.Manuscript.IO

Manuscript tree surgery, working-copy helpers, and git/GitHub façades.

Novolis.Registry.GitHub

GitHub-hosted registry source for Novolis package and application catalogs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.1.54 0 10/4/2026
2026.1.1.53 0 10/4/2026
2026.1.1.52 0 10/4/2026
2026.1.1.51 31 10/3/2026
2026.1.1.50 37 10/3/2026
2026.1.1.49 38 10/2/2026
2026.1.1.48 38 10/2/2026
2026.1.1.47 40 10/2/2026
2026.1.1.46 34 10/2/2026
2026.1.1.45 38 10/2/2026
2026.1.1.36 39 10/2/2026
2026.1.1.35 38 10/1/2026
2026.1.1.34 47 9/30/2026