├── .gitignore ├── README.md ├── auth.php ├── init.php ├── pocket.js ├── pocket.png └── pocketgrey.png /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | oneclickpocket 2 | ============== 3 | 4 | Plugin for Tiny Tiny RSS. Add articles to Pocket with a single click or press of a button. Tested with TT-RSS 1.7.9 and TT-RSS 1.8. 5 | 6 | 7 | Requirements 8 | ------------ 9 | Requirements that exceed TT RSS' requirements: PHP CURL extension has to be enabled 10 | 11 | Installation 12 | ------------ 13 | * Copy the *oneclickpocket* folder to your tt-rss *plugins/* folder. 14 | * Go to your tt-rss Preference page 15 | * Under *Plugins* section enable oneclickpocket plugin 16 | * A new pref pane will show up, named *Pocket* where you have to enter Pocket credentials (this is *not* your Pocket username and password!): 17 | + *Pocket Consumer Key* -- to generate a Consumer Key, head to http://getpocket.com/developer/apps/new -- you only need the permission to Add 18 | + *Pocket Access Token* -- to generate an Access Token, click "Generate Access Token" or open [plugins]/oneclickpocket/auth.php. 19 | 20 | Version history 21 | --------------- 22 | * 0.1 Initial Version 23 | * 0.2 Icon changes colour when clicked 24 | * 0.3 Added a hotkey (thanks to Bas1c), since 0.31 change icon colour for hotkey, too. 25 | * 0.32 Check for CURL and throw error if missing. 26 | * 0.33 Updated for PDO 27 | * 0.34 Update .js for TT-RSS 18.12+ 28 | * 0.35 Update .js for TT-RSS 21.03+ 29 | 30 | Credits 31 | ------- 32 | I used Acaranta's (https://github.com/acaranta) Yourls-plugin as template. 33 | -------------------------------------------------------------------------------- /auth.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |