i've found myself copy pasting a lot of text into ChatGPT just to summarize it. this script aims to make that easier by birning the summary to your right click context menu.
- it's built on top of automator scripts in macOS. this is due to security and sandbox limitations (for a good reason)
- open ai is used to summarize. the api key will be stored in your local keychain
- when selecting text, right click and you'll find
Services
→Summarize
- open the repository with finder and double click the "Summarize.workflow". this will prompt if you want to install the script. i've added the script as reference
- select any text and click
Services
→Summarize
. if it's the first time using it, you'll have to provide an api key. it will be stored in keychain
there's a log at /tmp/right_click_summarize_script.log
you can access
if you want to update the script, make sure to also update the document.wflow
in /Summarize.workflow/Contents/
.
could be neat to build a little script to inline the script there on build.