diffplug / diffplug/swt-chromium

MakeTechnology cefswt is the answer!

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
14
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We have an answer! The great folks at [Make Technology](http://www.wemaketechnology.com/) have built an SWT Chromium embed using the very latest version of Chromium. I've tested on win, mac, linux, and it works great on all 3 platforms.

Their technical approach is very cool - they use [`rust-bindgen`](https://github.com/servo/rust-bindgen) to automatically wrap the Chromium Embedding Framework in rust bindings, then [`ffi_gen`](https://github.com/maketechnology/ffi_gen) to automatically wrap the rust bindings with a Java interface.

Because so much of the code is autogenerated, the only code which will need maintenance from version to version are small bits of glue which connect these stubs.

For now, their browser just displays any URL - it doesn't support javascript interaction. But they're working on implementing the full SWT Browser API, and donating the entire codebase to eclipse under the EPL.

You can run the examples and browse the code at their repo here: https://github.com/maketechnology/cefswt

If you need this work, please consider giving a targeted donation to the Eclipse foundation. We've got a great start, but they will need more money to flesh out the full browser API and keep it maintained by the Eclipse foundation. Contact guillez@gmail.com and mikael@eclipse.org to arrange a donation.

Here at DiffPlug, we're donating $1,000 per dev on our product. That's a steal compared to a commercial offering.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.