Skip to content

Commit

Permalink
Update readme for v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nathangathright committed Oct 22, 2020
1 parent c512de1 commit f8c5b33
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
6 changes: 3 additions & 3 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ fi</string>
<key>readme</key>
<string>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”</string>
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”</string>
<key>uidata</key>
<dict>
<key>1ACB45A9-A438-4781-8FD8-159A129D08ED</key>
Expand Down Expand Up @@ -391,7 +391,7 @@ Locate yours by visiting https://api.producthunt.com/v2/docs and clicking “API
<string>token</string>
</array>
<key>version</key>
<string>1.0.3</string>
<string>1.1.0</string>
<key>webaddress</key>
<string>https://github.com/nathangathright/alfred-producthunt-search</string>
</dict>
Expand Down
19 changes: 13 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
@@ -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)

Expand All @@ -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 <kbd>Return</kbd> to open the Product Hunt post for the selected result.
3. Press <kbd>⌘</kbd> + <kbd>Return</kbd> to open the external link post for the selected result.
4. Press <kbd>⌘</kbd> + <kbd>C</kbd> to copy the URL of the selected result to your clipboard.
### hunt
Type the keyword `hunt`, enter your query, and select a result.
- Press <kbd>Return</kbd> to open the Product Hunt post for the selected result.
- Press <kbd>⌘</kbd> + <kbd>Return</kbd> to open the external link post for the selected result.
- Press <kbd>⌘</kbd> + <kbd>C</kbd> 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 <kbd>Return</kbd> to open the Product Hunt post.
- If the URL is not found on Product Hunt, press <kbd>Return</kbd> to open the Product Hunt submission page.

Alternatively, press <kbd>⌃</kbd> + <kbd>F19</kbd> 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
Expand Down

0 comments on commit f8c5b33

Please sign in to comment.