npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-ekka-desktop-app

v0.4.0

Published

Create an EKKA desktop app with built-in demo backend. No setup required.

Readme

create-ekka-desktop-app

Scaffold a new EKKA desktop app with one command. Zero config, batteries included.

Quick Start

npx create-ekka-desktop-app my-app
cd my-app
npm install
npm run tauri:dev

That's it. You now have a native desktop app running.

What You Get

my-app/
├── src/
│   ├── app/App.tsx        # Your app (start here)
│   ├── demo/              # Demo UI (delete when ready)
│   └── ekka/              # EKKA SDK (do not modify)
├── src-tauri/             # Tauri (Rust) shell
├── branding/              # App name, icon, bundle ID
├── package.json
└── vite.config.ts

Development

# Web browser (fast reload)
npm start

# Desktop window (native)
npm run tauri:dev

Build

# Create distributable .app
npm run tauri:build

Output: src-tauri/target/release/bundle/macos/<AppName>.app

Customize Branding

Edit branding/app.json:

{
  "name": "My App",
  "bundleId": "com.mycompany.myapp",
  "version": "1.0.0"
}

Replace branding/icon.icns with your app icon.

Project Structure

| Path | Purpose | |------|---------| | src/app/App.tsx | Your app code starts here | | src/demo/ | Demo UI - delete when you're ready to build your own | | src/ekka/ | EKKA SDK - provides secure APIs (do not modify) | | src-tauri/ | Tauri shell - handles native window, builds .app | | branding/ | App name, icon, bundle ID |

EKKA SDK

The app includes the EKKA SDK at src/ekka/. It provides:

  • Secure key-value storage - Data persists across sessions
  • Background work queues - Run async tasks reliably
  • Policy enforcement - All operations are auditable
import { ekka } from './ekka';

// Store data
await ekka.store.set('key', 'value');

// Retrieve data
const value = await ekka.store.get('key');

// Queue background work
await ekka.work.enqueue({ task: 'process', data: {...} });

Demo Mode

The app runs in demo mode by default - all data is stored in memory. This lets you develop and test without any backend setup.

When you're ready for production:

  1. Build with the EKKA engine sidecar (via ekka-desktop-build)
  2. The SDK automatically connects to the real backend

Requirements

  • Node.js 18+
  • Rust (for Tauri builds)
  • Xcode Command Line Tools (macOS)

Commands

| Command | Description | |---------|-------------| | npm start | Start dev server (web) | | npm run tauri:dev | Start dev server (desktop) | | npm run tauri:build | Build distributable app | | npm run lint | Run ESLint | | npm run build | Build frontend only |

FAQ

Q: How do I change the app name? Edit branding/app.json and set the name field.

Q: How do I change the app icon? Replace branding/icon.icns with your icon file.

Q: How do I remove the demo UI? Delete src/demo/ and update src/main.tsx to render your own component.

Q: Where is my data stored in demo mode? In memory. It resets when you restart the app.

Q: How do I connect to a real backend? Build with ekka-desktop-build which injects the EKKA engine sidecar.

License

MIT