frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
576•klaussilveira•10h ago•166 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
887•xnx•16h ago•539 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
18•helloplanets•4d ago•9 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
89•matheusalmeida•1d ago•20 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
20•videotopia•3d ago•0 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
197•isitcontent•11h ago•24 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
198•dmpetrov•11h ago•90 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
307•vecti•13h ago•136 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
352•aktau•17h ago•174 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
350•ostacke•17h ago•90 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
451•todsacerdoti•18h ago•228 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
20•romes•4d ago•2 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
78•quibono•4d ago•16 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
52•kmm•4d ago•3 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
251•eljojo•13h ago•152 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
387•lstoll•17h ago•263 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
4•bikenaga•3d ago•1 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
230•i5heu•13h ago•174 comments

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

https://github.com/dmtrKovalenko/zlob
12•neogoose•3h ago•6 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
24•gmays•6h ago•5 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
116•SerCe•6h ago•93 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
67•phreda4•10h ago•12 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
135•vmatsiiako•15h ago•59 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
268•surprisetalk•3d ago•35 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
42•gfortaine•8h ago•13 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
168•limoce•3d ago•87 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1039•cdrnsf•20h ago•429 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
59•rescrv•18h ago•22 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
14•denuoweb•1d ago•2 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
88•antves•1d ago•63 comments
Open in hackernews

Show HN: I built a free alternative to Adobe Acrobat PDF viewer

https://github.com/embedpdf/embed-pdf-viewer
357•bobsingor•5mo ago
I built EmbedPDF: an MIT-licensed, open-source PDF viewer that aims to match all of Adobe Acrobat’s paid features… for free.

Already working:

- Annotations (highlight, sticky notes, free text, ink)

- True redaction (content actually removed)

- Search, text selection, zoom, rotation

- Runs fully in the browser, no server needed

- Drop-in SDK for React, Vue, Preact, vanilla JS

Why? Acrobat is heavy, closed, and pricey. I wanted something lightweight, hackable, and embeddable anywhere.

Demo: https://app.embedpdf.com/ Website: https://www.embedpdf.com/ GitHub: https://github.com/embedpdf/embed-pdf-viewer

Feedback, bug reports, and feature requests welcome!

Comments

billconan•5mo ago
Very nice! I once had a side project with a built-in PDF viewer. My first version used pdf.js, but when zooming in quickly, it felt sluggish and hard to keep the zoom focus in the right place.

So I built my own PDF viewer, this time using pdfium in C++ with Metal for rendering — here’s a quick demo: https://youtu.be/jJMhVn5yzEI

I implemented a tiling technique to balance memory usage and performance. I didn’t realize pdfium could be so performant in WebAssembly — and honestly, I actually prefer developing UI on the web compared to C++.

bobsingor•5mo ago
Honestly, yours looks even snappier than what I had, the way it’s handling zoom feels super fluid. Really impressive work! Makes me want to dig back in and see if I can match that speed.
billconan•5mo ago
Thank you! Smooth zooming was the main thing I focused on optimizing. I haven’t implemented text search yet, that’s a whole other rabbit hole, with challenges like stitching text objects together and handling text normalization.

My code runs natively, so users need to download a client and I have to code the rest of the ui in cpp, that’s the downside. I did consider a hybrid approach with Electron or Tauri, but dropped the idea to avoid IPC overhead and get the best possible performance.

dotancohen•5mo ago
But what it's worth, I as a user prefer native code with no Electron.
billconan•5mo ago
But it will be more difficult for me to support multiple platforms, do customizations on the ui etc.

For example, I don't even own a windows pc.

dotancohen•5mo ago
I don't own a Windows PC either.

From what I understand there are two good FOSS PDF applications for Windows. The platform that is in need of a good PDF application, where you'll acquire users, isn't Windows.

lucfranken•5mo ago
Seems to work great!

Little note: when you switch from redaction to view with the redaction tool (red lines) active it stays active in the view mode. Impossible to scroll because it still redacts.

Refresh fixes it.

bobsingor•5mo ago
Good catch, I’ll fix that. On mobile, it’s intentional that scrolling is disabled while in redaction mode so you can make precise selections, but if you switch back to the view tab it should definitely exit redaction mode. Thanks for spotting it!
lucfranken•5mo ago
Not sure if it matches your vision but I just took a look at the react example:

https://www.embedpdf.com/docs/react/getting-started

I would suggest that you start with a more simple example. like:

<EmbedPDF url={https://snippet.embedpdf.com/ebook.pdf}/>

It would just take one additional component in your NPM package which contains all the more "internal" stuff. Just put the advanced example you have now in one component.

The example with the engine etcetera looks more like an advanced example.

It gets a developer to a quick result in their own app. If they want to go further they can nothing changes there.

A sidenote: That same though might be something with your NPM import - just one would be a better dev experience to start while I understand why you offer them separately for more advanced.

bobsingor•5mo ago
This is really valuable feedback, thank you! I agree, having a simple, ready-to-use `<EmbedPDF>` component that includes all the plugins by default would make it much easier to get started. I’ll definitely add that alongside the more advanced example.
lysace•5mo ago
The repo appears to contain a copy of Foxit’s/Google’s pdfium along with a UI and lots of abstraction layers/examples for various JavaScript frameworks.

I’m not a JavaScript developer (perhaps there are cultural differences at play?), but in general I think it would be polite to credit the developers of the actual PDF engine.

davorak•5mo ago
The repo is marked with the pdfjs and pdfium topics so there is that.

Beyond that, powered by... and similar make sense if the library/engine allows or encourages the behavior.

bobsingor•5mo ago
Absolutely, and I agree, credit is important. I have a whole section in the docs about PDFium and its origins with Foxit/Google: https://www.embedpdf.com/docs/pdfium/introduction.
lysace•5mo ago
That’s neat.

I would also mention it in the README.md.

looperhacks•5mo ago
I tried a random PDF that includes an annotation, but the annotation didn't show up. I assume the annotations this supports are no real annotations?
bobsingor•5mo ago
We already support quite a few real PDF annotations: circle, square, polygon, polyline, highlight, underline, squiggly, strikeout,free text, stamps, and ink. Some types are still on our list, like links, form fields, sound annotations, file attachments, and 3D models. Do you happen to know what annotation type it is in your PDF? I’m curious.
JKCalhoun•5mo ago
In my experience links and form fields are the two above you encounter most often in the real world. The problem with forms though is that you potentially open up scripting, for better or worse. I mean you're already in Javascript, so you could handle it a lot easier than Preview on MacOS could, but it is of course worrisome that you'll be running code from an arbitrary PDF…

I wish I was still working at Apple and had my suite of nasty PDF's to test with. Some were just huge files (like a catalog for McMaster-Carr or wherever), another (a version of The Bible?) had an odd text layout across the columns on each page (for testing text selection), maybe one file was a huge single-page PDF street-map of a city (with lots and lots of rendering code and arbitrary text runs all across the map, etc.).

gurjeet•5mo ago
Gave it a quick try. Annotations didn't work at all in Fierfox, but all annotation types (underline, highlight, etc.) worked as expected in Chrome.
bobsingor•5mo ago
I haven’t had the chance to test annotations in Firefox yet, so thanks for pointing that out. I’ll check what’s going on there, good to know they’re working fine in Chrome.
grimgrin•5mo ago
If you haven't checked yet, you'll notice:

    Uncaught ReferenceError: TouchEvent is not defined
https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent#...
bobsingor•5mo ago
Yep, that’s exactly the issue! I’ve fixed it so it no longer throws the TouchEvent error in Firefox. Thanks for flagging it.
vrzucchini•5mo ago
Sounds like a mobile-vs-desktop issue, since the error mentions TouchEvent. The Firefox error fires even when just hovering the cursor over the PDF in View mode, and text is also not selectable.

While I'm here, a suggestion to add Undo/Redo; yes HN, I know I could make a PR..

bobsingor•5mo ago
Thanks for pointing that out! I’ve fixed the Firefox issue. And we actually already have Undo/Redo on the annotation toolbar.
trog•5mo ago
Redaction doesn't seem to work in Firefox either. Otherwise looks great!
bobsingor•5mo ago
Thanks! The redaction issue in Firefox should now be fixed.
trog•5mo ago
Would love some more info about how redaction works. We currently use Acrobat Pro for redaction mostly because of 'trust' issues, but I'd love to replace it with a web tool. I just need to convince our CFO that it's safe.
gorgoiler•5mo ago
MIT license is generous. Good for you, and thanks!
bobsingor•5mo ago
Thanks! I wanted to make it as easy as possible for people to use, tweak, and build on top of it, so MIT felt like the right choice.
layer8•5mo ago
The underlying PDFium is Apache 2.0 though, and it looks to me that the present project doesn’t currently comply with https://www.apache.org/licenses/LICENSE-2.0#redistribution for that dependency.
bobsingor•5mo ago
Good point, you’re right that PDFium is Apache 2.0. I’ve updated the project to comply with the redistribution requirements in this PR: https://github.com/embedpdf/embed-pdf-viewer/pull/80/files. Thanks for flagging it!
slig•5mo ago
Thank you for sharing and being so generous with the licensing. I know this might be way out of scope, but do you have any plans for a "flipbook" visualization?
bobsingor•5mo ago
Not on the roadmap yet, but I’d definitely be open to adding it if more people are interested.
NooZ•5mo ago
Very nice! Thanks for sharing. How long are you working on that ?
bobsingor•5mo ago
Thanks! I’ve been working on it for about 7 months now.
typpilol•5mo ago
The mobile site works well. Quite fast and snappy
bobsingor•5mo ago
Thanks! Glad to hear it’s running smoothly on mobile, the rendering on iOS in particular feels really fast.
lerp-io•5mo ago
the best solution is simply to not use PDF.
stronglikedan•5mo ago
Nitpick, but Viewer is free and always has been. You're building a free alternative to Acrobat.
wewewedxfgdf•5mo ago
I'm curious to know why you built this when the Mozilla PDF viewer exists:

https://github.com/mozilla/pdf.js

Not criticizing because there's lots of reason to build things that exist, just curious.

majkinetor•5mo ago
Cursory looks tells me that there are some different features, like annotation comments.
bobsingor•5mo ago
The main goal was to make a PDF viewer that is easy for developers to integrate into their websites with minimal setup, while PDF.js can be harder to customize and extend for certain use cases
wg0•5mo ago
Out of curiosity:

- Is it written from scratch? - Did you have prior experience with PDF format and rendering?

Stupid question: Do you feel LLMs can do that kind of work beyond typical SPAs with forms and CRUD?

vrzucchini•5mo ago
For app integration, the annotations, shapes, and comments are a game changer. Once you need real PDF markup tools, your options are either building them yourself or using a subscription-based PDF editor - neither comes cheap.

I know teams that integrated Apryse, and the costs just to support basic PDF editing are eye-watering.

bobsingor•5mo ago
Yes, those commercial PDF SDKs charge crazy prices! Time to change that.
mattigames•5mo ago
402 open issues, mother of God, it's a glimpse of the massive effort that is handling PDFs and all it's features.
mdaniel•5mo ago
This may be hairsplitting, but emphasis on the handling word in that sentence. I would bet it's not so much the feature gap it's that the specification is very, very YOLO. And when any number of byte sequences happened to render as a PDF[1], then such a situation leads to a very, very diverse set of inputs that coincidentally work on some systems leading to "works on my machine" type outcomes. When your project is in the business of rendering things which happen to work in ${other system} it leads to a lot of very angry users

1: it's like the million monkeys with a million typewriters decided to go work at Adobe and they really have heard great things about mixed text and binary file formats because they are outstanding RCE and stack smashing opportunities

zdragnar•5mo ago
On the one hand, a lot of those are feature requests, not necessarily bugs. They also have more users, so they catch more edge case bugs like "Hebrew is rendered backwards" and so on.

On the other hand, PDF.js has been around for more than a decade. As it is a core component of Firefox, and viewing PDFs is an important part of name business applications, you'd think they'd have not nearly so many issues.

I know PostScript and PDFs are a nightmare, but no small part of me feels like this is yet another case of Mozilla underfunding development.

dotancohen•5mo ago

  > they catch more edge case bugs like "Hebrew is rendered backwards" and so on.
I love when my core use case, show stopping bug is considered an edge case. ))

In any case, there are more native speakers of right-to-left languages then there are native English speakers.

extraduder_ire•5mo ago
I don't think there's an indication that this affects all RTL languages, just Hebrew word order in selections.
Projectiboga•5mo ago
I found this and dropped their table into a sheet to get a a total of just over 2.3 billion. Languages using right-to-left scripts https://share.google/lN5lmfjCoIW7ENvdZ
zdragnar•5mo ago
When you're not a Hebrew speaker and you don't interact with Hebrew script, and you're developing a PDF library by yourself, it's easy to not even realize that there is something about it that you've overlooked.

In any case, Hebrew is handled differently from other RTL languages, hence this bug report in PDF.js: https://github.com/mozilla/pdf.js/issues/20097

Almost certainly something a smaller team would have never caught, given that a team with a massive name behind them didn't.

Someone•5mo ago
I don’t see dotancohene say anything about how surprising it is that that bug exists. They only say something about the judgment of it being an edge case.
catoc•5mo ago
Specifically a right edge case
dotancohen•5mo ago
Nice!
datap121590•5mo ago
Go to your link on an iPad or iPhone and open their demo document. The tap Print Preview - it only appears to work on desktop devices.
input_sh•5mo ago
Why would you blame Mozilla for that instead of Safari? Works just fine on Android using both Chrome and Firefox.
timhigins•5mo ago
Looks great! Diving into the docs I especially liked the idea of a headless React library so I can design my own UI and add some extra components. How difficult would it be to automatically highlight or underline certain terms in the PDF and then render a custom component when I click or hover over the term?
bobsingor•5mo ago
Very easy, this already works! In the AnnotationLayer you can add your own `selectionMenu` and render any custom component there. If you want to dive deeper, join our Discord and shoot me a message. https://discord.gg/mHHABmmuVU
batmya•5mo ago
This is amazing. Unlike Acrobat Reader, this actually made me want to read a pdf. And the UI looks super professional.
bobsingor•5mo ago
That means a lot to me, thank you!
sqrj•5mo ago
Great project.

Would be wonderful to have PKCS#11 and PKCS#12.

bobsingor•5mo ago
Thanks! Signing is a high priority for us, and PKCS#11 and PKCS#12 support are definitely on our radar.
thyristan•5mo ago
Very cool. Having something to fill forms and sign them that works and isn't Acroread would be even more awesome than you project already is!
system7rocks•5mo ago
This is really great. The speed is great, and I've had issues with Mozilla PDF viewer recently. (Printing fails for some unknown reason.)

But I assumed it was also a standalone app? Could this be used as a standalone app in some fashion?

bobsingor•5mo ago
Thanks! For now we’re only building a web app, but depending on demand we’d love to build native apps for Android, iOS, and desktop OSs as well.
dotancohen•5mo ago
KOReader user here, very happy to try something new. I use annotations very heavily, on a KDE based Debian system, on a Samsung Ultra device with the S-Pen, and with a large E-ink tablet with an EMR stylus. I use many mixed LTR and RTL text. I work with code and with documentation and with scientific articles.

If you want a demanding user with diverse use cases to test on diverse devices, you are invited to contact me. My Gmail username is the same as my HN username.

ephimetheus•5mo ago
Is selecting text in the PDF supported? I can’t get that to work in iOS Safari.
JKCalhoun•5mo ago
Text selection broken on Mac OS Safari as well. Worked in Chrome on Mac OS.
Semaphor•5mo ago
We use pdf.js, a bunch of problems I encountered when testing and comparing (17 MB, 158 pages, many images, Windows):

* Links don’t work

* Bookmarks show up but don’t work either

* Text selection doesn’t work in FF

* Middle-clicking (to scroll) in Chrome triggers text selection

* Very slow rendering, when I scroll in pdf.js, everything looks fine. When I scroll in this, everything looks low quality and blurry for ~500-1000ms. Worse for jumping multiple pages at once, e.g. using "end", I get a white page instead of a low quality page.

* Up/Down, Page Up/Down, Home/End don’t work in FF (left/right does work)

sylware•5mo ago
Requiring a whatng cartel web engine? Then, nothing to be proud of, mate.

But that's a bravery to deal with the brain damaged PDF file format.

bobsingor•5mo ago
Haha fair, but PDFium's under Apache 2.0, so at least the “cartel” in this case is about as open-license as it gets.
sylware•5mo ago
Huh?

This is not related to the LICENSE, it is related to the technical dependency on a whatng cartel web engine (geeko/blink/webkit).

zastai0day•5mo ago
This looks really impressive! I'm curious about the monetization strategy - how do you plan to sustain development of such a feature-rich PDF viewer while keeping it free? Are you considering enterprise features, hosting services, or other revenue streams?
bobsingor•5mo ago
Yes, all of the above. The client-side PDF viewer will remain free and MIT-licensed, but I’ll be focusing on offering PDF hosting with enterprise features like analytics, access controls etc, those will be part of the paid offering.
fransje26•5mo ago
Unfortunately, the Demo doesn't seem to work with my combination of Linux + Firefox. I cannot get any of the annotation/redaction tools to work.

It seems to work with Chromium on the same machine.

bobsingor•5mo ago
Thanks for letting me know, that was related to a Firefox-specific issue I’ve just fixed. Annotations and redaction should now work in Linux + Firefox as well as Chromium.
karel-3d•5mo ago
Note that actual hard work here seems is done by PDFium, which is what Google bought from Foxit and then relicenced (and keep developing themselves), and which is now in Chrome.

(I don't take from your work btw, just that it's not a new PDF parser written from scratch or anything.)

wsc981•5mo ago
I think it's what many (also commercial) PDF viewers are based on.
ajot•5mo ago
Seems to work pretty well on Firefox for Android. Very impressive work!
bobsingor•5mo ago
Thanks! Glad to hear it’s working well on Firefox for Android.
teddyh•5mo ago
I’d much rather recommend <https://pdfreaders.org/>, so people can choose depending on their situation. Does this project belong there, too?
0xTJ•5mo ago
What are you recommending? That's a list of other open PDF readers, which mostly serve purposes very different from what the author here has done.
teddyh•5mo ago
By ”recommend”, I meant, “nice link to send to people who want a suitable PDF reader”. As the headline puts it, “a free alternative to Adobe Acrobat PDF viewer”.
bobsingor•5mo ago
Thanks for sharing! It looks like the pdfreaders campaign has actually ended and the site is no longer updated, so I’m not sure it’s still being maintained as a resource.
simonebrunozzi•5mo ago
If you want traction, I suggest you package a .dmg file for Mac users.
hulitu•5mo ago
> Show HN: I built a free alternative to Adobe Acrobat PDF viewer

It needs a web browser so no alternative to Adobe PDF viewer.

sureglymop•5mo ago
Does it support editing the embedded outline (annotations)?

Probably the number one missing feature of PDF editors/viewers. Miss it everytime someone sends me a PDF without outline.

bobsingor•5mo ago
It doesn’t support editing outlines yet, but it’s definitely possible and something I plan to look into. I don’t think it should be too hard to add.
sureglymop•5mo ago
Would be awesome! The only free PDF editor that works on linux to support that currently is PDF4QT. If you accept PRs I'd be happy to contribute too.
bobsingor•5mo ago
That’s great to hear, contributions are very welcome! If you’re interested in working on outline editing, feel free to open a discussion or draft PR and we can figure out the best way to integrate it.
yukukotani•5mo ago
Nice work! The composable design is really better than something like viewer mode or annotation mode