Giter Site home page Giter Site logo

nativefier's Introduction

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
  • ??

nativefier's People

Contributors

jackmordaunt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nativefier's Issues

Linux support / help wanted ?

Hey ๐Ÿ‘‹

Just discovered this project, seems like I am your first star ๐Ÿฅ‡
I am not a rust developper but would love to help you bring this project linux support (and I played a bit with some rust projects in the past).

Do you have an idea if this could be doable right now ? Or does the project needs some kind of refactoring ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.