refined-hacker-news
readability
refined-hacker-news | readability | |
---|---|---|
31 | 52 | |
789 | 8,100 | |
- | 3.7% | |
0.0 | 6.3 | |
7 months ago | 10 days ago | |
JavaScript | JavaScript | |
MIT License | 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.
refined-hacker-news
-
Ask HN: Are there any alternative front ends for HN?
You can checkout this repo and see if something is more appealing to you: https://github.com/cheeaun/awesome-hacker-news
I personally just use Stylus and have a custom css for making things a but more readable and user friendly.
There's also this extension that just refines a couple things: https://github.com/plibither8/refined-hacker-news
-
Show HN: Hacker News User Information on Hover
Speaking of checking people's profiles, on mouseover with Refined Hacker News [1] installed, I see you don't have a bio set up.
[1]: https://github.com/plibither8/refined-hacker-news
I also have HackerSmacker [2] and Momento for Hacker News [3] user tagging. I've only really used Hacker Smacker to make a note to self about propensity for great contributions, and probably installed Momento with expanding that intent in mind.
[2]: https://github.com/samuelclay/hackersmacker
[3]: https://chromewebstore.google.com/detail/momento-for-hacker-...
-
Why is text of sumissions in low-contrast grey on HN?
It seems that HN has a lot of anti-user features for the sake of it. Perhaps the rationale for graying out self posts is to make them not stand out (so that the post from OP doesn't get any undue advantage over the comments), but it's just an accessibility nightmare. It's as if people with poor eyesight were not welcome here.
I use Refined Hacker News https://github.com/plibither8/refined-hacker-news which alleviates some pain points, but unfortunately it doesn't fix this issue.
-
Sequoia Captials Puff piece on SBF just before FTX's collapse
Sequoia: Sam Bankman-Fried Has a Savior Complex–and Maybe You Should Too https://news.ycombinator.com/item?id=33527047 (November 8, 2022 — 18 points, 7 comments)
*
[0] https://github.com/plibither8/refined-hacker-news/blob/main/...
-
Ask HN: What userscripts/styles do you use for HN?
I find https://hw.leftium.com/ much more readable, but it's read-only (can't vote/comment/submit). And due to caching some recent comments are missing.
So for those rare occasions I use news.ycombinator.com. https://hw.leftium.com/ has links to the original HN page. Plus I have a bookmarklet that toggles between the two.
Refined Hacker News[1] makes the original HN site a little nicer to use.
[1]: https://github.com/plibither8/refined-hacker-news#readme
-
Server-Side Rendering Is a Thiel Truth (2020)
Not that this should be the answer, but there are a lot of HN browser plugins. Most have at least some level of theming and inline commenting. I'm currently a fan of Refined Hacker News (no affiliation) - https://github.com/plibither8/refined-hacker-news - but I'm sure there are others just as good out there.
-
API Update: Continued access to our API for moderators
Hacker news on y Combinator seems like an OK option, at least for those who are tech focused and prefer the old interface. There's the Refined Hacker News which, while not as good as Reddit Enhancement Suite, does make it a lot more bearable. But I don't think Hacker news will really appeal to the masses. There's no communities or subbreddits or any other grouping of users/posts.
-
Show HN: Hacker News user experience enhancement browser extension
Great extension. I use it heavily. The problem is that the developer seems to have given up on it.
You'll need this PR to use it without errors: https://github.com/plibither8/refined-hacker-news/pull/125
-
Ask HN: How do you get notified of reply comments on HN?
I just go to my profile -> comments page and take a few seconds to check my most recent comments.
I have this extension that highlights any new comments, which makes it a lot easier. https://github.com/plibither8/refined-hacker-news
-
Show HN: Bookmarklet to Highlight OP's Username
Note the Refined Hacker News browser extension does this automatically, and more: https://github.com/plibither8/refined-hacker-news
This bookmarklet might be a nice option on mobile. I prefer to view via my own HckrNews web app, which also highlights the OP: https://hw.leftium.com/#/item/35076225
readability
-
2markdown – Transform Websites into Markdown
Why not just use something like https://github.com/mozilla/readability
And not pay $0.01 per request?
There’s a node version too https://www.npmjs.com/package/@mozilla/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?
What are some alternatives?
chromium-vim - Vim bindings for Google Chrome.
parser - 📜 Extract meaningful content from the chaos of a web page
no-squid-game - Removes all news, videos, articles about Squid Game from your browser!
koreader - An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
enhanced-github - :rocket: Browser extension to display size of each file, download link and copy file contents directly to the clipboard
hn-search - Hacker News Search
google-unlocked - Google Unlocked browser extension uncensor google search results
readability.php - PHP port of Mozilla's Readability.js
sidebery - Firefox extension for managing tabs and bookmarks in sidebar.
rssguard - Feed reader (and podcast player) which supports RSS/ATOM/JSON and many web-based feed services.
darkreader - Dark Reader Chrome and Firefox extension
SponsorBlock - Skip YouTube video sponsors (browser extension)