Skip to content

Commit

Permalink
Add information about pocket to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mzfr committed Feb 25, 2023
1 parent 8c93d91 commit 949a446
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,27 @@ The latest prebuilt binaries for Linux/MacOS/Windows are available
* For **self-hosting**, see `yarr -h` for auth, tls & server configuration flags.
* For building from source code, see [build.md](build.md)

## Enable Pocket Support

If you'd like to use the `Add to Pocket` button on the feeds then you can do so by following the steps mentioned below:

* Create a new Pocket Application
- https://getpocket.com/developer/apps/new

* Take the `consumer key` and put it in `etc/get-pocket-token.py`
- https://github.com/mzfr/yarr/blob/master/etc/get-pocket-token.py#L5

* Run the python script
- You'll need to have python3 installed.

* Once the script runs, it will give you a URL, click on it and authorize the application.
* After the scripts execution stops, you will have a `access_token`.


### Manual Method

If the you don't wanna run the script you can also get the `access_token` manually. For that please follow the steps mentioned [here](https://getpocket.com/developer/docs/authentication)

# Credits

[Feather](http://feathericons.com/) for icons.

0 comments on commit 949a446

Please sign in to comment.