Novolis.IO.GitHub 2027.0.1.91

dotnet add package Novolis.IO.GitHub --version 2027.0.1.91
                    
NuGet\Install-Package Novolis.IO.GitHub -Version 2027.0.1.91
                    
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="2027.0.1.91" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.IO.GitHub" Version="2027.0.1.91" />
                    
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 2027.0.1.91
                    
#r "nuget: Novolis.IO.GitHub, 2027.0.1.91"
                    
#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@2027.0.1.91
                    
#: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=2027.0.1.91
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.IO.GitHub&version=2027.0.1.91
                    
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 net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 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.

Novolis.Work.GitHub

GitHub Issues adapter for Novolis.Work: label-membership projects, labels, and ISSUE_TEMPLATE catalog.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2027.0.1.91 0 12/5/2026
2027.0.1.89 0 12/5/2026
2027.0.1.88 0 12/5/2026
2027.0.1.87 0 12/5/2026
2027.0.1.86 0 12/5/2026
2027.0.1.85 0 12/5/2026
2027.0.1.84 0 12/5/2026
2027.0.1.83 0 12/4/2026
2027.0.1.82 0 12/4/2026
2027.0.0.79 37 12/4/2026
2027.0.0.78 51 12/4/2026
2026.1.1.71 117 11/10/2026
2026.1.1.70 136 10/25/2026
2026.1.1.69 109 10/19/2026
2026.1.1.68 107 10/19/2026
2026.1.1.67 111 10/19/2026
2026.1.1.66 123 10/18/2026
2026.1.1.64 118 10/18/2026
2026.1.1.63 108 10/18/2026
2026.1.1.62 116 10/18/2026
Loading failed