mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 09:05:29 +00:00
1.8 KiB
1.8 KiB
rssto
Convert RSS feeds into multiple formats
Roadmap
- HTML
- Gemtext
- JSON
- Markdown
Install
cargo install rssto
Launch
rssto -c config/example.toml
Tip
- prepend
RUST_LOG=DEBUGto print worker details (supported levels)- append
-u TIMEto run as the daemon withTIMEinterval update- see
rssto --helpto print all available options
Autostart
systemd
- Install
rsstoby copy the binary compiled into the native system apps destination:
- Linux:
sudo install /home/user/.cargo/bin/rssto /usr/local/bin/rssto
- Create
systemdconfiguration file at/etc/systemd/system/rssto.service:
[Unit]
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=rssto
Group=rssto
# Uncomment for debug
# Environment="RUST_LOG=debug"
# Environment="NO_COLOR=1"
ExecStart=/usr/local/bin/rssto --config /path/to/config1.toml\
--config /path/to/config2.toml
StandardOutput=file:///home/rssto/debug.log
StandardError=file:///home/rssto/error.log
[Install]
WantedBy=multi-user.target
- example above requires new system user (
useradd -m rssto)
- Run in priority:
systemctl daemon-reload- reload systemd configurationsystemctl enable rssto- enable new servicesystemctl start rssto- start the processsystemctl status rssto- check process launched