[GH-ISSUE #402] Special Handling for Domains #253

Closed
opened 2026-02-25 23:33:48 +03:00 by kerem · 0 comments
Owner

Originally created by @questor on GitHub (Mar 16, 2022).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/402

I really like the approach to generate a single-html-page for archival, but I would love to have special handling configurable for special domains, two examples:

  • for github-links I would love to automatically clone the repos (which is a rabbit hole on it's own, because how to maintain them)
  • for youtube-links it would be great to download the video automatically

I understand that you don't want to include non-go-packages (like for example youtube-dl), so I think there are multiple approaches this could be handled:

  • some sort of plugin-system which can be added and configured per usecase written in go
  • something generic that you can filter for domains and execute user-defined system-commands (which might have security implications depending on how it's implemented and if it's a public server or not)

there are other implications aswell, for example how to display pages when the user clicked on such a archived link (plugin could provide a generic page customized to this specific link like having a generic page which displays the captured movie) or how to generate an overview picture which can be shown to the user. so I think this needs more thinking about usecases, but would be great to have one solution for ALL bookmarks (like youtube-links, github and so on) to make them available offline.

before diving into finding solutions it would be good to know if something like that is seen in scope for the project and if yes, what are thoughts and preferences...

Originally created by @questor on GitHub (Mar 16, 2022). Original GitHub issue: https://github.com/go-shiori/shiori/issues/402 I really like the approach to generate a single-html-page for archival, but I would love to have special handling configurable for special domains, two examples: - for github-links I would love to automatically clone the repos (which is a rabbit hole on it's own, because how to maintain them) - for youtube-links it would be great to download the video automatically I understand that you don't want to include non-go-packages (like for example youtube-dl), so I think there are multiple approaches this could be handled: - some sort of plugin-system which can be added and configured per usecase written in go - something generic that you can filter for domains and execute user-defined system-commands (which might have security implications depending on how it's implemented and if it's a public server or not) there are other implications aswell, for example how to display pages when the user clicked on such a archived link (plugin could provide a generic page customized to this specific link like having a generic page which displays the captured movie) or how to generate an overview picture which can be shown to the user. so I think this needs more thinking about usecases, but would be great to have one solution for ALL bookmarks (like youtube-links, github and so on) to make them available offline. before diving into finding solutions it would be good to know if something like that is seen in scope for the project and if yes, what are thoughts and preferences...
kerem closed this issue 2026-02-25 23:33:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#253
No description provided.