npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@elizaos/plugin-rss-root

v2.0.0-alpha.1

Published

RSS and Atom feed integration plugin for elizaOS - enables agents to fetch and monitor news feeds

Downloads

6

Readme

@elizaos/plugin-rss

RSS and Atom feed integration plugin for elizaOS. Enables agents to fetch, parse, and monitor news feeds across multiple languages.

Features

  • Feed Fetching: Fetch and parse RSS 2.0 and Atom feeds
  • Feed Subscription: Subscribe to feeds for automatic monitoring
  • Periodic Updates: Automatically check feeds on a configurable interval
  • Duplicate Detection: Smart duplicate detection using GUIDs and title/date fallbacks
  • Multiple Output Formats: CSV (compact) or Markdown (human-readable) output
  • Multi-Language Support: Full implementations in TypeScript, Python, and Rust

Installation

TypeScript/Node.js

npm install @elizaos/plugin-rss
# or
bun add @elizaos/plugin-rss

Python

pip install elizaos-plugin-rss
# or
cd python && pip install -e .

Rust

Add to your Cargo.toml:

[dependencies]
elizaos-plugin-rss = { path = "path/to/plugin-rss/rust" }

Configuration

Set these environment variables to configure the plugin:

| Variable | Type | Default | Description | | ---------------------------- | ------- | ------- | ----------------------------------------------------------------- | | RSS_FEEDS | string | - | JSON array or comma-separated list of feed URLs to auto-subscribe | | RSS_DISABLE_ACTIONS | boolean | false | Set to true to disable subscription management actions | | RSS_FEED_FORMAT | string | csv | Output format: csv (compact) or markdown (readable) | | RSS_CHECK_INTERVAL_MINUTES | number | 15 | Interval in minutes between feed checks |

Example Configuration

# JSON array format
RSS_FEEDS='["https://news.ycombinator.com/rss", "https://feeds.bbci.co.uk/news/rss.xml"]'

# Comma-separated format
RSS_FEEDS='https://news.ycombinator.com/rss,https://feeds.bbci.co.uk/news/rss.xml'

# Use markdown format for better readability
RSS_FEED_FORMAT='markdown'

# Check feeds every 30 minutes
RSS_CHECK_INTERVAL_MINUTES=30

Usage

TypeScript

import { rssPlugin } from "@elizaos/plugin-rss";

// Add to your agent's plugins
const agent = new AgentRuntime({
  plugins: [rssPlugin],
  // ...
});

Python

from elizaos_plugin_rss import RssPlugin, RssClient

# Create a client
client = RssClient()

# Fetch a feed
feed = await client.fetch_feed("https://news.ycombinator.com/rss")
print(f"Feed: {feed.title}")
for item in feed.items:
    print(f"  - {item.title}")

# Use the plugin
plugin = RssPlugin()

Rust

use elizaos_plugin_rss::{RssClient, RssConfig};

// Create a client
let config = RssConfig::default();
let client = RssClient::new(config)?;

// Fetch a feed
let feed = client.fetch_feed("https://news.ycombinator.com/rss").await?;
println!("Feed: {}", feed.title);
for item in &feed.items {
    println!("  - {}", item.title);
}

Actions

The plugin provides these actions:

GET_NEWSFEED

Download and parse an RSS/Atom feed from a URL.

Example:

User: Read https://news.ycombinator.com/rss
Agent: [GET_NEWSFEED] Downloaded 30 articles from "Hacker News"

SUBSCRIBE_RSS_FEED

Subscribe to a feed for automatic monitoring.

Example:

User: Subscribe to https://news.ycombinator.com/rss
Agent: [SUBSCRIBE_RSS_FEED] Subscribed to "Hacker News"

UNSUBSCRIBE_RSS_FEED

Unsubscribe from a feed.

Example:

User: Unsubscribe from https://news.ycombinator.com/rss
Agent: [UNSUBSCRIBE_RSS_FEED] Unsubscribed from feed

LIST_RSS_FEEDS

List all subscribed feeds.

Example:

User: What feeds am I subscribed to?
Agent: [LIST_RSS_FEEDS] You have 3 subscribed feeds...

Provider

FEEDITEMS

Provides recent feed items to the agent's context. Items are formatted according to the RSS_FEED_FORMAT setting.

Types

RssChannel

interface RssChannel {
  title: string;
  description: string;
  link: string;
  language: string;
  copyright: string;
  lastBuildDate: string;
  generator: string;
  docs: string;
  ttl: string;
  image: RssImage | null;
}

RssItem

interface RssItem {
  title: string;
  link: string;
  pubDate: string;
  description: string;
  author: string;
  category: string[];
  comments: string;
  guid: string;
  enclosure: RssEnclosure | null;
}

RssFeed

interface RssFeed extends RssChannel {
  items: RssItem[];
}

Development

Building

# Build all languages
bun run build

# Build specific language
bun run build:ts
bun run build:python
bun run build:rust

Testing

# Test all languages
bun run test

# Test specific language
bun run test:ts
bun run test:python
bun run test:rust

Linting

# Lint TypeScript
bun run lint

# Lint Python
bun run lint:python

# Lint Rust
bun run lint:rust

Architecture

plugin-rss/
├── package.json          # Root package orchestrating all implementations
├── README.md
├── typescript/           # TypeScript implementation
│   ├── index.ts
│   ├── types.ts
│   ├── service.ts
│   ├── parser.ts
│   ├── actions/
│   └── providers/
├── python/               # Python implementation
│   ├── pyproject.toml
│   └── elizaos_plugin_rss/
│       ├── __init__.py
│       ├── types.py
│       ├── client.py
│       ├── parser.py
│       └── plugin.py
└── rust/                 # Rust implementation
    ├── Cargo.toml
    └── src/
        ├── lib.rs
        ├── types.rs
        ├── client.rs
        ├── parser.rs
        └── error.rs

License

MIT © elizaOS Team