Git Product home page Git Product logo

electronwebsitewrapper's Introduction

ElectronWebsiteWrapper

This repo contains an app based on Electron.NET. Its only purpose is to encapsulate any website into this dedicated app. This way, the executable ElectronWebsiteWrapper.exe can be excluded in clipboard tools(e.g. Ditto).

For example, when wrapping a vault's website (e.g. HashiCorp Vault) inside ElectronWebsiteWrapper and excluding the executable from the clipboard manager, secrets can no longer be revealed by the clipboard manager's history.

Building the app for Windows

Assuming the .NET SDK is installed, run the following script to build the app:

dotnet tool restore
dotnet electronize build /target win

This will restore all necessary dependencies and build the Electron.NET app.

Proxy issues

At the time of writing, Electron.NET has several issues when run behind a corporate proxy. One can try to set the regular HTTP_PROXY and HTTPS_PROXY environment variables, but that didn't work for me.
Configure the NPM proxy like npm config set proxy http://my.company.com:3128 at least restored some dependencies, but failed for certain Electron dependencies.

Currently, the only workaround is to not build on an environment where a proxy is needed.

Configuration

Since it's a .NET app, the default Configuration in .NET applies.

The configuration parameter Url can be used to specify the website to wrap. The environment variable ElectronWebsiteWrapper_Url can be used, too.

electronwebsitewrapper's People

Contributors

mu88 avatar renovate[bot] avatar

Watchers

 avatar

electronwebsitewrapper's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Pending Status Checks

These updates await pending status checks. To force their creation now, click the checkbox below.

  • chore(deps): update dependency dotnet-sdk to v8.0.401

Detected dependencies

github-actions
.github/workflows/CI.yml
  • actions/checkout v4
  • actions/setup-dotnet v4
  • actions/setup-java v4
  • Requarks/changelog-action v1
  • softprops/action-gh-release v2
nuget
.config/dotnet-tools.json
  • electronnet.cli 23.6.2
  • versionize 1.27.0
Directory.Packages.props
  • StyleCop.Analyzers 1.1.118
  • Meziantou.Analyzer 2.0.163
  • IDisposableAnalyzers 4.0.8
  • ElectronNET.API 23.6.2
  • AspNetCoreAnalyzers 0.3.0
global.json
  • dotnet-sdk 8.0.303

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.