https://github.com/nnnnicholas/pinboardtopocket
A Node app that syncs new To Read articles from Pinboard to Pocket.
https://github.com/nnnnicholas/pinboardtopocket
kobo pinboard pocket read-articles read-later syncs
Last synced: 14 days ago
JSON representation
A Node app that syncs new To Read articles from Pinboard to Pocket.
- Host: GitHub
- URL: https://github.com/nnnnicholas/pinboardtopocket
- Owner: nnnnicholas
- Created: 2020-06-06T15:49:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-13T05:23:36.000Z (almost 2 years ago)
- Last Synced: 2025-03-31T10:42:28.437Z (about 2 months ago)
- Topics: kobo, pinboard, pocket, read-articles, read-later, syncs
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pinboardToPocket
A Node server that syncs new To Read (a.k.a. "Read Later") articles from Pinboard to Pocket. I wrote this software to automatically send my Pinboard To Read articles to Pocket, so that they sync automatically with Kobo Forma, as Kobo supports only Pocket and not Pinboard.## Instructions
1. run `npm install`
2. Create a file called .env in the project's root directory (i.e., `pinboardToPocket/.env`)
3. Populate the `.env` with the following keys and your values. Pinboard's API key is available on pinboard.in on the Settings page. Pocket's Consumer Key is available once you Create a New App on their developer page. To get the Pocket Access Token, run `node pocketAuth.js`, click through the link in the console, click "Authorize", ignore the google page that pops up, and then copy-paste the token that appears in the console into the `.env`.
```
PINBOARDAPIKEY=
POCKETCONSUMERKEY=
POCKETACCESSTOKEN=
```
4. Run `node index.js`If your access token changes for some reason (security on Pocket's end?) you may have to rerun pocketAuth.js and input the new Auth Token into the .env.
**BONUS** I run the app with the NPM package [forever](https://www.npmjs.com/package/forever) as follows:
`forever start -a index.js`Note: The `-a` flag appends logs to the logfile. If you don't include it, forever will complain the second time you launch it that there is already a logfile with that name.