Jump to content

🗞️ Hackernews - Serve the top stories from hackers right in Alfred


Recommended Posts

Thanks for sharing! This is great

I added this customization on my own version to have a cmd modifier and allow to open the HN discussion instead of the article news, for follow up.

 

    const items = {
      title: response.title,
      subtitle: [response.id, response.by, response.score].join(", "),
      arg: 'url' in response? response.url: HACKERNEWS_URL + response.id,
      mods: {
        cmd: {
            valid: true,
            arg: HACKERNEWS_URL + response.id,
            subtitle: 'Open HN link; ID = ' + response.id
        }
      }
    };

 

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