Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkora/pocket-tagger
Adds tags to Pocket's unread articles
https://github.com/mkora/pocket-tagger
express js passportjs pocket
Last synced: 3 months ago
JSON representation
Adds tags to Pocket's unread articles
- Host: GitHub
- URL: https://github.com/mkora/pocket-tagger
- Owner: mkora
- Created: 2017-09-19T21:26:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-23T04:02:34.000Z (almost 6 years ago)
- Last Synced: 2024-05-28T14:19:53.229Z (6 months ago)
- Topics: express, js, passportjs, pocket
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Pocket Tagger
### Overview
Adds tags to unread articles under your [Pocket](https://getpocket.com/) account
### Before and After
**Before running the pocket-tagger:**
![Pocket articles list before](https://user-images.githubusercontent.com/31717889/33049137-a96ae7c0-ce2c-11e7-965c-011916547077.png)
**And After:**
![Pocket articles list after](https://user-images.githubusercontent.com/31717889/33049143-b025f564-ce2c-11e7-94d6-13847b064d83.png)
### Notes
- Add a Pocket consumer key to a `config/*.json`
- To obtain a platform consumer key follow [the Pocket API Documentation](https://getpocket.com/developer/docs/authentication)
- To add rules for tags create `tagger/config/local.js` file, or use the default config
- Example of `tagger/config/*.js`
```
tech: {
label: 'tech',
rule: {
title: ['tech',]
},
children: {
news: {
label: 'news',
rule: {
link: ['bloomberg.com', 'gizmodo.com',]
title: ['Google', 'Amazon',]
},
},
guide: {
label: 'guide',
rule: {
link: ['medium.com',]
},
},
}
},
other: {
label: 'other',
rule: {
link: ['.com', '.org',]
},
},
```#### Usage
```
npm install
npm start
```