inhumantsar / slurp

Slurps webpages and saves them as clean, uncluttered Markdown. Think Pocket, but better.
https://inhumantsar.github.io/slurp/
MIT License
127 stars 2 forks source link

FR: URI to open a website → Bookmarklet #4

Closed chrisgrieser closed 3 months ago

chrisgrieser commented 3 months ago

IN PROGRESS Browser extension for one-click slurps

I think instead of creating a full-blown extensions, a low-hanging fruit could be to create a URI for this plugin. This could allow users to use their own automation plugins already, but more importantly, it would already allow you to create a simple bookmarklet.

inhumantsar commented 3 months ago

I actually set up a URI for it in preparation for the extension. So it's available now, it's just not documented.

In the meantime, this is the format you can use for your bookmarklet: obsidian://slurp?url=<myurl>.

I'm hoping to add some extra functionality to the extension, like setting properties (tags, linked pages, and destination folder especially) prior to slurping the page. It would also be nice to eventually pull some information into the extension from Slurp to display in the browser, like related pages and existing tags.

inhumantsar commented 3 months ago

I've added an example bookmarklet to the README as part of the v0.1.3 release