Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make your favourite webapps feel at home on the desktop.

Notifications You must be signed in to change notification settings

JackMordaunt/nativefier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nativefier

Create native apps for your favourite websites.

Inspired by jiahaog/nativefier.

Features

  • Tiny generated app size, 3MB instead of 80MB
  • Native webviews (Webkit, MSHTML) instead of bundling a whole browser (looking at you, Electron)
  • MacOS (Windows and Linux planned)
  • Standalone binary which does not require a toolchain (unlike jiahaog/nativefier which requires the nodejs toolchain)

Caveats

  • Compatibility with websites is dependent on the built-in webview for the OS

Structure

  • gui contains the frontend code which is compiled to wasm.
  • webview serves the gui, connecting it to nativefier core and the OS.
  • nativefier is the core logic that produces the bundle.

Key Components

  • Delineate between execution modes (bundle vs bundler).
  • Detect appropriate icon for website.
  • Support common web icon formats.
    • png
    • ico
    • svg
  • Support icon override.
  • Replace dependency icns with icns-rs for pure Rust goodness.
  • Create simple and elegant GUI (make nativefier accessible to those that can't use the command line).
  • Integrate with chrome via the Chrome DevTools Protocol.
  • Integrate with this icon repository.
  • Inject JS/CSS for customisable experience.

ie11 GUI with asmjs-unknown-emscripten

  • Needs polyfil for Math.random()
  • It seems like my prepended js "runtime.js" is NOT being prepended/activated
  • ??

About

Make your favourite webapps feel at home on the desktop.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published