readability
notational-fzf-vim
Our great sponsors
readability | notational-fzf-vim | |
---|---|---|
51 | 13 | |
8,056 | 1,116 | |
7.4% | - | |
6.3 | 0.0 | |
3 days ago | over 1 year ago | |
JavaScript | Vim Script | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
readability
- Mozilla: Readability.js
-
CSS for readability
I'm working with the Mozilla's readability library https://github.com/mozilla/readability to get the "readable" text from articles and now I want to style the extracted text in a readable way.
-
Building a Serverless Reader View with Lambda and Chrome
Do you remember the Firefox Reader View? It's a feature that removes all unnecessary components like buttons, menus, images, and so on, from a website, focusing on the readable content of the page. The library powering this feature is called Readability.js, which is open source.
-
Webrecorder: Capture interactive websites and replay them at a later time
I wonder if Firefox "reader mode as a utility" might be a viable alternative for Pinboard like "content oriented" archiving?
https://github.com/mozilla/readability
-
Creating an advanced search engine with PostgreSQL
Depending upon the type of content, one might want to look into using the Readability (Browder's reader view) to parse the webpage. It will give you all the useful info without the junk. Then you can put it in the DB as needed.
https://github.com/mozilla/readability
Btw, readability, is also available in few other languages like Kotlin:
https://github.com/dankito/Readability4J
-
Seeking a tool or method to convert webpages into Q&A format using NLP
Use Mozilla's Readability to extract that sweet, sweet text content from webpages.
-
I built a free prompt managing tool - Knit
Same as above but the ability to grab the entire article text (you can use the Readability library for that: https://github.com/mozilla/readability)
-
I need automatic source URLs when I paste any text onto a card or note, like on OneNote.
// Original script // https://gist.github.com/kepano/90c05f162c37cf730abb8ff027987ca3 // Bookmarklet Converter // https://caiorss.github.io/bookmarklet-maker/ // Libraries // https://github.com/mixmark-io/turndown // https://github.com/mozilla/readability javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ default: Turndown }, { default: Readability }]) => { /* Optional vault name */ const vault = ""; /* Optional folder name such as "Clippings/" */ const folder = "Clippings/"; /* Optional tags */ const tags = ""; function getSelectionHtml() { var html = ""; if (typeof window.getSelection != "undefined") { var sel = window.getSelection(); if (sel.rangeCount) { var container = document.createElement("div"); for (var i = 0, len = sel.rangeCount; i < len; ++i) { container.appendChild(sel.getRangeAt(i).cloneContents()); } html = container.innerHTML; } } else if (typeof document.selection != "undefined") { if (document.selection.type == "Text") { html = document.selection.createRange().htmlText; } } return html; } const selection = getSelectionHtml(); const { title, byline, content } = new Readability(document.cloneNode(true)).parse(); function getFileName(fileName) { var userAgent = window.navigator.userAgent, platform = window.navigator.platform, windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE']; if (windowsPlatforms.indexOf(platform) !== -1) { fileName = fileName.replace(':', '').replace(/[/\\?%*|"<>]/g, '-'); } else { fileName = fileName.replace(':', '').replace(/\//g, '-').replace(/\\/g, '-'); } return fileName; } const fileName = getFileName(title); if (selection) { var markdownify = selection; } else { var markdownify = content; } if (vault) { var vaultName = '&vault=' + encodeURIComponent(`${vault}`); } else { var vaultName = ''; } const markdownBody = new Turndown({ headingStyle: 'atx', hr: '---', bulletListMarker: '-', codeBlockStyle: 'fenced', emDelimiter: '*', }).turndown(markdownify); var date = new Date(); function convertDate(date) { var yyyy = date.getFullYear().toString(); var mm = (date.getMonth()+1).toString(); var dd = date.getDate().toString(); var mmChars = mm.split(''); var ddChars = dd.split(''); return yyyy + '-' + (mmChars[1]?mm:"0"+mmChars[0]) + '-' + (ddChars[1]?dd:"0"+ddChars[0]); } const today = convertDate(date); // This is the output template // It is similar to an Obsidian core template // except to insert a value we use: ${value} instead of {{value}} const fileContent =`--- type: clipping date_added: ${today} aliases: [] tags: [${tags}] --- author:: ${byline.toString().split('\n')[0].trim()} source:: [${title}](${document.URL}) ${markdownBody} `; // This copies your text to the clipboard navigator.clipboard.writeText(fileContent); // This creates a new document in Obsidian containing your clipping // I commented it out as this isn't what you asked for /* document.location.href = "obsidian://new?" + "file=" + encodeURIComponent(folder + fileName) + "&content=" + encodeURIComponent(fileContent) + vaultName; */ })
- Any js packages to only scrape relevant content from a webpage?
-
RSS meets GPT-3
So first part of the task is to "extract the text from URL", and that is achieved by using descendant of https://github.com/mozilla/readability library which can extract text of any URL.
notational-fzf-vim
-
Looking for guidance on simplifying my note-taking setup into the terminal
notational-fzf-vim is similar to shell-velocity and also looks pretty good, but is now unmaintained and I do not have the knowledge to maintain it myself should something break. Has the same lack of automatic git syncing.
-
nvALT 2
For (neo)vim users, there's notational fzf [1], which also requires fzf to be installed [2]. For Emacs, there's Deft [3]. They all what to me are nvalt's core functionality which is fuzzy search into quick note creation/editing. They can also be used in conjunction with nvalt or other markdown based applications since all of them use plaintext. For Deft, you can also choose to create .org files.
[1] https://github.com/Alok/notational-fzf-vim
[2] https://github.com/junegunn/fzf
[3] https://jblevins.org/projects/deft/
-
Command line and local web note‑taking, bookmarking, archiving application
nb is very good and I've used it extensively for the last 2 years or so. I especially like that you can just throw it a url and it will create a bookmark as well as download a markdown version of the page (using pandoc to convert I think?) This is very useful, especially when links go stale
Also, if you install notational-fzf-vim (https://github.com/Alok/notational-fzf-vim) and point it at the nb folder, searching through notes becomes a breeze. Additionally, you can use vim-markdown-composer (https://github.com/euclio/vim-markdown-composer) as a previewer for markdown in vim.
-
Note-taking help. Zettelkasten method
Have you looked at https://github.com/renerocksai/telekasten.nvim or https://github.com/alok/notational-fzf-vim ?
-
After Obsidian and Logseq, I give Dendron a try
I use Notable on Linux and Noteless on Android, with Foldersync for automatically syncing. I tried Obsidian, and prefer Noteless' interface, where I can see all notes just reverse sorted by modification time. Both have a tag view.
In addition, there's the excellent vim plugin https://github.com/Alok/notational-fzf-vim that allows fuzzy search of notes in vim.
-
Is Vim(wiki) the best alternative to Wiki/Zettelkasten apps like Obsidian or Roam?
https://github.com/alok/notational-fzf-vim/issues/90 Weird issues but the plugin itself is simple and smart.
-
help wanted with error on seting up vimrc for plug notational fzf vim
Hi , pls help I am trying to get https://github.com/alok/notational-fzf-vim to work.
- Help - anyone using notational-fzf-vim plug -E492 : not an editor command : NV - error.
-
Best note taking setup?
I'm still in love with alok/notational-fzf-vim. It gives a notational-velocity like interface via fzf.
-
A Unix-style personal search engine and web crawler for your digital footprint
I use nb https://github.com/xwmx/nb for both bookmarks and notetaking. nb downloads a shallow copy of the link and stores it along with the bookmark.
All notes (and consequently bookmarks and their contents) are stored as plain-text markdown files - so there's no dependency on a proprietary format, and all the content becomes searchable.
If you're a vim-user, you can also get the notational-fzf-vim plugin (https://github.com/alok/notational-fzf-vim) and point it to the notes/bookmarks folder, and have full fuzzy search over all the content.
What are some alternatives?
parser - 📜 Extract meaningful content from the chaos of a web page
vimwiki - Personal Wiki for Vim
koreader - An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
alfred-search-notes-app - Use Alfred to quickly open notes in iCloud/Apple Notes.
hn-search - Hacker News Search
ctrlsf.vim - A text searching plugin mimics Ctrl-Shift-F on Sublime Text 2
readability.php - PHP port of Mozilla's Readability.js
vim-zettel - VimWiki addon for managing notes according to Zettelkasten method
rssguard - Feed reader (and podcast player) which supports RSS/ATOM/JSON and many web-based feed services.
kb-notes.nvim - Note-taking plugin builtt on to of nvim
SponsorBlock - Skip YouTube video sponsors (browser extension)
ripgrep-all - rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.