libgenai / devtoolbox

Collection of offline utilities for developers
Other
86 stars 5 forks source link

Include CyberChef using a webview #4

Open nileshtrivedi opened 2 years ago

nileshtrivedi commented 2 years ago

CyberChef is a web-based collection of dev utilities. A powerful feature is that it allows pipelining multiple tools.

We can bundle it as a webview for convenience and security. But Flutter currently doesn't support webviews on desktops officially. See the webview_experiment branch where I tried using a third-party library unsuccessfully.

nileshtrivedi commented 2 years ago

Somebody recommended trying it with the WebViewX plugin but that too doesn't seem to support desktop platforms.

nileshtrivedi commented 2 years ago

With this solution, we are now able to load load remote URLs in our webview on Mac OS. However, our goal is to avoid sending any data over the network, and that is why we need to load a local HTML file (perhaps with a file:/// URL) in the webview. That is not yet solved.