ishammahajan / workflow-manager-macos

Quickly switch between workflows of different projects!
GNU General Public License v3.0
3 stars 0 forks source link
applescript automation automator macos project-management-tool workflow

Workflow Manager

Platform GitHub license

Ever realise how much time you might be wasting switching between the contexts of two different projects you might be working on at the same time? Well, here is a solution! Workflow Manager for MacOS uses Automator.app and the power of Applescript integrations with Google Chrome and iTerm to stop the minutes you waste switching between the different contexts of different projects (which add up to large amount of time) not considering how your mind distracts itself when doing menial work.

Currently implemented features include :-

Installation

Uses Google Chrome and iTerm, please install those using the provided links.

Use the provided setupworkflows script in order to copy the files provided in Setup folder to ~/Library/Services in order for your installed Workflows to function correctly, these files are their dependencies.

A file called default_browser will be created within ~/Documents/WorkflowManagement, which defines which browser you use (so we can save and reopen the tabs correctly). This file is initialized with Google Chrome, so if you use that browser, you should be good to go. However, if you use Firefox (currently the only other browser we support), please change this file's value to Firefox.

We support Firefox browser by the use of a shell script which fetches the URLs of open tabs during a session. The file we use to fetch these links, however, is saved by Firefox using a proprietary compression format called lz4. To extract information from this, we make use of a python library written for this purpose. Which is why -

NOTE: If you use Firefox, you have to install python3 and the lz4 library. To do so, use the following :-

Usage

Use the createworkflow script in order to create your workflow! You will be prompted to install a 'Quick Action', please acknowledge it in order to successfully install it. If for some reason the mentioned prompt did not appear, please navigate to ~/Documents/WorkflowManagement/{your-workflow-name} in order to find the appropriate file (named {your-workflow-name}.workflow) and open it.

There are three ways by which you can open a given Workflow.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Feature requests are also contributions! Make sure you open an issue detailing the feature in as much detail as possible.

License

GNU GPLv3