PDF.js
koreader
PDF.js | koreader | |
---|---|---|
85 | 391 | |
46,855 | 15,582 | |
1.3% | 2.5% | |
9.9 | 9.7 | |
3 days ago | 4 days ago | |
JavaScript | Lua | |
Apache License 2.0 | GNU Affero General Public License v3.0 |
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.
PDF.js
-
Show HN: You can now cut and paste from scanned documents in Firefox
Looks like you're on Mac: https://support.mozilla.org/en-US/kb/text-recognition
There's also a chance your scanner's OCR function was recently enabled by default. The feature is still sitting as "planned for the future" in their PDF library: https://github.com/mozilla/pdf.js/issues/15843
-
DEMO - Voice to PDF - Complete PDF documents with voice commands using the Claude 3 Opus API
readPdf: used for reading the dropped file and displaying it on the screen, it uses PDF.js to load the file, get all fields and display it on the browser.
-
Building W-9 Crafter
I first started building the app in the browser, using PDF.js and Download.js to take a PDF and edit it, and then download it to your computer.
-
Parsing PDFs in Node.js
pdf2json is a module that transforms PDF files from binary to JSON format, using pdf.js for its core functionality. It also incorporates support for interactive form elements, enhancing its utility in processing and interpreting PDF content.
-
Is it possible to port Edge's PDF Editor to other browsers or make your own custom one?
Why not PDF.js?
-
How to Write a Cold Email
I'd think opening a PDF in your browser would be at the same risk-level you associate with going to any random URL. On Firefox at least, I'm pretty sure the built-in PDF viewer is simply JS parsing and rendering the PDF anyway -- nothing with elevated permissions:
https://mozilla.github.io/pdf.js/
-
Firefox 119 unleashes PDF prowess and Sync sorcery
The PDF features are actually an extension, just one built in as Firefox's default pdf viewer.
It's called pdf.js https://github.com/mozilla/pdf.js/
You can actually use this pdf viewer in another browser like Chrome if you'd like, there's a demo URL on there.
-
PDF Chat with Node.js, OpenAI and ModelFusion
We use Mozilla's PDF.js via the pdfjs-dist NPM module to load pages from a PDF file. The loadPdfPages function reads the PDF file and extracts its content. It returns an array where each object contains the page number and the text of that page.
- Ask HN: Best toolkit to build custom pdf viewer?
-
Microsoft faces antitrust scrutiny from the EU over Teams, Office 365
The problem is that there simply wasn't a better option at the time.
Ogg Vorbis was a novelty at best, and it was the only decently widely adopted open source competitor for any of the items listed that was available at the time.
HTML5 was only just published when Chrome launched. So Flash was at that point the only option available to show a video in the browser (sure, downloading a RealPlayer file was always an option, but it was clunky, creators didn't like people being able to save stuff locally, and was also not open source). Chrome in fact arguably accelerated the process of getting web video open sourced: Google bought On2 in 2010 to get the rights to VP8 (the only decent H.264 competitor available at that point) so they could immediately open source it. The plan was in fact to remove H.264 from Chrome entirely once VP8/VP9 adoption ramped up[1], but that didn’t end up happening.
Flash was integrated into Chrome because people were going to use it anyway, and having Google distribute it at least let them both sandbox it and roll out automatic updates (a massive vector for malware at the time was ads pretending to be Flash updates, which worked because people were just that used to constant Flash security patches, most of which required a full reboot to apply; Chrome fixed both of those issues). Apple are the ones who ultimately dealt the death blow to Flash, and it was really just because Adobe could not optimize it for phone CPUs no matter what they tried (even the few Android releases of Flash that we got were practically unusable). That also further accelerated the adoption of open source HTML5 technologies.
PDF is an open source format, and has been since 2008. While I don't know if pressure from Google is what did it, that wouldn’t surprise me. Regardless, the Chrome PDF reader, PDFium, is open source[2] and Mozilla's equivalent project from 2011, PDF.js, is also open source.[3] Both of these projects replaced the distinctly closed source Adobe Reader plugin that was formerly mandatory for viewing PDFs in the browser.
Chrome is directly responsible for eliminating a lot of proprietary software from mainstream use and replacing it with high-quality open source tools. While they've caused problems in other areas of browser development that are worthy of criticism, Chrome's track record when it comes to open sourcing their tech has been very good.
[1]: https://blog.chromium.org/2011/01/html-video-codec-support-i...
[2]: https://github.com/chromium/pdfium
[3]: https://github.com/mozilla/pdf.js
koreader
-
Ask HN: ePub reader with sync for iOS/Android and Linux
KOReader - https://koreader.rocks
It can also be installed on Kindle, Kobo, Pocketbook.
-
Ask HN: Best Open E-Reader?
Kobos[1] and Pocketbooks[2] are a lot more open than Kindles. AFAIK you can transfer .epub files into both devices and these epubs are perfectly readable via the stock OS. If for some reason you find the stock proprietary OS lacking, you can install an open source one like KOreader [3] or Plato[4]
Of course you want a good way of organizing epubs pdfs mobi, and like has already been mentioned Calibre[5] is a great option.
[1]https://www.kobo.com/
[2]https://pocketbookstore.com/en-ca
[3]https://github.com/koreader/koreader
[4]https://github.com/baskerville/plato
[5]https://calibre-ebook.com/
-
KOReader Document Viewer for E Ink devices
[2]: https://github.com/koreader/koreader/wiki/Dictionary-support...
-
Majority of web apps could just run on a single server
Oh man I absolutely love the work that you guys do. I'm actually in the process of learning Ebook production using the 'Step by Step' guide on your website. I'm essentially learning it all from scratch as I have little to no programming/SWE experience (I learned a bit of Lua because of KOReader[1]) but the technical side of ebook production has always fascinated me enough to keep learning.
[1] https://github.com/koreader/koreader
-
Wear OS "Hybrid" design has two OSes, two CPUs, "100 hour" battery life
Ha! I feel similarly, if not as eloquently.
Installed https://github.com/koreader/koreader on mine + enabled SSH server.
-
E-books are fast becoming tools of corporate surveillance
I read that KOreader is unstable on the Libra 2[0], so I haven’t installed it yet even though I would like to. What has been your experience running it?
[0] https://github.com/koreader/koreader/issues/8414
-
First E-reader. I am thinking of buying Kobo Libra 2?
You can easily modify it (like adding KOReader).
-
Conversion from epub to kepub, and related Calibre use
I'm using Kobo Clara 2E (6" screen size), and it is unpleasant to read PDF and CBZ files (comic/manga) since Kobo only provides zoom and orientation mode. I installed KOReader on my Kobo. It has more setup to display those files way better. The views of PDF in KOReader and Comic in Koreader. I read Epub files in Koreader to maintain its original format.
-
Should I buy a kobo libra 2 or carla 2e for manga
I installed KOReader on my Kobo Clara 2E. KOReader is a document viewer to read PDFs and manga/comics. KOReader has more setup to display fixed-layout format in a way that is better than the native Kobo display (Kobo stock).
-
Calibre – New in Calibre 7.0
It doesn't try to solve the same use cases that Calibre does, but I built an open source (EPUB only) manager / reader / statistics tracker called AnthoLume [0]. It mostly stemmed from me reading in KOReader [1] on my Kindle, and not having the ability to sync the progress to my iPhone / iPad.
It's got metadata matching, support for multiple users, and statistics tracking which allows me to have a "Leaderboard" that shows how fast you read (words per minute). Fun competition between my wife and I (that I'm 100% losing). It's a Progressive Web App and utilizes a Service Worker to support 100% offline reading as well.
There's a demo server [2] (creds are "demo" for both user & pass).
[0] https://gitea.va.reichard.io/evan/AnthoLume
[1] http://koreader.rocks/
[2] https://antholume-demo.cloud.reichard.io/
What are some alternatives?
jsPDF - Client-side JavaScript PDF generation for everyone.
plato - Document reader
pdfmake - Client/server side PDF printing in pure JavaScript
Tachiyomi - Free and open source manga reader for Android. [Moved to: https://github.com/tachiyomiorg/tachiyomi]
PDFKit - A JavaScript PDF generation library for Node and the browser
Kavita - Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
Papa Parse - Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
koodo-reader - A modern ebook manager and reader with sync and backup capacities for Windows, macOS, Linux and Web
diff2html - Pretty diff to html javascript library (diff2html)
Calibre Web - :books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
pdf-lib - Create and modify PDF documents in any JavaScript environment
calibre - The official source code repository for the calibre ebook manager