generated from silverbulletmd/silverbullet-plug-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We're including context for direct links to pages inside of SB now in #9 but it'd also be cool to automatically fetch remote urls and include those in context as well.
e.g. "Please look at https://ai.google.dev/tutorials/rest_quickstart and tell me how to use the Gemini API"
One problem is that we'd need to convert the remote url to markdown first. In discord, these libraries were mentioned:
- https://github.com/mozilla/readability
- https://github.com/mixmark-io/turndown
I don't really want to include any libraries in this plugin if we don't have to, so I'd prefer the option of using a self-hostable api if possible. Another option could be to shell out to a command (curl+pandoc), but I'd want to leave this up to the user maybe by providing a space script function to use?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request