Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Similar App Plugin Compatibility - Alfred #129

Open
sancarn opened this issue Jun 17, 2021 · 1 comment
Open

Similar App Plugin Compatibility - Alfred #129

sancarn opened this issue Jun 17, 2021 · 1 comment
Labels
applet related to an applet enhancement New feature or request

Comments

@sancarn
Copy link
Contributor

sancarn commented Jun 17, 2021

Alfred is a similar application to LaunchMenu it seems. Might be worth looking into an Alfred workflows --> LM applet parser. Looks like Alfred plugins are generally a load of php code. This makes it less possible, but it's possible that it still is doable with some PHP parser for nodejs? Something to perhaps look into!

Useful links:

@sancarn sancarn added the enhancement New feature or request label Jun 17, 2021
@sancarn sancarn changed the title Not a quick win but a possibility - Alfred plugins reuse utility Similar App Plugin Compatibility - Alfred Jun 17, 2021
@sancarn sancarn added the applet related to an applet label Jun 17, 2021
@sancarn
Copy link
Contributor Author

sancarn commented Jul 2, 2021

Investigated a little more today, looks like I was way off track with my original thoughts. Here's a more investigated description of an alfred workflow:

  1. Alfred workflows .alfredworkflow files are merely .zip files containing other files.
  2. Zip file contains a info.plist file. Example
    a. This contains the tree of actions which will be executed by alfred.
  3. Numerous extensions offload work to other languages:
    a. A Python API has been created by Dean Jackson which has been used to interact with Alfred. Examples: alfred-passwords-workflow, alfred-gcal, alfred-firefox, alfred-stackexchange
    b. Some workflows use php like the spotify-mini-player.
    c. Some workflows are purely made from the info.plist like this wifi toggler and calander

It's important to note that we can only guarantee alfred-workflows will run on Mac. It is highly unlikely any of the workflows will run fully in the Windows environment (which might make this low priority, though alfred does have so much capability out there also...)

Next Steps:

  • Decide how much LaunchMenu wants to take responsibility for? Do we extend responsibility to the {insert programming language here} libraries? Or leave it up to the python libraries to add LaunchMenu support? - Might be worth reaching out to the python library author to check their thoughts.
  • Decide on an MVP
    • Personally I think this is merely a plist parser and evaluator. I think this should be relatively easy to implement in LM's framework and quite possible to make cross-platform also. (With perhaps a warning for workflows which execute external commands).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
applet related to an applet enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant