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()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.
// 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' });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.
Let users sign in to your app using their NG Desktop account. No password, no OAuth flow — just one method call.
NG.auth.login()Send desktop notifications to users even when they're in another app inside NG Desktop.
NG.notify.send()Per-user, per-app key-value cloud storage. Persist user preferences or app state without your own backend.
NG.storage.get/set/del()Access the user's follow graph. Build social features on top of the NG user network.
NG.social.getFriends()Send and receive messages between different apps running in NG Desktop. Build app ecosystems.
NG.ipc.send/on()Detect the user's desktop theme (light/dark) and locale to match your app's UI automatically.
NG.theme.get()Any Progressive Web App can be listed in the NG App Store. NG detects mobile vs desktop PWAs automatically.
manifest.jsonWeb3 dApps with wallet connections (MetaMask, WalletConnect) work inside NG Desktop's iframe environment.
EIP-1193NG 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.
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.
NG.ready()Detect that your app is running inside NG Desktop. If not inside NG Desktop, the promise rejects so you can handle gracefully.
Login users, send notifications, read/write cloud storage, access social graph — all with simple async method calls.
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.
Get your app listed on NG App Store and reach users directly in their web desktop environment.