machawk1 / ArchiveThumbnails

An implementation for Ahmed AlSum's "Thumbnail Summarization Techniques for Web Archives"
GNU General Public License v2.0
7 stars 5 forks source link

Create a stand-alone Electron app out of the ArchiveThumbnails service #110

Open machawk1 opened 7 years ago

machawk1 commented 7 years ago

Ideally this should not be too much of a pain given the service is Node based.

@N0taN3rd can you think of any barriers that would make this difficult?

N0taN3rd commented 7 years ago

@machawk1 I do not believe there would be any outstanding barriers that would make this transition impossible.

The only difficulty I foresee is the issue I ran into with WAIL which was running too many long winded tasks in the electron main process; why this is bad.

But that is easily overcome and ArchiveThumbnails would benefit from the solution which would be to use invisible windows to run each task.

Two projects that may help in this: electron workers like nodes cluster module but allows you to cluster full on electron instances and electron router simplify ipc communication.

machawk1 commented 7 years ago

https://github.com/zeit/pkg can likely be used in lieu for compiling to native binaries.

machawk1 commented 7 years ago

Then again, I wonder how well this would work with the need to include phantom (or headless Chrome) within the app.