Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 1.25 KB

README.md

File metadata and controls

62 lines (47 loc) · 1.25 KB

Pocket Tagger

Overview

Adds tags to unread articles under your Pocket account

Before and After

Before running the pocket-tagger:

Pocket articles list before

And After:

Pocket articles list after

Notes

  • Add a Pocket consumer key to a config/*.json

  • To obtain a platform consumer key follow the Pocket API Documentation

  • 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