Open edongashi opened 4 days ago
Just wanted to chime in here that I'd like this as well. My use case is very similar to @edongashi's – except I want to have Hoarder ingest the Reddit post's target URL rather than the Reddit post itself. FreshRSS has a plugin framework that lets you mutate data on ingestion or munge on display. Both would be useful.
Describe the feature you'd like
Support hooking custom user code into the bookmark process. A
/scripts
directory could be mounted where named callbacks would be exported. For example,my-script.js
would expose:Similarly, we could have a
onAITags
to clean up the AI generated tags,onAiPrompt
to fine tune a prompt,onContentCaptured
,onSummary
, and so on.Describe the benefits this would bring to existing Hoarder users
There are some key sites where I commonly save links and I would like to apply some pre/postprocessing. Automatic tagging would be beneficial in a site such as reddit where it depends on which subreddit the bookmark was captured. This would also make it possible for third party integrations such as caling a webhook when something of interest has happened.
Another use case that comes to mind is parsing domain-specific languages for text notes.
Can the goal of this request already be achieved via other means?
No, the closest thing is customizing the AI prompts.
Have you searched for an existing open/closed issue?
Additional context
No response