Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bamidev/browser-window
A simple, cross-platform, optionally async, optionally threadsafe, electron-like browser window framework for Rust.
https://github.com/bamidev/browser-window
async browser cef chromium-embedded-framework edge electron gui rust web webkitgtk
Last synced: 10 days ago
JSON representation
A simple, cross-platform, optionally async, optionally threadsafe, electron-like browser window framework for Rust.
- Host: GitHub
- URL: https://github.com/bamidev/browser-window
- Owner: bamidev
- License: mit
- Created: 2020-10-23T11:54:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T12:18:27.000Z (9 months ago)
- Last Synced: 2024-12-01T14:06:41.859Z (22 days ago)
- Topics: async, browser, cef, chromium-embedded-framework, edge, electron, gui, rust, web, webkitgtk
- Language: Rust
- Homepage:
- Size: 2.38 MB
- Stars: 44
- Watchers: 1
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# BrowserWindow
_BrowserWindow_ is a simple Rust crate for utilizing a browser engine to create a graphical user interface.
Just like [Electron.js](https://www.electronjs.org/), you can use it to build a GUI with HTML, CSS & JS, or just to have some basic browser functionality at your disposal.![](preview.png)
## Introduction
_BrowserWindow_ is designed to be easy to use, and work cross-platform. It utilizes the async/await
syntax & it even has optional thread-safe handles. There are currently three different underlying
browser frameworks that can be selected: CEF, WebkitGTK or Edge WebView2.
Each framework has their pros and cons, but CEF will be the most feature complete because it has the
best cross-platform support and the browser engine is regularely updated.
However, if you only need some very basic functionality, the other frameworks are easier to set up.You can look at some [examples](https://github.com/bamilab/browser-window/tree/master/examples) to
get an idea how you can use the api.## Getting Started
The underlying browser framework does need some things to be set up on your system (although Edge
WebView2 may out-of-the-box on newer Windows installations).
But otherwise there is a [guide](./docs/GETTING-STARTED.md) to get you started with using
_BrowserWindow_ on your system.## License
This software is available as open source software under a MIT license, for maximum freedom and
minimum restrictions.## Missing a feature?
At the moment, there is a decent set of basic functionality available, but if you need something
that isn't there yet, please [submit an issue](https://github.com/bamidev/browser-window/issues) for it.