@vidra-dev/sdk

Framework-agnostic TypeScript SDK for Vidra bridge (JS ↔ .NET MAUI)
1,087 53
Install
npm install @vidra-dev/sdk
Latest Version:0.5.1
License:MIT
Last Updated:Oct 23, 2026
Links: GitHub  ·  npm
Maintainer: rzamfiriu

@vidra-dev/sdk

Framework-agnostic TypeScript SDK for the Vidra bridge.

Alpha: APIs may change between 0.x releases.

Install

npm install @vidra-dev/sdk

Most applications should start with create-vidra-app, which configures the SDK and generated app contracts automatically.

Usage

import { appWindow, clipboard, connectivity, vidra } from "@vidra-dev/sdk";

const { text } = await clipboard.getText();
const currentWindow = await appWindow.getCurrent();

const unsubscribe = connectivity.onChanged(status => {
  console.log(status.access);
});

const capabilities = await vidra.capabilities();

Built-in native methods and events are generated from C# contracts, providing typed payloads, results, and editor completion. App-owned contracts are generated into the application.

Documentation

License

MIT

Related Packages

vidra-cli

The vidra command: dev, build, updates and doctor for Vidra apps (React + .NET M...

406 53
create-vidra-app

Scaffold a new Vidra application (React + .NET MAUI)

3,582 53
@phoria/phoria

Islands architecture for dotnet powered by Vite.

1,452 9
@mearie/core

Type-safe, zero-overhead GraphQL client

28,762 29

Version History

Version Released License
0.5.1 MIT
0.5.0 MIT
0.4.0 MIT
0.2.0 MIT
0.1.2 MIT