Skip to content

Consider creating a electron desktop app #4

@uri-may

Description

@uri-may

Reuse the chrome extension JS and create a desktop app using electron.

As this won't be a browser extension the main issue is whether a more "DSP" discipline of accessing the raw audio bytes using OS functionality instead of accessing the Page DOM. This is a more solid approach INMHO. What do you guys think?

Pros:

  1. Access sound from all running process
  2. Proof for browser manipulations on DOM
  3. Cross browser and cross platform
  4. Use current code - only change the signal acquiring flow

I thought of a simple design with a 'system tray icon' indication the SilverDog app is active.
If a beacon is detected SilverDog electron can use electron notifications to inform the user.
Right click on the Tray Icon open a settings dialog which can be an exact replicate of the current settings.

*System tray icon behavior could be created using electron on all platforms:

  1. https://github.com/electron/electron/blob/master/docs/api/tray.md
  2. http://stackoverflow.com/questions/37828758/electron-js-how-to-minimize-close-window-to-system-tray-and-restore-window-back

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions