spamwax / alfred-pinboard

Alfred Workflow for Pinboard (written in Go (golang))
145 stars 11 forks source link

Is it possible to add a function that will retrieve all the popular tags for today and let you search on them? #21

Open nikitavoloboev opened 7 years ago

nikitavoloboev commented 7 years ago

I am talking about these tags :

2017-03-10 at 11 02

I wish I could get it as a list in Alfred and the fuzzy search for the tag I want and search on it in Pinboard. This would be amazing.

nikitavoloboev commented 7 years ago

Another amazing thing would be to get a list of all the tags and let users search on them but I am not sure Pinboard provides such API.

mgroth0 commented 7 years ago

Are popular tags determined by the number of bookmarks with that tag? if so its totally possible, because the API lets you get a list of your tags along with the number of times they are used

+1, this would be awesome.

spamwax commented 7 years ago

It seems API only lists every user's tag, I couldn't see an endpoint to list popular tags of the day of all users. Listing and searching your own tags can be supported. I'm curious what would be the use case for a separate listing because right now you can kind of do it while posting a new bookmark

mgroth0 commented 7 years ago

If hitting enter on the tag would allow us to see all the bookmarks with that tag, I would use this feature often.

spamwax commented 7 years ago

while we are deciding what exactly should be added as part of this feature, you can ask the workflow to search your bookmarks by tag only: pset tag-only and then select yes. That way when you type your tag right after ps, only bookmarks containing that tag will be shown.

nikitavoloboev commented 7 years ago

Hey @spamwax, I am actually not using pinboard as my bookmark manager.

I just really like searching on pinboard for what other people have bookmarked and tagged. Thus if I could get a list of all current 'trending' tags and be able to search on them. That would be great.

mgroth0 commented 7 years ago

while we are deciding what exactly should be added as part of this feature, you can ask the workflow to search your bookmarks by tag only: pset tag-only and then select yes. That way when you type your tag right after ps, only bookmarks containing that tag will be shown.

I'm aware of this, thanks. It would be extra cool if I could quickly get a list of my top tags in order of usage, especially for organizing purposes.

if I could get a list of all current 'trending' tags and be able to search on them. That would be great.

Does Pinboard API give you access to public data like this?

spamwax commented 7 years ago

@nikitavoloboev I can't find any API to get trending tags from pinboard. What is the URL you use to see this on Pinboard website? maybe we can start from there... Also what do you use for your bookmark manager?

@matthew-groth I'll try to get this added soon.

nikitavoloboev commented 7 years ago

@spamwax Here is the pinboard/popular page, to the right is the list of popular tags

And my bookmark manager is this :)