URL+ is a Logseq plugin written in ClojureScript with shadow-cljs as the main tooling.
The plugin takes the last token of an editing block, be it a word or URL, and augments the block with associated metadata in various formats.
If the last token is a valid URL, metadata or API response is fetched, then the block is modified by applying a selected template. The plugin also fetches compact dictionary definition of a word term, or attach a few useful links to it.
URL+ [title](url)URL+ [title](url) descriptionURL+ Metadata -> Logseq AttributesURL+ Metadata -> EDN CodeURL+ Metadata -> JSON CodeURL+ API -> Logseq AttributesURL+ API -> Logseq Attribute BlocksURL+ API -> EDN CodeURL+ API -> JSON CodeURL+ Append DefinitionURL+ Extract tweet text of twitter.com- Twitter developer access token required
- Paste the token in the plugin settings panel
- For details on the Twitter developer programme, see https://developer.twitter.com/en/docs/authentication/oauth-2-0/bearer-tokens
URL+ Inspector ...
- Unable to handle URL redirects yet, such as
https://youtu.be/abc123tohttps://www.youtube.com/watch?v=abc123.- Temporary Solution: Take the redirected URL and paste with CTRL+SHIFT+V to the block.
- Prefer slash command
/over autoformat - Need more formatting templates beyond the default
[title](url) - Works for block with multiple terms and even multiline. The plugin only considers the last term without other content in the active editing block
- Persist URL metadata or API response in graph
- Learn Logseq plugin dev with ClojureScript + Rum + Babashka + tailwindcss (Sample ClojureScript based plugin projects are rare when this project started)
See technical notes.

