Crates.io | rss_autogen_giscus |
lib.rs | rss_autogen_giscus |
version | 0.2.0 |
source | src |
created_at | 2023-08-10 16:07:46.89973 |
updated_at | 2023-08-16 14:54:06.489839 |
description | Autogenerate GitHub Discussions from RSS feeds for Giscus |
homepage | https://github.com/cam-rod/rss_autogen_giscus |
repository | https://github.com/cam-rod/rss_autogen_giscus |
max_upload_size | |
id | 941149 |
size | 103,076 |
Giscus offers a great solution to bring commenting support to your website, but it comes with the caveat that authorizing the app grants permissions to all repos. You can still comment on GitHub itself, but the discussion post itself is only created when an authenticated user leaves one first. This program solves that, running as a container that can check for new blog posts from an RSS feed, and generating a compatible discussion for Giscus.
cargo install rss_autogen_giscus
.rss_autogen_giscus
You can also use the provided container image:
podman pull ghcr.io/cam-rod/rss_autogen_giscus:latest
podman run --rm -it -e DISCUSSION_CATEGORY=Blogs [...] rss_autogen_giscus:latest
LOOKBACK_DAYS
, as it may recreate an existing post if the program is unintentionally triggered.Feel free to open an issue or PR in this repo.
Both the program and container image are licensed under Apache 2.0.