:chains: a webring for static site generators written in Rust
https://luke.hsiao.dev/blog/openring-rs/ ↗// readme
⛓
openring-rs
A tool for generating a webring from Atom/RSS feeds.
openring-rs is a tool for generating a webring from Atom/RSS feeds, so you can populate a template with articles from those feeds and embed them in your own blog.
An example template is provided in in.html.
This is a Rust-port of Drew DeVault’s openring, with the primary differences being:
- we respect throttling and send conditional requests by default via caching (disable with
--no-cache) - the template is written using Tera and is provided as an argument, not read from stdin
- we show a little progress bar
- we fetch all feeds concurrently
- we provide better error messages (via miette)
- we allow filtering feeds with
--before - we support per-feed weighting, so prolific feeds don’t dominate the ring
- we generate a summary from the source if one is missing in the feed
Demo
To see this in action, you can look at the footer of this blog post.
https://luke.hsiao.dev/blog/openring-rs/
##…