Obsidian Plugin: Convert a URL into markdown

Overview

Obsidian Plugin: Convert a URL into markdown

Demo

Transforms a URL to markdown view if the website allows it.

Installation

Available in the community plugin store in options.

Modes

Operates in 2 modes.

  1. Selection - If you select a URL in the document and execute these commands it will replace the selection with the markdown content.
  2. Document - If you add front mater with the key of link to your document then it is treated as a linked document. Then calling extract will look for the link and replace the content of the document with the extracted content.

Document mode example

---
link: "https://bart.degoe.de/building-a-full-text-search-engine-150-lines-of-code/"
---

everything below the --- will be replaced when calling extract

Commands

  • Extract: Replace url or document with readable markdown extracted from the sites html content
  • Title Only: Replace url or document with a markdown anchor with the title extracted from the page content
  • Import from Clipboard: Extract content from url that is found in your clipboard and dump it at your cursor

Youtube

If your system has youtube-dl installed extra details like channel name and description will be extracted for youtube urls.

youtube

Comments
  • Extract URL content to markdown to the New File and insert your wiki-link

    Extract URL content to markdown to the New File and insert your wiki-link

    This issue was a suggestion. A new option that:

    • Extract content of URL
    • Return your markdown data and create a new note with title of URL page
    • Change the selected URL with wiki-link of the new page
    opened by gilsondev 10
  • I don't see extract into page option

    I don't see extract into page option

    I paste a URL unto an empty page, select, hit ctl-p and then extract and don't see extra into page option that the demo has. I get only archive, title and import from clipboard. I can use from clipboard and it works. So there is a work around but what the demo shows doesn't work.

    image

    opened by pcause 6
  • [Feature Request] URL from Podcast App `Airr` (iOS)

    [Feature Request] URL from Podcast App `Airr` (iOS)

    Hello @trashhalo !!!!

    I wanna kindly ask your help with a specific URL generated from an App called Airr Podcast (iOS)

    Short Explanation

    There is an podcast app called Airr that has a killer feature: you can create highlights from a podcast episode that you are listening.

    • Each highlight contains the 90s previously listened by the user in the text (transcript) format;
    • This content is exportable from a URL generated from the Airr App;

    Each one of these highlights generates a URL like this one:

    https://www.airr.io/quote/615eb6b6cceec3ea046f0be9

    Opening this in Safari you can see that there are a lot of good information:

    Screen Shot 2021-10-07 at 10 16 05

    Purple: The Episode Name;

    Blue: Highlight Description defined by the user when creating the highlight;

    Red: Transcription - it's the text version of the 90s of the episode.

    ⚠️Important Information: the Transcription is "hidden" in this See More link

    Screen Shot 2021-10-07 at 10 19 03

    My Help Request :)

    My idea is to open this many URL from an episode podcast in Obsidian to creating notes about the episode the same way that I do with books highlights.

    Would you mind taking a look at this URL to see if you can make this type of URL work with your fantastic plug-in?

    https://www.airr.io/quote/615eb6b6cceec3ea046f0be9


    Thanks for reading this. Let me know if you need more information.

    I wish you a fantastic day!

    opened by FelipeRearden 3
  • Failed to load extract-url on Android.

    Failed to load extract-url on Android.

    Just saw this thread and found that extrac-url is now available for mobile. But after installing plugin is failing to load.

    Screenshot_20210914-114949

    Device : Xiaomi Mi A1 Version : Android 9

    opened by suny24x7 3
  • No longer able to extract full text?

    No longer able to extract full text?

    image image

    It looks like the option to extract the full contents, either from a highlighted link or the yaml are no longer showing.

    I'm using 0.7.0 of the plugin and 0.11.13 of Obsidian. I tried restarting obsidian and then uninstalling and reinstalling the plugin but it still seems to be missing the extact full contents from highlighted / yaml link.

    opened by quintrino 3
  • Custom template for Youtube

    Custom template for Youtube

    One possible idea for extract url would be a custom format for youtube links.

    At the moment running it on a Youtube video doesn't seem extract the description or embed the video.

    For example https://www.youtube.com/watch?v=qqsNNTkhK5Y

    Has stuff in his description

    ▬▬▬▬▬▬▬▬▬▬ ► CHECK THESE OUT ◀︎▬▬▬▬▬▬▬▬▬▬
    📧️ NEWSLETTER: https://bryanjenkstech.ck.page/d4ec07...​
    💬 DISCORD:  https://discord.gg/MxCVshN​
    🗣️ SOCIALS:  https://streamerlinks.com/tallguyjenks
    etc
    

    Just an idea that might interest you. :)

    opened by quintrino 3
  • Imported URLs don't store full url of links

    Imported URLs don't store full url of links

    Hi,

    I just tested your plugin and when importing https://en.wikipedia.org/wiki/Obsidian it appears that instead of storing the full urls for the links in the article, it's just getting part of the links.

    **Obsidian** (/əbˈsɪdiən/) is a naturally occurring [volcanic glass](/wiki/Volcanic_glass) formed as an [extrusive](/wiki/Extrusive_rock)[igneous rock](/wiki/Igneous_rock).<sup><a href="#cite_note-4">[4]</a></sup>

    which means that if I click on the [igneous rock] link, instead of it taking me to Wikipedia's page on igneous rock, it just creates a new note called igneous_rock in a new folder called wiki.

    I just wanted to check if this is the desired behaviour or not.

    Thanks for making such a great plugin! 😄

    opened by quintrino 3
  • Choose default link for import if none selected

    Choose default link for import if none selected

    Just another feature request that might be interesting.

    If you have a link in your YAML frontmatter

    link: https://en.wikipedia.org/wiki/Obsidian

    if would be good to be able to run the command without having the link selected ( I guess you could also set the yaml key to use in the plugin config (link vs reference vs webpage, etc)) and it would then put the content whereever the cursor is.

    opened by quintrino 1
  • Archive path setting

    Archive path setting

    Instead of typing the folder name, have it auto browse the existing folder like what Templater does where it will auto list all the existing folders in the vault

    opened by clutterwhy 0
  • [QoL] Change HTML image embeds to Markdown image embeds

    [QoL] Change HTML image embeds to Markdown image embeds

    Hi, it'd be nice if you could alter the plugin so it uses ![image](imagelink) instead of the HTML version, so that theme styling can be applied properly and such. Thanks!

    opened by firinael 0
  • [Bug] Plugin stops when it finds a heading?

    [Bug] Plugin stops when it finds a heading?

    Hi, I just tried using the plugin and it stopped just before a heading in the page I tried it on. It was an h1. Could be something to do with how the plugin is programmed to insert its own h1? idk.

    That aside, this is a fantastic plugin, great job!

    EDIT: what happens is the plugin stops extracting and inserts everything before the heading, by the way.

    opened by firinael 0
  • Extract url using the clipboard

    Extract url using the clipboard

    On Android mobile, I'm unable to use "extract url content: extract" with some url selected, What i tried so far:

    • I added "extract url content: extract" to my mobile toolbar
    • after selecting my url, and pushing "extract url content: extract" nothing happens, other custom commands added by plugins like "Admonition" work flawlessly if some text is selected
    • i added custom icons to custom commands in my mobile toolbar to push the right button and this customizations isn't influencing negatively the performance of custom commands
    • i made a Quickadd shortcut to circumvent the issues caused by "extract url content: extract" but it didn't help either

    Edit: Example url, unable to download: https://jsliang.com/post/task-management-with-obsidian/

    I switched from theme Minimal to Obsidians default theme and then I get an error saying something like"unable to fetch url".

    1. Some urls can't be downloaded, some others yes.
    2. Extracting urls to md should support reading the clipboard, if Android mobile plugins are allowed to access that info
    opened by johans3 1
  • Automatically generate note tile from URL extracted

    Automatically generate note tile from URL extracted

    Hi! Great plugin!

    Is there a way to automatically generate the note title from the URL extracted? that feature would be a great additon to the plugin use case workflow.

    Thanks for considering it if its possible,

    opened by GrumpyTuna 0
Releases(0.12.1)
Owner
Stephen Solka
404 bio not found
Stephen Solka
Convert VSCode themes to (Neo)Vim colorschemes

Djanho is a prototype which tries to convert VSCode themes to (Neo)Vim colorschemes. Features Handling of VSCode RGBA colors Out of the box conversion

Vinícius Müller 73 Jan 2, 2023
NetBeans Rust plugin

Rust NetBeans Plugin A NetBeans plugin for Rust. Linux / OSX Windows Requirements NetBeans 8.2.x Java 8+ Rust Cargo Rustup Features So far, it include

drrb 52 Oct 10, 2022
Rust plugin for the IntelliJ Platform

Rust plugin for the IntelliJ Platform Build Status Check Stable Beta Nightly Installation & Usage Available installation options and features are desc

IntelliJ Rust 4.2k Jan 2, 2023
A simple url checker for finding fraud url(s) or nearest url

urlchecker A simple url checker for finding fraud url(s) or nearest url while being fast (threading) Eg:- use std::collections::HashMap; use urlchecke

Subconscious Compute 2 Aug 7, 2022
A rust script to convert a better bibtex json file from Zotero into nice organised notes in Obsidian

Zotero to Obsidian script This is a script that takes a better bibtex JSON file exported by Zotero and generates an organised collection of reference

Sashin Exists 3 Oct 9, 2022
A command-line tool aiming to upload the local image used in your markdown file to the GitHub repo and replace the local file path with the returned URL.

Pup A command line tool aiming to upload the local image used in your markdown file to the GitHub repo and replace the local file path with the return

SteveLau 11 Aug 17, 2022
🏭 Convert Markdown documents into themed HTML pages with support for code syntax highlighting, LaTeX and Mermaid diagrams.

Marky Markdown Magician ?? Features Hot reload previewing ?? Conversion to HTML / PDF ?? Themes! ✨ Extensions - Math, diagrams, syntax-highlighting ??

Vadim 12 Feb 19, 2023
Renders typst code blocks in Obsidian into images using Typst through the power of WASM!

Obsidian Typst Renders typst code blocks into images using Typst through the power of WASM! This is still very much in development, so suggestions/bug

Jack 18 Apr 1, 2023
Transform Obsidian Vault's notes into web pages

Transform Obsidian Vault's notes into web pages. Converts your markdown notes, created in Obsidian, into fully functional site, ready for deployment.

Erle Carrara 52 Sep 6, 2023
convert markdown headers to graph

Rust Markdown to graph This program converts a Markdown file into a graph. For now, it creates .dot file which graphviz uses to build graph. It transl

null 3 Sep 26, 2021
convert koreader highlights and notes to markdown

convert koreader highlights and notes to markdown

Wesley Aptekar-Cassels 2 Jan 1, 2022
A blazingly fast & lightweight Obsidian CLI ⚡️

obs - the Obsidian CLI ⚡️ Connecting your second brain to the termainl - blazing fast ⚡️ Note ?? obs is under active development and currently only su

null 5 Mar 4, 2023
A Faster(⚡) formatter, linter, bundler, and more for JavaScript, TypeScript, JSON, HTML, Markdown, and CSS Lapce Plugin

Lapce Plugin for Rome Lapce-rome is a Lapce plugin for rome, The Rome is faster ⚡ , A formatter, linter, compiler, bundler, and more for JavaScript, T

xiaoxin 7 Dec 16, 2022
url parameter parser for rest filter inquiry

inquerest Inquerest can parse complex url query into a SQL abstract syntax tree. Example this url: /person?age=lt.42&(student=eq.true|gender=eq.'M')&

Jovansonlee Cesar 25 Nov 2, 2020
A very-very simple url shortener for Rust

urlshortener-rs A very simple urlshortener for Rust. This library aims to implement as much URL shortener services as possible and to provide an inter

Victor Polevoy 39 Nov 20, 2022
url cleaner

Clink Have you ever pasted a link in messenger and deleted all those fbclid, utm_source, and so on, GET params by hands? Clink does that for you. It s

Serhiy Barhamon 19 Dec 14, 2022
A mini paste bin and url shortener written in rust without databases.

pb Build $ cargo build --release Environment Variables PB_DATA: /some/path (Default: ./pb_data) PB_SITE: Url of your site. (Default: http://localhost:

Edward P 5 Jul 26, 2022
image url web-scrapper written in rust

imgs - CLI Webscrapper image url web-scrapper written in rust This is a cli application completely written in rust, it aim is to scrap image-url from

Michael Olayemi 1 Apr 2, 2022
A URL shortener that uses emojis, only emojis.

emojied Shorten your URLs with emojis! Features Well, shorten your URLs! Customize what emoji to use. e.g Want to use an eggplant emoji? Sure, as long

SEKUN 99 Dec 31, 2022
Small crate to work with URL in miniquad/macroquad.

quad-url This is the crate to work with URL and open links in miniquad/macroquad environment. Web demo. Usage Add this to your Cargo.toml dependencies

ilya sheprut 3 Jun 11, 2022