mirror of https://github.com/YGGverse/Pulsar.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yggverse
d297b16523
|
5 months ago | |
---|---|---|
example | 5 months ago | |
src | 5 months ago | |
.gitignore | 5 months ago | |
LICENSE | 5 months ago | |
README.md | 5 months ago | |
composer.json | 5 months ago |
README.md
Pulsar
RSS Aggregator for Gemini Protocol
Simple RSS feed converter to static Gemtext format, useful for news portals or localhost usage.
Usage
git clone https://github.com/YGGverse/Pulsar.git
cp example/config.json config.json
- setup your feedsphp 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 feedtarget
- string, relative or absolute path to Gemtext dumpsitem
limit
- integer, how many items to displaytemplate
- 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.