GithubHelp home page GithubHelp logo

fniephaus / alfred-pocket Goto Github PK

View Code? Open in Web Editor NEW
372.0 372.0 33.0 1.48 MB

Manage your Pocket list with Alfred

License: MIT License

Makefile 0.10% Python 99.90%
alfred mozilla pocket python workflow

alfred-pocket's People

Contributors

andreasgrill avatar boobiq avatar fniephaus avatar gwanhyeong avatar moaa avatar preems avatar rockkoca avatar sfurnace avatar sleeper avatar suclogger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

alfred-pocket's Issues

Open Search in Pocket?

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

Feature: Open in Pocket

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?

Cannot add new link in with alfred-pocket

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 ?

Reset authentication

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

Can't add new pocket items.

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.

Pocket List ist Empty!

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>

[feature request] add possibility to favourite archived article with modifier keypress

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.

Your pocket list is empty! But it's not

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.

Adding link with custom tags -> no suggestions

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

Alfred 3 compatibility of v7.3

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

image

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?

break line is appended to the url

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 :)

Would it be possible to add an option to view all the tags that user has?

I want to have one more option in this main window :

2016-07-15 at 13 16

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.

Search by Tag

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.

Python 3 support

Apple has removed Python 2 in macOS 12.3. Any plans for adding support to Python 3?

I would really love a feature where I can add an article and archive it instantly with some tag

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.

add auto complete to archiving a link

When you are in this window and you want to archive a list :

2016-09-17 at 22 26

It would be nice if I could start typing the list I want to add the link to and the options below would narrow down to my search.

Would it be possible to also add search within archive?

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?

[Suggestion] Add the action to select a random article

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 !

Can't update workflow

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

5000+ link support

It looks like Pocket's API requests are limited to 5000 links. Needs fixing

how to download?

This is a noobish question.How do I donwnload?I dont see the workflow file in the folder

Refresh when Link is deleted

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!

%0A is appended to non-article URLS

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.

Would be awesome to add ability to check if article of certain url is already in my Pocket library to avoid duplicates

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.

Temporarily Did Not Work

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.