Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/pojala/electrino

Desktop runtime for apps built on web technologies, using the system's own web browser engine
https://github.com/pojala/electrino

desktop electron electronjs javascript macos webkit

Last synced: 28 days ago
JSON representation

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

Lists

README

        

# electrino

An experimental desktop runtime for apps built on web technologies, using the system's own web browser engine. The project is still young and accepting contributions.

Electrino aims to be a featherweight alternative to the popular and powerful [Electron](https://github.com/electron/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](docs/electron-and-electrino-helloworld-screenshot.png)

Read more about Electrino in [this post on DailyJS](https://medium.com/dailyjs/put-your-electron-app-on-a-diet-with-electrino-c7ffdf1d6297)

### Comparison

Feature | Electron | Electrino
--- | --- | ---
Comprehensive API | Yes | No
Small output size | No | Yes
Cross-platform support | Yes | Limited to macOS and Windows 10 at this time

### Contribute

- [x] Integrate `WebView`
- [ ] Support `require()` calls
- [ ] Add Node.js backend

### API

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](https://github.com/hovancik/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