This guide provides step-by-step instructions to install and set up the Screen-to-GPT workflow using Alfred 5. Follow these steps to enhance your productivity with an automated screen-to-text extraction tool that integrates GPT capabilities.
Before you begin, make sure you have the following:
- Alfred 5 installed on your machine. You can download it here.
- Purchase the premium Powerpack for Alfred 5, available here.
-
Clone the Repository
Clone thescreen-to-gptrepository from GitHub using the following command:git clone https://github.com/uwumarogie/screen-to-gpt.git
-
Install the virtual enviroment and dependencies
python3 -m venv venv
source venv/bin/activatepip3 install -r requirements.txt
-
Install the Workflow
Install thescreen-to-gpt.alfredworkflowby double-clicking on the file. -
Configure the Workflow
- Update the path to the repository in the external script tag within the workflow.
- Modify
run.shto reflect your local path and then make the script executable:chmod +x run.sh
-
Environment Keys
Obtain the necessary environment keys: -
Environment Configuration
Insert the obtained environment keys into the.envfile located in the root of the cloned repository. -
Customize Prompts
Add or modify the prompts in thepromptsfolder as per your requirements.
- Try It Out: Launch the workflow to see it in action and refine configurations as needed.
Explore the capabilities of your new setup and enjoy the seamless integration of screen capture and GPT-powered text manipulation.