1.0.3 • Published 1 year ago

rss-tooter v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

RSS Tooter

Installation

$ npm install rss-tooter

Example Usage

Run this lambda on a cron job to periodically fetch & post RSS updates to your mastodon account

// index.js
import { RssTooter } from 'rss-tooter'

const tooter = new RssTooter(
    MASTODON_ACCESS_TOKEN, 
    MASTODON_API_URL, // e.g. https://mastodon.social/api/v1/
    MASTODON_ACCOUNT_ID, 
    RSS_FEED_URL)

tooter.run()

Caveats

Your Mastodon account can't have any other sources outside of the designated RSS feed. It uses your last post timestamp to filter out already posted RSS updates to avoid reposts.

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago