Jump to content

Hackerboard — Links from the front page of Hacker News


Recommended Posts

Usage


Search Hacker News front page links via the hn keyword.


hn.png


Press ↩ to open the linked website or ⌥↩ to open the Hacker News comments thread. This behaviour can be reversed in the Workflow’s Configuration.


News are fetched if it’s been over an hour since the last run. An immediate cache rebuild can be forced with ⌘⌥⌃↩.


⤓ Install on the Alfred Gallery | Source

 

Edited by vitor
Link to comment
11 minutes ago, nikivi said:

I think for hacker news the workflow lacks up vote count

 

The workflow grabs their RSS feed, which does not provide them. Either way the up vote count would be skewed, since results are cached for four hours. To get accurate up vote counts I’d need to regrab the page with every request, which would make the workflow slower.

Link to comment

Your repo is trending today!


I don’t care much about breaking the name, as the description is general enough. I don’t think I’ll add Github Trending, though, as those aren’t really news. That seems more appropriate for a Github-centric Workflow. That said, I have thought about adding Prodcut Hunt, , and that kind of blurs the line.


But Product Hunt’s RSS (Atom feed) has short descriptions next to the names of the products, while Github trends does not (the one I found; I haven’t seen an official one, even). That makes Product Hunt well suited to be included in a Script Filter, ad Github Trends not.

Link to comment

Update.

 

Added an hn_main Workflow Environment Variable. If you set it to comments, Hacker News’ main action will open the comments thread, and the secondary (⌥) will open the linked website.

 

Also made some general code updates and fixed a bug where only the Pinboard list was being updated on force.


To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
 

Link to comment
  • 4 months later...
1 hour ago, dood said:

I'm getting a 404 on the Github link

 

Weird, I wonder what happened. Seems to be the only one affected, but I’ll check.

 

1 hour ago, dood said:

would you mind reuploading the workflow?

 

Feito. You may need to reload the page.

Link to comment
  • vitor changed the title to Hackerboard — Links from the front page of Hacker News
  • 1 month later...
  • 3 weeks later...

Possible, yes, but it’d take some editing. The workflow doesn’t just read the RSS but also takes specific information from it, namely the link and the comments URL. Did some quick trials with the Kotke RSS specifically, but the feed itself was giving me errors.

Link to comment
  • 1 month later...
  • 2 weeks later...

Hi @vitor, would it be possible to allow users to set terms they want to filter out? For example, adding "Twitter" to the workflow configuration would mean that I wouldn't see any HN posts with Twitter in the title (and maybe URL, too?)

Link to comment

Nothing has changed in that regard, it still works like that. What may have happened is that you didn’t have your web browser as the frontmost app when opening the first link, and the stolen focus closed Alfred. Open Alfred again with the browser as the active app and you should be able to continue pressing ↩ without Alfred hiding.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...