Klyroo.Hotkey
0.1.0-preview.2
dotnet add package Klyroo.Hotkey --version 0.1.0-preview.2
NuGet\Install-Package Klyroo.Hotkey -Version 0.1.0-preview.2
<PackageReference Include="Klyroo.Hotkey" Version="0.1.0-preview.2" />
<PackageVersion Include="Klyroo.Hotkey" Version="0.1.0-preview.2" />
<PackageReference Include="Klyroo.Hotkey" />
paket add Klyroo.Hotkey --version 0.1.0-preview.2
#r "nuget: Klyroo.Hotkey, 0.1.0-preview.2"
#:package Klyroo.Hotkey@0.1.0-preview.2
#addin nuget:?package=Klyroo.Hotkey&version=0.1.0-preview.2&prerelease
#tool nuget:?package=Klyroo.Hotkey&version=0.1.0-preview.2&prerelease
Klyroo.Hotkey
A server-side .NET 11 client for Hotkey. Add it to a .NET backend to keep one cloud browser per user, request a human handoff and handle the events that follow.

Features
- Browser profiles: provision a cloud browser per user and manage its lifecycle, locale and tabs.
- Human handoffs: give a user an expiring link to complete a sign-in or confirmation.
- Live views: display an authorized browser in an expiring read-only or interactive embed.
- Signed events: verify webhook payloads before resuming a workflow or processing a download.
Packages
| Package | Description |
|---|---|
Klyroo.Hotkey |
Server-side .NET 11 client (HotkeyClient), DI registration (AddKlyrooHotkey), typed request/response models and HMAC-SHA256 webhook verifier (HotkeyWebhook). Depends on Microsoft.Extensions.Http only; built from source until published to NuGet. |
Build and install
From this repository, build the independently versioned NuGet package and add it to your server project from the local feed:
dotnet pack src/Klyroo.Hotkey -c Release -o artifacts
dotnet add /path/to/Server.csproj package Klyroo.Hotkey --version 0.1.0-preview.1 --no-restore
dotnet restore /path/to/Server.csproj --source "$PWD/artifacts" --source https://api.nuget.org/v3/index.json
Add a browser and request a handoff
using Klyroo.Hotkey;
// Configure this in the server project's Program.cs.
builder.Services.AddKlyrooHotkey(
services => services.GetRequiredService<IConfiguration>()["Hotkey:ApiKey"]
?? throw new InvalidOperationException("Missing server setting Hotkey:ApiKey."));
Set Hotkey__ApiKey via the server's secret configuration. For every operation, resolve the Hotkey browser ID from your authenticated user's server-side mapping. Only the provisioning backend needs a workspace key. Use a key scoped to a single browser for that user's other operations.
// In an authenticated handler after resolving userId on the server.
var browser = await hotkey.GetOrCreateBrowserAsync(
new BrowserCreate(ExternalId: userId, TimeZone: "Europe/Paris", Languages: ["fr-FR"]),
idempotencyKey: provisioningOperationId,
cancellationToken: cancellationToken);
var ask = await hotkey.CreateAskAsync(
new AskCreate(browser.Id, "Sign in to your reporting portal",
Url: new Uri("https://reports.example.com/sign-in")),
idempotencyKey: handoffOperationId,
cancellationToken: cancellationToken);
Persist the operation IDs and use the same ID and request body if the caller retries. Keep hand links and live-view URLs private and deliver them only to the authorized user. An ask can optionally offer the user the choice to save their sign-in. The backend handles the resulting event or reads the ask status.
API coverage
| Task | Client operations |
|---|---|
| Browsers | List, page, provision by external ID, update locale and metadata, wake, sleep, delete, and list tabs |
| Human handoffs | Create, find, cancel or renew an ask, list saved sign-in metadata and forget a saved sign-in |
| Live view | Configure workspace origins, create an expiring view or interactive embed, list, inspect and revoke embeds |
| Files | List and stream browser downloads, including saved PDFs, and delete files |
| Events and usage | Read the event cursor, query usage or stream its CSV export |
| Access and delivery | Read workspace and account, issue and revoke browser-scoped keys, manage webhook endpoints and verify deliveries |
Browser execution and session storage are provided by Hotkey. Site permissions, camera and microphone, passkeys, proxy routing and billing are managed through Hotkey itself. See the HTTP API and embed documentation.
Receive webhooks
Pass the raw request bytes and the Hotkey-Signature header to HotkeyWebhook.VerifyAndRead before JSON parsing. Reject a null result. The verifier checks HMAC-SHA256 and a five-minute window. Deduplicate using the authenticated event's Id in your durable queue or database, then return 2xx once you have recorded it. The API key and the endpoint's webhook secret are separate credentials. See the delivery contract.
The client retries safe reads and supported idempotent writes a maximum of twice. It honors retry delays up to 30 seconds and returns longer delays in HotkeyException.RetryAfter. Embed creation is sent once because every call mints a new token. Stream copies leave the destination open and can leave partial bytes if the connection is interrupted.
Documentation
| Getting started | Step-by-step first integration |
| Guides | Task-oriented recipes for profiles, handoffs, webhooks, embeds and testing |
| Concepts | Server-side ownership, scoped keys, retries and webhook verification |
| Platforms | Server hosting, Blazor render modes, .NET MAUI clients and trimming |
| API reference | Every public type and member |
| FAQ | Troubleshooting and limitations |
Compatibility
- .NET 11 SDK (
net11.0). - Server-side .NET library with no UI dependency (
Microsoft.Extensions.Httponly). - Blazor Web (Static SSR, Interactive Server, WebAssembly, Auto) and .NET MAUI apps (Blazor Hybrid and Native) connect through your authenticated backend API so API keys and webhook secrets never reach the client.
Klyroo ecosystem
Klyroo is a family of independent .NET libraries that compose. Each one has its own repository, versions and releases.
| Library | Description |
|---|---|
| Klyroo.UI | Accessible Blazor components for the web and .NET MAUI Blazor Hybrid, styled with Tailwind CSS v4 |
| Klyroo.Query | Typed query model, URL state sync, and IQueryable / EF Core execution |
| Klyroo.Table | Data lists with table and card-grid layouts, filters, selection and actions |
| Klyroo.Form | Schema-driven forms, validation and wizards |
| Klyroo.Dashboard | Dashboard controller, filters and Blazor blocks: stats, gauges, charts, tables and feeds |
| Klyroo.Display | Code highlighting, secret and file list components, media player controls and file preview |
| Klyroo.Spreadsheet | Import wizard for CSV, TSV and pasted data, with column and value mapping |
| Klyroo.Agent | Bridge that lets AI agents read and act on Klyroo forms, dashboards and imports |
| Klyroo.Hotkey | Server-side .NET client for Hotkey cloud browsers, human handoffs and signed webhooks |
| Klyroo.Stack | Meta-package, MCP documentation server and dotnet new templates |
License
MIT. See LICENSE.
| Product | Versions 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. net11.0 is compatible. |
-
net10.0
- Microsoft.Extensions.Http (>= 10.0.0)
-
net11.0
- Microsoft.Extensions.Http (>= 11.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.2 | 37 | 11/29/2026 |
| 0.1.0-preview.1 | 38 | 11/29/2026 |