Skip to content
/ photon Public

Extremely fast and lightweight Electron alternative for Rust.

Notifications You must be signed in to change notification settings

raphtlw/photon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photon 🚀

ABOUT

Photon is an extremely lightweight and fast alternative to electron which allows you to build native apps with web technologies.

NOTE: This readme is not completed yet.

Table of contents

Install

About

Why Photon?

I wanted to build a better alternative to Electron and NeutralinoJS using an upcoming browser engine that is still in the works.

Browser engine

Photon uses the Mozilla Webrender engine that is used in the Servo browser engine. Photon embeds Servo into an OpenGL window. Here's a showcase of Webrender in action.

How it works

Photon integrates an OpenGL window with the Servo browser engine and exposes a JavaScript object that allows your javascript to communicate with the backend main thread. When your app is compiled, Photon compiles your application's html, css and js into the binary itself, so there won't be any .asar files or source code exposed to the user. All the assets will be compiled and optimized into a single binary that you can ship to end users.

About

Extremely fast and lightweight Electron alternative for Rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published