I’ve actually been curious about something similar, and unfortunately I don’t have an exact answer.
I’m currently self hosting ArchiveBox which saves a copy of the web page, but I find the UI to be pretty bloated. As an alternative, I’ve been curious about LinkWarden, but I have yet to set it up.
I know those two options aren’t ideal as they don’t directly integrate with NextCloud AFAIK, but they might support your other use cases?
Plotting your demise