From f8c5b336d4d24a29761197866bee42b8b2111d1a Mon Sep 17 00:00:00 2001 From: Nathan Gathright Date: Wed, 21 Oct 2020 23:30:41 -0500 Subject: [PATCH] Update readme for v1.1 --- info.plist | 6 +++--- readme.md | 19 +++++++++++++------ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/info.plist b/info.plist index f5c34cb..56c0ee4 100644 --- a/info.plist +++ b/info.plist @@ -330,8 +330,8 @@ fi readme Search Product Hunt posts from Alfred -The developer token is only needed for the `hunted` method, which is currently broken. -Locate yours by visiting https://api.producthunt.com/v2/docs and clicking “API Dashboard” +The developer token is only needed for the `hunted` script. +Locate your token by visiting https://api.producthunt.com/v2/docs and clicking “API Dashboard” uidata 1ACB45A9-A438-4781-8FD8-159A129D08ED @@ -391,7 +391,7 @@ Locate yours by visiting https://api.producthunt.com/v2/docs and clicking “API token version - 1.0.3 + 1.1.0 webaddress https://github.com/nathangathright/alfred-producthunt-search diff --git a/readme.md b/readme.md index a37b2c2..18ab6a0 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # alfred-producthunt-search -> Search [Product Hunt](https://www.producthunt.com/) posts from Alfred +Search Product Hunt posts from Alfred ![screenshot](screenshot.jpg) @@ -10,11 +10,18 @@ _You will need [Alfred Powerpack](https://www.alfredapp.com/powerpack/) to enable this workflow._ ## Usage - -1. In Alfred, type `hunt` followed by your query. Results will populate below, including the title, thumbnail, votes, and tagline. -2. Press Return to open the Product Hunt post for the selected result. -3. Press + Return to open the external link post for the selected result. -4. Press + C to copy the URL of the selected result to your clipboard. +### hunt +Type the keyword `hunt`, enter your query, and select a result. +- Press Return to open the Product Hunt post for the selected result. +- Press + Return to open the external link post for the selected result. +- Press + C to copy the URL of the selected result to your clipboard. + +### hunted +Type the keyword `hunted` and enter a URL to check if it’s already been submitted to Product Hunt. + - If the URL is found on Product Hunt, press Return to open the Product Hunt post. + - If the URL is not found on Product Hunt, press Return to open the Product Hunt submission page. + +Alternatively, press + F19 to launch this script using the content of the clipboard as the query. ## Credits - Hat tip to [Chris Messina](https://twitter.com/chrismessina) for the nudge to create this