reddit / emacs

New package: Forgecast - cast resources to their forges

grtcdr · 2022-11-01 19:30
grtcdr · 2022-11-01 19:32
A while back I wrote a [blog](https://grtcdr.tn/posts/2022-10-08.html) about linking resources to their forges, I've now decoupled that functionality from my website, refactored and turned it into a (my first) package for others to use. From the README: > Forgecast provides a set of helper functions that allow the user to link various resources to the forge that hosts them. Forgecast is an amalgamation of the words “forge” and “cast”; it should be thought of as a tool to “cast resources to their forges”. Your feedback is appreciated :)
HM0880 · 2022-11-02 01:19
Genuine question: what does Forgecast do better than https://magit.vc/manual/forge.html ?
grtcdr · 2022-11-02 01:52
Hi, it's not actually a frontend to any git forges, but rather a small library to provide the functions that can recreate the link to any given resource given a specific context, e.g. its list of revisions, or its raw format. I initially created it so I could avoid manually tracking and logging any changes that would affect my posts. See [this website](https://grtcdr.tn/forgecast) for a quick demonstration.
HM0880 · 2022-11-02 12:23
Oh, OK, this distinction helps. Thanks!
grtcdr · 2022-11-02 15:06
You're welcome! I added a video demonstration of a real-world example to minimize any further confusion.
TeeMcBee · 2022-11-03 12:19
Excellent. You had me at, "...my first...".
grtcdr · 2022-11-03 12:52
Thank you :) > You had me at, "...my first...". How so?