5 releases
| 0.1.4 | Feb 17, 2025 |
|---|---|
| 0.1.3 | Feb 17, 2025 |
| 0.1.2 | Feb 12, 2025 |
| 0.1.1 | Feb 12, 2025 |
| 0.1.0 | Feb 11, 2025 |
#1456 in Parser implementations
187 downloads per month
18KB
183 lines
pulsarss
RSS Aggregator for Gemini Protocol
pulsarss is a multi-process crawler for RSS feeds, that collects and converts results into the static gemtext files; also aggregates an actual index.gmi file in the relevant folders organized by channel / item pub_date.
[!NOTE] At this moment,
pulsarssdoes not provide any built-in server. To read the data collected, use any server for static files listed in the awesome-gemini
Install
cargo install pulsarss
Launch
pulsarss --source https://path/to/feed.rss --index index.gmi
Options
source,s- RSS feed source (required)target,t- Destination directory (publicby default)update,u- Update timeout in seconds (60by default)index,i- Generate index files with given filename (disabled by default)limit,l- Limit channel items (unlimited by default)output,o- Print output (dwby default):d- debugw- warningn- disable
Autostart
systemd
- Install
pulsarssby copy the binary compiled into the system destination:
- Linux:
sudo cp /home/user/.cargo/bin/pulsarss /usr/local/bin
- Create
systemdconfiguration file:
# /etc/systemd/system/pulsarss.service
[Unit]
After=network.target
[Service]
Type=simple
User=pulsarss
Group=pulsarss
ExecStart=pulsarss -s https://path/to/feed.rss -i index.gmi
[Install]
WantedBy=multi-user.target
- Run in priority:
systemctl daemon-reload- reload systemd configurationsystemctl enable pulsarss- enable new servicesystemctl start pulsarss- start the processsystemctl status pulsarss- check process launched
Dependencies
~10–26MB
~361K SLoC