Repository navigation
Skybox 0.1.3
Bookmarks that carry the page, not just the link.
New
Each bookmarked page is read once. What a page declares for its own social cards now goes into the note: a description, an author, a date and a preview image, filling the properties Obsidian's Web Clipper leaves room for. The card shows the page's own picture in place of cover art, and the description becomes its excerpt.
The article comes too. The page's text is extracted and written into the note under a ## Page text heading at the end, so a bookmark is searchable by what the page said and survives the page going away. Anything you write above that heading stays first and stays yours, and a note that already holds the text is never rewritten.
The reading is done by Defuddle, the library Obsidian's own Web Clipper uses, so a bookmark gets the reading a clip would have had. It is the first dependency this plugin has taken beyond React: pinned to an exact version, reached from one file, loaded on first use rather than at startup, and never reached on a phone. The plugin is 0.59 MB because of it, which is less than several plugins you probably already run.
Preview images in the settings turns the pictures off, for anyone who would rather have cover art or would rather their cards did not reach the hosts those pictures live on. What each page said is kept in the note's properties either way.
Importing happens on desktop, where the browser's bookmarks file is. On a phone the notes arrive with the rest of the vault.
Fixed
- A bookmark imported and enriched in the same pass was skipped, because a note written a moment earlier is not in the metadata cache yet.
- Sync now bailed out silently when the automatic switch was off, and reported a failure with no reason in it.
- Setting the import up no longer fills the path from whichever browser profile turned up first and reads it there and then.
- Notes from earlier versions, which used a
urlkey, are brought up to the Web Clipper's shape as they are read.
Installing
Put main.js, manifest.json and styles.css in <vault>/.obsidian/plugins/skybox/, then enable Skybox under Community plugins with Restricted mode off. On a phone, BRAT installs it from here: Add beta plugin, luanarium/skybox.