Read It Never

approved

by Jakob He

Forked from DominikPieper/obsidian-ReadItLater

Save online content to your Vault, utilize embedded template engine and organize your reading list to your needs. Preserve the web with Read It Never. - This plugin has not been manually reviewed by Obsidian staff.

1 stars157 downloadsUpdated 26d agoMIT

Read It Never Plugin for Obsidian

A rebranded fork of ReadItLater by Dominik Pieper.

Table of contents

Introduction

Save the web with Read It Never plugin for Obsidian. Archive web pages for reading later, referencing in your second brain or for other flexible use case Obsidian provides.

Read It Never can do a lot more than converting web pages to markdown. For every content type there is specific template with carefully selected variables to ease up your archiving process.

What makes Read It Never plugin great?

  • Simple, but powerful template engine
  • Carefully selected predefined template variables to straightforward archiving process
  • Compatibility with Obsidian iOS and Android apps
  • Downloading images from articles to your Vault
  • Batch processing of URLs list

Installation

This plugin is distributed outside the Obsidian community store.

Via BRAT (recommended): add the beta plugin leweii/read-it-never.

Manual: download main.js, manifest.json, and styles.css from the latest release into <vault>/.obsidian/plugins/read-it-never/, then enable Read It Never in Settings → Community plugins.

How to use Read It Never plugin?

To create single note you can either click on the plugin ribbon icon, select Read It Never: Create from clipboard from command palette or click on Read It Never shortcut in context or share menu. You can also create multiple notes from batch of URLs, delimited by selected delimiter in plugin settings using Read It Never: Create from batch in clipboard command.

If you want just add content to existing note, you can use Read It Never: Insert at the cursor position command to insert content after the current cursor position.

Template engine

Read It Never provides for every content type dedicated template that can be edited in plugin settings.

Variables

Variables are rendered in template using familiar syntax {{ content }}. Nested data types can be accessed using dot notation {{ author.name }}.

Filters

Variables output can be modified using filters. Filters are separated by | symbol. Filters can be chained, so output of the previous is passed to the next.

blockquote

Adds quote prefix to each line of value.

capitalize

Modifies first character to uppercase and others to lowercase.

{{ 'hello world'|capitalize}}

outputs: Hello world
numberLexify

Converts number to lexified format.

{{ 12682|numberLexify}}

outputs: 12.6K
lower

Converts value to lowercase.

{{ 'Hello World'|lower}}

outputs: hello world
replace

Replaces all occurrences in input value.

{{ 'Hello world'|replace('o') }}

outputs: Hell wrld
upper

Converts value to uppercase.

{{ 'Hello World'|upper}}

outputs: HELLO WORLD

Inbox and Assets directories

You can use template variables in Inbox dir and Assets dir settings to better distribute content in your Vault.

Directory template variableDescription
dateCurrent date in format from plguin settins
fileNameFilename of new note
contentTypeSlug of detected content type from plugin settings

Content Types

Structure of note content is determined by URL. Currenty plugin supports saving content of websites and embedding content from multiple services. Each content type has title and note template with replacable variables, which can be edited in plugin settings.

Available content types are ordered by URL detection priority.

Website Article

Will be parsed to readable form using Mozilla Readability and then converted to markdown. In case website content is marked by Readbility as not readable, empty note with URL will be created.

If enabled, images will be downloaded to folder (default is Read It Never Inbox/assets) configured in plugin settings. (Supported only on desktop for now)

Title template variableDescription
titleArticle title from <title> HTML tag
dateCurrent date in format from plugin settings
Content template variableDescription
articleTitleArticle title from <title> HTML tag
articleURLArticle URL
articleReadingTimeEstimated reading time in minutes by Readbility.js
articleContentArticle content
dateCurrent date in format from plugin settings
previewURLAritlce preview image URL parsed from OpenGraph or Twitter image <meta> property
publishedTimeArticle publish time parsed from OpenGraph <meta> property or Schema.org JSON and formatted in content format from plugin settings

Youtube

Title template variableDescription
titleVideo title
dateCurrent date in format from plugin settings
Content template variableDescription
videoTitleVideo title
dateCurrent date in format from plugin settings
videoDescriptionVideo description
videoURLVideo URL on Youtube.com
videoIdVideo ID
videoPlayerEmbeded player generated by plugin
channelIdChannel ID
channelNameChannel name
channelURLChannel URL on Youtube.com
videoThumbnailVideo thumbnail image URL
videoChaptersList of video chapters with linked timestamps
videoTranscriptVideo transcript (closed captions), one timestamped line per caption
videoPublishDateVideo plublish date formatted in content format from plugin settings
videoViewsCountVideo views count
Chapter template variableDescription
chapterTitleChapter title
chapterTimestampChapter start time in mm:ss
chapterSecondsChapter start time in seconds
chapterUrlUrl to chapter start
Transcript line template variableDescription
transcriptTextCaption text for the line
transcriptTimestampLine start time in mm:ss
transcriptSecondsLine start time in seconds
transcriptUrlUrl to the video at the line's start

Parsing of HTML DOM has its limitations thus additional data can be fetched only from Google API. Retrieved API key can be set in plugin settings and then plugin will use the Google API for fetching data.

Content template variableDescription
videoDurationVideo duration in seconds
videoDurationFormattedFormatted video duration (1h 25m 23s)
videoTagsFormatted list of tags delimited by space

Youtube Channel

Title template variableDescription
titleChannel title.
dateCurrent date in format from plugin settings.
Content template variableDescription
dateCurrent date in format from plugin settings.
channelIdChannel ID.
channelTitleChannel title.
channelDescriptionChannel description.
channelURLChannel URL on Youtube.com.
channelAvatarURL of channel's avatar (thumbnail) image.
channelBannerURL of channel's banner image.
channelSubscribersCountThe number of subscribers that the channel has.
channelVideosCountThe number of public videos uploaded to the channel.
channelVideosURLURL to channel's videos on Youtube.com
channelShortsURLURL to channel's shorts on Youtube.com

X.com (Twitter)

Parser use X Publish API to fetch data.

Title template variableDescription
tweetAuthorNamePost author name
dateCurrent date in format from plugin settings
Content template variableDescription
tweetAuthorNamePost author name
dateCurrent date in format from plugin settings
tweetURLPost URL on X.com
tweetContentPost content
tweetPublishDatePost publish date formatted in content format from plugin settings

Bilibili

Title template variableDescription
titleVideo title
dateCurrent date in format from plugin settings
Content template variableDescription
videoTitleVideo title
dateCurrent date in format from plugin settings
videoURLVideo URL on Bilibili.com
videoIdVideo ID (BV id)
videoPlayerEmbeded player generated by plugin
videoDescriptionVideo description
videoThumbnailVideo cover image URL
channelNameUploader (UP主) name
channelURLUploader space URL on Bilibili.com
videoPublishDateVideo publish date formatted in content format from settings
videoViewsCountVideo views count
videoDurationVideo duration in seconds
videoDurationFormattedFormatted video duration (1h 25m 23s)
videoPartsCountNumber of parts (分P) in the video
videoPartsMarkdown list of parts (分P), empty for single-part videos

Metadata is fetched from Bilibili's public x/web-interface/view API (no login required).

Text Snippet

If your clipboard content is not recognized by any of above parsers plugin will create note with unformatted clipboard content.

Title template variableDescription
dateCurrent date in format from plugin settings
Content template variableDescription
contentClipboard content
dateCurrent date in format from plugin settings

API

To invoke functionality from other plugins we provide an API. You can access it via this.app.plugins.plugins['read-it-never'].api which is an instance of ReadItNeverApi class defined in src/ReadItNeverApi.ts.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.