Jump to content

Browse Reddit

Recommended Posts

Reddit for Alfred

Find subreddits and browse hot posts on Reddit.



Get Reddit for Alfred from GitHub.


  • r/ — Show list of popular subreddits
  • r/<query> — Search for subreddits matching <query>
    • or or ⌘+NUM — Show 50 hottest posts in subreddit
  • r/subreddit/ — Show 50 hottest posts on subreddit <subreddit>
  • r/<subreddit>/<query> — Filter posts by <query>
    • or ⌘+NUM — Open post URL in default browser
    • ⌘+↩ — Open Reddit comments in default browser
    • ⌘+L — Show full post title in Alfred's Large Text window

Note: OS X's "delete word" shortcut (⌥+⌫) is very handy for backing
out of a subreddit.


A fairly rudimentary workflow to browse subreddits.

The subreddit search, r/<query>, uses Reddit's API to search for subreddits
that match <query>. 25 results are retrieved by default.

The subreddit search can be a bit odd, which is due to the oddness of Reddit's
search function.

Search within a subreddit, r/subreddit/<query>, only filters the list of hot
results. 50 results are retrieved by default.

Edited by deanishe

Share this post

Link to post
34 minutes ago, nikivi said:

It even expands to search for threads inside the subreddit.


Only hot posts. You can't actually search within a subreddit, only filter the list of hot posts.



Share this post

Link to post

The shift key didn't work for me before but now it does, now I really like this workflow!


I wish there was a place to paste my own urls:


1. manual multireddits - pics+funny

2. personal multireddits - /u/<user>/m/<multi>


Also, how about moving to the next page? Is that possible?

Share this post

Link to post
  1. Multireddits work. It just doesn't remember them, as they aren't real subreddits. I'll see if that's fixable.
  2. Personal subreddits will take more work. Also a maybe.
  3. Next page: Doubtful.

Share this post

Link to post

Wow, that's amazing! Thanks!


Btw, I did a lot of reddit parsing in my day, if I remember correctly, the next page url is dead-simple, it's something like reddit.com/your-url/.json?after=<id>

and the <id> is the last id of the post from the previous page, so it works the same in any reddit url.

Share this post

Link to post
On 1/11/2019 at 3:14 AM, xilopaint said:

Ampersands are showing up in the subreddit descriptions as &amp;.


Can you give me an example, @xilopaint? I really don't feel like entering random subreddit names until I find one with an ampersand in the title, so I can test it.


Also, I think I've fixed your issue with duplicates. It won't help if you've already got duplicates in your cache, but it should prevent any further duplicates from being saved.

Share this post

Link to post

Hey! Great workflow, but I am wondering if there is a way to configure this so that when reddit is opened through the workflow, it opens in my account.

Share this post

Link to post

If I use the workflow, when it opens reddit in chrome it is for some reason not opening with my login information remember.

Share this post

Link to post

That's a problem with Chrome or your setup, tbh. There's nothing I can reasonably do about it, I'm afraid.


The workflow isn't opening reddit in Chrome, as you put it. It just asks macOS to open the URL, the same way every normal application does. Whether it opens in Safari or Chrome or Firefox or whatever, and how the browser handles it is determined by your OS and browser configuration.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...