Jump to content
deanishe

Browse Reddit

Recommended Posts

Reddit for Alfred

Find subreddits and browse hot posts on Reddit.

demo.gif

Download

Get Reddit for Alfred from
GitHub or
Packal.

Usage

  • 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.

Description

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

Join the conversation

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

Guest
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...