town-crier

Add multiple RSS feeds or choose from the default ones and get news directly to your command line

Usage no npm install needed!

<script type="module">
  import townCrier from 'https://cdn.skypack.dev/town-crier';
</script>

README

Town Crier

Add multiple RSS feeds or choose from the default ones and get news directly to your command line.

This application is still in early stages, so it might be rewritten. It is ment for learning purpose only. I've used different approaches to solve problems just for the fun of it.

Installation

$ npm install -g town-crier

Usage

town-crier

$ town-crier
Usage
    $ town-crier <input>

Options
    --help           Help
    --interval       Interval in seconds
    --dateFormat     How you'd like your date format
    --sources        Comma separated list of rss sources you want to append current list
    --reset          Reset the config file

 Examples
    $ town-crier --interval=60
    $ town-crier --dateFormat=mm-dd-yyyy
    $ town-crier --sources=http://www.vg.no/rss/feed/,http://www.aftenposten.no/rss/
    $ town-crier --reset

Tests (none)

$ npm test

Contribution

Contributions are appreciated.

License

MIT-licensed. See LICENSE.