Open Platform · v1.0

Build on
NG Desktop

NG Desktop is a macOS-style web operating system that runs in your browser. With NG Connect SDK, your web app or dApp can integrate one-click login, cloud storage, push notifications, social features, and App Store distribution — all via a single <script> tag.

Quick integration
// 1. Include SDK
<script src="https://ng.net/sdk/ng-connect.js"></script>

// 2. Authenticate user
await NG.ready();
const user = await NG.auth.login();
console.log(`Hello, ${"{"}user.display_name{"}"}`);

// 3. Use platform features
await NG.notify.send({ title: 'Done!', body: 'Task complete' });
9 SDK Modules
7 REST API Endpoints
PWA + dApp Ready
Free To Integrate

Platform Capabilities

Everything your app needs to integrate deeply with NG Desktop users. All capabilities are accessible via the NG Connect SDK with a single method call.

One-Click Login

Let users sign in to your app using their NG Desktop account. No password, no OAuth flow — just one method call.

NG.auth.login()

Push Notifications

Send desktop notifications to users even when they're in another app inside NG Desktop.

NG.notify.send()

Cloud Storage

Per-user, per-app key-value cloud storage. Persist user preferences or app state without your own backend.

NG.storage.get/set/del()

Social Graph

Access the user's follow graph. Build social features on top of the NG user network.

NG.social.getFriends()

Cross-App IPC

Send and receive messages between different apps running in NG Desktop. Build app ecosystems.

NG.ipc.send/on()

Theme & Locale

Detect the user's desktop theme (light/dark) and locale to match your app's UI automatically.

NG.theme.get()

PWA Compatible

Any Progressive Web App can be listed in the NG App Store. NG detects mobile vs desktop PWAs automatically.

manifest.json

dApp Ready

Web3 dApps with wallet connections (MetaMask, WalletConnect) work inside NG Desktop's iframe environment.

EIP-1193

How NG Connect Works

NG Connect SDK communicates with NG Desktop via the browser's postMessage API. No backend required — your app runs inside an iframe in NG Desktop, and the SDK bridges all platform capabilities securely.

1

Include the SDK

Add one script tag to your HTML. The SDK is hosted at https://ng.net/sdk/ng-connect.js and is always up to date.

2

Call NG.ready()

Detect that your app is running inside NG Desktop. If not inside NG Desktop, the promise rejects so you can handle gracefully.

3

Use Platform APIs

Login users, send notifications, read/write cloud storage, access social graph — all with simple async method calls.

4

Submit to App Store

Submit your app URL to the NG App Store. Users can install and launch it from their NG Desktop, gaining access to your full integration.

Ready to build?

Get your app listed on NG App Store and reach users directly in their web desktop environment.