electrino

Desktop runtime for apps built on web technologies, using the system's own web browser engine

Github星跟蹤圖

electrino

:warning: Do not use this in production. This project is in its early stages :warning:

A desktop runtime for apps built on web technologies, using the system's own web browser engine.

Electrino is an experimental featherweight alternative to the popular and powerful Electron. It implements a minuscule portion of the APIs available in Electron, but the output app size is much smaller.

A "Hello World" app takes 115 MB using Electron, but only 167 kB using Electrino:

Screenshot from Mac Finder

This comparison is completely unfair because Electrino currently doesn't do anything more. You can load a web page, access some basic Electron/Node APIs, and that's it. Electrino is nothing more than a proof of concept at present.

The current implementation is only for macOS. A Windows port using Microsoft Edge seems potentially interesting though.

Read more about Electrino in this post on DailyJS

Supported API's

Electrino currently supports the following API implementations:

  • app
  • BrowserWindow
  • ipcMain
  • Tray
  • nativeImage

Roadmap

The plan is to examine API usage of real-world apps that use Electron but don't really need the full capabilities. Good candidates are desktop utilities, menu bar apps and other small apps that users typically leave open. (For large productivity-style apps, Electron is a better choice.)

Jan Hovancik offered his Stretchly app as a candidate, so I'm going to start by mapping out the APIs used by Stretchly and see what it would take to implement it with Electrino.

If you have a small Electron-based Mac app and you'd like to try putting it on an Electrino diet, let's give it a try! My contact info is below.

Contact

  • Pauli Olavi Ojala / @pauliooj / pauli @ lacquer.fi
  • Amila Welihinda / @amilajack / amilajack @ gmail.com

概覽

名稱與所有者pojala/electrino
主編程語言C#
編程語言Objective-C (語言數: 4)
平台
許可證MIT License
發布數0
創建於2017-05-02 14:26:49
推送於2022-12-07 18:00:46
最后一次提交2020-03-18 12:18:19
星數4.4k
關注者數134
派生數101
提交數48
已啟用問題?
問題數25
打開的問題數18
拉請求數4
打開的拉請求數2
關閉的拉請求數2
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部