Simple, minimal CLI tool for creating, managing, and generating RSS 2.0 feeds
Find a file
2025-05-30 12:59:47 +03:30
.gitignore Add gitignore for dotfilessh, dotSettings, vim, vscode 2025-05-30 12:59:04 +03:30
LICENSE Initial commit 2025-05-30 12:46:20 +03:30
README.md Update README: enhance features, usage, config, license, and author section 2025-05-30 12:56:39 +03:30
rssmgr.sh Add rssmgr CLI tool for RSS feed management 2025-05-30 12:59:47 +03:30

rssmgr

Simple, minimal CLI tool for creating, managing, and generating RSS 2.0 feeds.

Features

  • Add, update, and delete RSS feed items easily via interactive prompts
  • Supports optional links per item
  • Automatically generates valid RSS 2.0 XML file
  • Minimal dependencies: written in Bash and requires only jq
  • Portable and lightweight for Unix-like systems

Requirements

  • Bash shell
  • jq (for JSON manipulation)

Usage

  1. Clone or download the script:
git clone https://src.panahifar.ir/ahp/rssmgr.git
cd rssmgr
  1. Make the script executable:
chmod +x rssmgr.sh
  1. Run the script:
./rssmgr.sh
  1. Follow the on-screen menu to manage your RSS feed items.

  2. The generated RSS XML file is saved as rss_feed.xml in the script directory.

How it works

  • Stores feed items in a JSON file (rss_items.json)
  • Uses interactive CLI prompts to add, update, or remove items
  • Generates an RSS 2.0 compliant XML feed with metadata and items
  • Supports optional link field for each item — can be left empty

Configuration

Edit the script variables at the top to customize the feed metadata:

FEED_TITLE="My RSS Feed"
FEED_LINK="https://example.com"
FEED_DESC="Example RSS Feed Description"
FEED_LANG="en-us"

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Amir Husayn Panahifar