browser-window 0.5.0

A simple async/await aware browser (GUI) toolkit.
docs.rs failed to build browser-window-0.5.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: browser-window-0.12.3

Browser Window

Browser Window is a simple Rust crate for utilizing a browser engine to create a graphical user interface. Just like Electron, you can build your GUI with HTML/CSS/JS, or simply have some browser functionality. Browser Window was born from the lack of a good and simple Electron alternative for Rust.

Goals

Browser Window aims to be cross-platform, very simple, and straight forward. Some methods in Browser Window are asynchronous, such as evaluating JavaScript code and getting back its output. Browser Window utilizes and benefits from Rust's async/await syntax, so this should make it a breeze.

Moreover, if you want to use it in a multi-threaded environment, you can. There are thread-safe handles available for easy exchange of data and work between the GUI thread and others.

You can view an example of a terminal emulator, to see how easily a GUI with Browser Window can be made.

Requirements

At this moment, Windows is the only supported platform, but support for other platforms will follow.

Also, Browser Window relies on the Chromium Embedding Framework.

Getting Started

Click here for a manual on how to set up everything that's needed to use Browser Window.

License

This software is available as open source software under a MIT license, for maximum freedom.

Development

If you want to help out, you're more than welcome! I could use some help with implementing MacOS support actually.

Comming Soon

At the moment, only basic functionality is available, but there is more to come. These are the features that are awaiting implementation:

  • Linux support (through GTK+) [underway]
  • MacOS support (through Cocoa)
  • Cookie support (including HttpOnly cookies)
  • Events [underway]
  • Servo engine support