RSS aggregator for different protocols
Find a file
2024-04-19 17:11:03 +03:00
example initial commit 2024-04-19 16:53:12 +03:00
src initial commit 2024-04-19 16:53:12 +03:00
.gitignore initial commit 2024-04-19 16:53:12 +03:00
composer.json initial commit 2024-04-19 16:53:12 +03:00
LICENSE Initial commit 2024-04-19 16:00:35 +03:00
README.md update readme 2024-04-19 17:11:03 +03:00

Pulsar

RSS Aggregator for Gemini Protocol

Simple RSS feed converter to static Gemtext format, useful for news portals or localhost usage.

Usage

  1. git clone https://github.com/YGGverse/Pulsar.git
  2. cp example/config.json config.json - setup your feeds
  3. php src/crawler.php - create crontab schedule

Config

Configuration file supports multiple feed channels with custom settings:

  • source - string, filepath or URL to the valid RSS feed
  • target - string, relative or absolute path to Gemtext dumps
  • item
    • limit - integer, how many items to display
    • template - string, custom pattern for feed item, that supports following macros
      • {nl} - new line separator
      • {link} - item link
      • {guid} - item guid
      • {pubDate} - item pubDate, soon with custom time format e.g. {pubDate:Y-m-d H:s}
      • {title} - item title
      • {description} - item description

Resulting files could be generated to the any folder for personal reading on localhost, or shared with others using gmid, twins or any other Gemini server.