labordynamicsinstitute / metajelo-ui

UI for metajelo
https://labordynamicsinstitute.github.io/metajelo-ui
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Explore packaging as an Electron application #72

Closed bbarker closed 3 years ago

bbarker commented 3 years ago

Since electron apps can make use of Node libraries as well as run a chromium-based browser window, this seems to be the modern way to go. There was a modern-Firefox equivalent but it quickly became stagnant (https://github.com/mozilla/positron). We can look at Zotero for inspiration, though this now uses relatively old browser technology (Gecko).

larsvilhuber commented 3 years ago

Seems fine to me, and that was the framework I was looking to name (VSCode and Atom are my regular interfaces to it)

-- Lars Vilhuber, Economist Cornell University, Executive Director, Labor Dynamics Institute and ILR School - Department of Economics American Economic Association - Data Editor Journal of Privacy and Confidentiality - Managing Editor

e: lars.vilhuber@cornell.edu p: +1.607-330-5743 v: https://cornell.zoom.us/my/larsvilhuber w: http://lars.vilhuber.com/ http://lars.vilhuber.com/

Assistant: ldi@cornell.edu | +1.607-255-2744


From: Brandon Elam Barker notifications@github.com Sent: Wednesday, September 23, 2020 10:51 To: labordynamicsinstitute/metajelo-ui metajelo-ui@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [labordynamicsinstitute/metajelo-ui] Explore packaging as an Electron application (#72)

Since electron apps can make use of Node libraries as well as run a chromium-based browser window, this seems to be the modern way to go. There was a modern-Firefox equivalent but it quickly became stagnant (https://github.com/mozilla/positron).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/labordynamicsinstitute/metajelo-ui/issues/72, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVSQ6AB6QWS6C76SR7BTV3SHIDOVANCNFSM4RXEMRHQ.

bbarker commented 3 years ago

Perhaps it is worth mentioning the browser-extension alternative as well (at least some people may be interested in this route; I plan to use it in the development process if it becomes necessary): https://chrome.google.com/webstore/detail/cors-unblock/lfhmikememgdcahcdlaciloancbhjino?hl=en

bbarker commented 3 years ago

Speaking of browser extensions, building a Metajelo browser extension should be at least as general as having an Electron app. Chrome can run in more places than Electron (e.g., Chromebooks without X11 installed, which is most of them), and it is lighter weight than downloading a separate app. I believe we could also have an Electron app based on the Chrome extension if we want, as it appears the relevant extension APIs are supported by Electron (namely, background pages).

See here for more notes on the HTTP request API for extensions: https://developer.chrome.com/extensions/xhr

bbarker commented 3 years ago

Closing for now, as we don't need it (at least for DataCite).