fniephaus / alfred-pocket Goto Github PK
View Code? Open in Web Editor NEWManage your Pocket list with Alfred
License: MIT License
Manage your Pocket list with Alfred
License: MIT License
Absolutely love this workflow! I use Pocket extensively and it works flawlessly, really great stuff!
Was curious, is it possible to open a search in Pocket web? I know I can open the link in Pocket using shift, curious if this kind of functionality can be added to an entire search?
The search is amazing in this workflow, but sometimes it's easier for me to find the article using the images and visual layout in Pocket. Just a thought.
Thanks for the great tool!!
I miss the option “Open in Pocket“ instead of open the source url in the browser. By this way I'm able to view the article in the readability mode. Any plans?
Hi,
I am trying to add new pocket items with alfred-pocket but when I do nothings happened, I got the debugging log here:
Starting debug for 'Pocket for Alfred'
[2018-04-17 07:00:38][ERROR: action.script] Traceback (most recent call last):
File "pocket_save.py", line 10, in <module>
POCKET = Pocket(config.CONSUMER_KEY, WF.get_password('pocket_access_token'))
File "/Users/AKFourSe7en/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.5674F772-4524-4D85-AAF9-E56EAC4B2D29/workflow/workflow.py", line 2617, in get_password
account, '-g')
File "/Users/AKFourSe7en/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.5674F772-4524-4D85-AAF9-E56EAC4B2D29/workflow/workflow.py", line 2986, in _call_security
raise PasswordNotFound()
workflow.workflow.PasswordNotFound
The log is pretty clear so my issue is that I don't know how to set the password on alfred-pocket, do I need to delete the workflow and add it once more ? is there another way ?
Hello,
First of all, thanks for making this, it's amazing!
I would love to know how can I reset the credentials to my Pocket account as I have 2 accounts and authenticated with the wrong one by mistake.
Deleting the folder /Users/***/Library/Caches/com.runningwithcrayons.Alfred/
didn't help - I can still it successfully logging got password : com.fniephaus.pocket:pocket_access_token
and getting into the incorrect account.
Thanks,
Arik
I think add this feature will make this great workflow even more useful.
Just add uid=link['given_url'],
in pocket.py:167 is enough.
Now I can't add new items to pocket via this workflow.
I tried both hotkey and _pocket_add on my chrome,
and I tried authorize and updated the token saved in keychain,
but it just won't work.
It just happened a day or two,hoping you can fix this.
It is a great workflow .I use it nearly everyday.Thanks a lot for the brilliant work you have done.
Hi all.
I wanted to know how to run this software, there is no documentation talking about it. Does this app(alfred-pocket) work on Windows 10?
Thank you for the workflow! It has worked for me until today. It tells me that my pocket list were empty, which is not.
this is the debug info alfred shows:
Starting debug for 'Pocket for Alfred'
[STDERR: alfred.workflow.input.scriptfilter] 13:05:02 workflow.py:1610 DEBUG Loading cached data from : /Users/vladislavgapurov/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/__workflow_update_status.cpickle
13:05:02 workflow.py:2181 DEBUG update_data : {u'available': False, u'version': u'4.1', u'download_url': u'https://github.com/fniephaus/alfred-pocket/releases/download/v4.1/Pocket-for-Alfred.alfredworkflow'}
13:05:02 workflow.py:2350 DEBUG Got password : com.fniephaus.pocket:pocket_access_token
13:05:02 workflow.py:2350 DEBUG Got password : com.fniephaus.pocket:pocket_access_token
13:05:02 background.py:188 DEBUG Command arguments cached to /Users/vladislavgapurov/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/pocket_refresh.argcache
13:05:02 background.py:192 DEBUG Calling [u'/usr/bin/python', '/Users/vladislavgapurov/Dropbox/alfredapp/Alfred.alfredpreferences/workflows/user.workflow.E93CE79B-A70B-4175-9CDC-6CA2F1F92C5F/workflow/background.pyc', 'pocket_refresh'] ...
13:05:02 workflow.py:1972 DEBUG Workflow version : 4.1.0
13:05:02 workflow.py:2008 DEBUG Workflow finished in 0.037 seconds.
13:05:02 workflow.py:2008 DEBUG Workflow finished in 0.039 seconds.
13:05:02 background.py:197 DEBUG Executing task pocket_refresh
in background...
13:05:03 workflow.py:1610 DEBUG Loading cached data from : /Users/vladislavgapurov/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.fniephaus.pocket/pocket_list.cpickle
[INFO: alfred.workflow.input.scriptfilter]
<title>Your Pocket list is empty!</title>
Recently you have added a great addition of archiving articles instantly and giving the article a set of tags. It would be really nice if one could additionally have the ability to press modifier key command or other modifier to also favourite that entry.
I hope it won't be too difficult to implement and you can agree on its usefulness. Thank you so much for such a great workflow.
Hi there,
Installed the workflow and authorized it, but it tells me my lists are empty. They are not. Here's the debug info:
Any help?
[2017-04-17 20:20:45][STDERR: input.scriptfilter] 20:20:45 workflow.py:2153 DEBUG Workflow version : 6.5.0
20:20:45 workflow.py:1554 DEBUG Reading settings from `/Users/guill/Library/Application Support/Alfred 3/Workflow Data/com.fniephaus.pocket/settings.json` ...
20:20:45 workflow.py:2437 DEBUG Update check not due
20:20:45 workflow.py:2317 DEBUG Last run version : 6.5.0
20:20:45 workflow.py:2317 DEBUG Last run version : 6.5.0
20:20:45 workflow.py:1789 DEBUG Loading cached data from : /Users/guill/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.fniephaus.pocket/__workflow_update_status.cpickle
20:20:45 workflow.py:2365 DEBUG update_data : {u'available': False}
20:20:45 workflow.py:2557 DEBUG Got password : com.fniephaus.pocket:pocket_access_token
20:20:45 workflow.py:2557 DEBUG Got password : com.fniephaus.pocket:pocket_access_token
20:20:45 workflow.py:2347 DEBUG Set last run version : 6.5.0
20:20:45 workflow.py:2191 DEBUG Workflow finished in 0.158 seconds.
[2017-04-17 20:20:54][STDERR: input.scriptfilter] 20:20:48 workflow.py:2153 DEBUG Workflow version : 6.5.0
20:20:48 workflow.py:1554 DEBUG Reading settings from `/Users/guill/Library/Application Support/Alfred 3/Workflow Data/com.fniephaus.pocket/settings.json` ...
20:20:48 workflow.py:2437 DEBUG Update check not due
20:20:48 workflow.py:2317 DEBUG Last run version : 6.5.0
20:20:48 workflow.py:2317 DEBUG Last run version : 6.5.0
20:20:48 workflow.py:1789 DEBUG Loading cached data from : /Users/guill/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/com.fniephaus.pocket/__workflow_update_status.cpickle
20:20:48 workflow.py:2365 DEBUG update_data : {u'available': False}
20:20:48 workflow.py:2557 DEBUG Got password : com.fniephaus.pocket:pocket_access_token
20:20:48 workflow.py:2557 DEBUG Got password : com.fniephaus.pocket:pocket_access_token
20:20:54 workflow.py:2347 DEBUG Set last run version : 6.5.0
20:20:54 workflow.py:2191 DEBUG Workflow finished in 5.691 seconds.
In China, because of the network problem, accessing the pocket is very slow
thanks!
Hello, first thank you for this awesome workflow. I use every day and it works pretty well.
The only thing is that I generally don't get any suggestion when I use the hotkey of "adding link with custom tags". Maybe 1-2 out of every 10 times I get the available tags suggested and can select them easily, the other times I have to write them by hand and try to remember the ones that already exist. What could be the reason for that?
Thank you,
Gabriel
First of all @fniephaus, thanks a ton for creating and maintaining this powerful workflow for my beloved reading list service 😍
Now, I installed alfred-pocket v7.3 from both Packal and GitHub releases page with SHA-256 324ec3030a92f04e3ac3017ebf867f1634aa15c2c316ca44356ad889869b4d4d, but it shows following error:
Workflow Incompatible. Please update to the latest version of Alfred
Now, v7.2 is compatible with Alfred 3, so I checked the diff from v7.2 and v7.3, but I couldn't identify what's breaking the compatibility.
@fniephaus, could you please help me understand why v7.3 doesn't support Alfred 3, because a simple web search didn't help?
Hi fniephaus,
I like your workflow very much!
But I find a problem is "when I save a link from Clipboard, the url will append a break line(\n)"
So I try to looking for the question and I find is from the function "get_link_from_clipboard"
I guess is the readline method will carry a "\n"
workflow version: 6.3
Thank you :)
I want to have one more option in this main window :
Which would be 'my tags' and from there I can search and see the various tags that I have. On clicking the tags, I would be able to see the articles associated with the tags.
This would really be amazing to have. I hope you agree and I hope it won't be too complex to implement.
Thank you.
Love the workflow.
I use tags quote a bit with Pocket. Any way to add the ability to search by tags? Multiple tags as well with a comma separating them.
Thanks for the great work.
Apple has removed Python 2 in macOS 12.3. Any plans for adding support to Python 3?
I add articles I want to read later to pocket but sometimes I come across certain articles that I read fully right from the browser, I want to have pocket be my go-to place for articles both archived and ones I want to read. Having this additional feature would allow me to just press a hotkey and archive the read article instantly in pocket with some custom tag.
Right now to achieve this behaviour, I would have to add the article to pocket, then go to pocket, find the article and archive it from there as well as add a tag for it. I want to bypass all these steps and add an article instantly.
I hope this would be possible to do. I really think it would be a great addition.
I tried every possible way I could think, nothing happened.
I think it would really be a great feature. I sometimes want to reference some article I read long time ago and archived, would be great if I could do a quick search for it within the alfred prompt.
What do you think?
Hello !
Just started using your workflow and it is amazing.
I'd like to add a feature to it.
The action "random" will call the url : https://getpocket.com/random
which randomly select an article from your list you haven't read yet.
I can add it myself with the Alfred workflow system but it will by nice to have it in yours.
Thank you !
Hi, the workflow is showing to me that is an update available, but nothing's happening when I selectet pocket workflow:update
I'm using Alfred 2.7.1
It looks like Pocket's API requests are limited to 5000 links. Needs fixing
This is a noobish question.How do I donwnload?I dont see the workflow file in the folder
Hi, Iam spearkkk
Thank you for your nice sharing.
Would you update this workflows?
If link is removed in my pocket, the list will be refreched automatically.
Thanks!
I have the issue with %0A being appended to a lot of my links, it seems the ones that cannot be open in 'article view' will get this %0A appended to their links thus I can't open them in browser and it is very annoying.
What can I change to remove this behaviour and have the original links being added so I can then open them in browser.
Thank you for a great workflow.
I am not sure whether Pocket, prevents users from adding duplicate articles to the library, I think it doesn't.
It would be really useful I think to add ability to check whether the url that is supplied with the article is not already in the pocket library, if it is, it should inform the user about it.
As my Pocket collection has grown, it is often quite hard to remember whether I have already 'bookmarked' this article or not. This should ideally avoid this.
I've installed Chrome using brew cask
, so it's installed at /usr/local/Caskroom/google-chrome/latest
.
pocket_save.py
assumes that Chrome will always be installed at /Applications/Chrome.app
.
In order to save links to pocket, I have to copy the link from Chrome, then focus on a different app and use the add-pocket
workflow to use the contents of the clipboard
Hey, love this workflow. This isn't so much an issue as it is a question/notification.
For some reason it temporarily decided not to work. I deauthorized it and then it magically started to work again without reauthorizing. Is this something that may happen every now and then? If so it may be good to write a note in the README letting users know what to do in the event it happens.
Thanks!
Carlos Sztoltz Pinboard workflow allows for Preview of the web page. It's pretty useful. ...
suggestion by johnyull at http://www.alfredforum.com/topic/4127-pocket-for-alfred/?p=38392
I can't find how to search item in archive.
please help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.