Platforms

One codebase. Every screen.

Write your pages once in .kreft files. Ship them as a website, a desktop app for macOS, Linux and Windows, and a phone or tablet app for iOS, Android and HarmonyOS. TV apps are next.

Testedrun for real by Kreft's own tests Not tested herethe same code, not run by Kreft on that system Coming soonplanned, not available yet

Ships Chromium, so the page is the same on every system. Installers are about 100 MB. Needs: Node.js only.

macOS

Tested

Makes.dmg · .zip

kreft electron:build --mac

Linux

Not tested here

MakesAppImage · .deb · .rpm

kreft electron:build --linux

Windows

Not tested here

MakesNSIS installer · portable .exe

kreft electron:build --win

1
Add it

One command writes the settings file, the native files and the scripts.

kreft add electron
2
Run it

Opens the app in its own window, with hot reload.

kreft electron:dev
3
Change it in one file

Window, menu, DevTools, security, tray, updates and installers are all in config/electron.config.js.

Read the desktop configuration

Safe by default

  • Menu hidden. The native menu bar is off until you ask for it.
  • DevTools work while you build, stay closed at start, and are off in the installed app.
  • Electron keeps context isolation and the sandbox on, and Node.js away from your pages.
  • Mistakes are caught early. Every option is checked, and the message says what to change.

Ready to build?

kreft new my-app --db sqlite