frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Redenta – In-browser redaction that deletes text, not just covers it

2•Deskwright•3h ago
https://redenta.app

Redenta is a set of document tools that run entirely in the browser — redaction, metadata stripping, and format conversion. Nothing is uploaded, there's no account, and the tools are free.

The redaction is the part I actually care about.

Most tools that "redact" a PDF draw a black rectangle over the text. The text is still in the file. Copy-paste it, or open the file in a byte inspector, and it's right there. This has repeatedly burned courts, police forces and newspapers, and it keeps happening because the output looks correct.

Redenta renders each page to a canvas, paints the redaction boxes into the pixels, and rebuilds the PDF as image-only. There is no text layer left to recover. As a backstop, the output is inspected before it's handed to you and the export is refused if any font object survived the rebuild — if the guard trips you get an error instead of a file that looks fine.

You don't have to take my word for it. Redact something, download it, and search the result — in a viewer, with pdftotext, or by inflating the streams and grepping. One gotcha if you try the byte-level route: pdf-lib writes show-text operands as hex, so a naive latin1 search finds nothing even in an un-redacted PDF. Decode the hex or the test is vacuous. That caught me out while writing the tests.

It also works with the network off. That's the one claim that's trivial to check, so check it.

What it does not do, plainly. Auto-detection finds structured data — account numbers, cards, emails, IBANs, sort codes, postcodes, SSNs, IP addresses, API keys — plus names that carry a title or label ("Mr ...", "Account Name: ..."). It does not find unlabelled names in free text, and it does not find street addresses. You add those yourself by typing a word or drawing a box. The UI says so and asks you to review every page, because a redaction tool that quietly misses things is worse than no tool.

The output is a flattened image, so the redacted PDF is no longer text-searchable. That's the trade-off for the content actually being gone, and it's the right way round for this job.

One bug worth describing, because it nearly shipped. I originally supported redacting Word/Excel/Markdown by rendering them to HTML and rasterising with html2canvas. html2canvas paints text a few pixels lower than the DOM lays it out, so boxes derived from DOM ranges sat slightly high and the bottom sliver of every redacted glyph survived in the output — enough to read digits. The PDF path is immune because pdf.js supplies both the raster and the text positions, so the two agree by construction. Those formats are disabled until the box geometry comes from the same renderer that draws the text. The general lesson: if your mask geometry and your pixels come from two different renderers, you have a leak and it will look fine.

Stack is TypeScript, Next.js, pdf-lib and pdfjs-dist. The conversion engine is a pure, framework-free package with no DOM access; the browser-only parts are adapters at the edge. Tesseract and its language data are vendored rather than fetched, so the CSP allows no external connections at all.

I'd particularly like people to try to break the redaction and tell me if anything survives. That's the whole product.

Laptop Is the New Production Environment

https://www.docker.com/blog/your-laptop-is-the-new-production-environment/
1•andrewstetsenko•41s ago•0 comments

If you want to fight AI, build a Civboot

https://civboot.github.io/blog/2026-07-21-fighting-ai.html
1•vitiral•1m ago•0 comments

Show HN: Mozilla killed Orbit, so I built a local-LLM extension

https://github.com/darshi1337/apogee
1•darshi7331•1m ago•0 comments

How AI may drive union-resistant tech workers to the bargaining table

https://www.theguardian.com/technology/2026/jul/21/ai-tech-workers-unionize
1•chobeat•2m ago•0 comments

Diagnosing Wheel Imbalance with a GoPro and FFmpeg

https://joshfrye.com/blog/2026/07/diagnosing-wheel-imbalance-with-ffmpeg/
1•wutwutwat•3m ago•0 comments

Nvidia Cosmos 3 Edge

https://huggingface.co/blog/nvidia/cosmos3edge
1•martythemaniak•4m ago•0 comments

Light Flip

https://www.thelightphone.com/lightflip
3•bookstore-romeo•4m ago•0 comments

NPM's release cooldown is security theater

https://blog.outv.im/2026/npm-cooldown-security-theater/
1•outloudvi•5m ago•0 comments

How to build agent infrastructure yourself

https://browserbase.run/build-buy
1•harsehaj•5m ago•0 comments

Show HN: Basecheck agent – Local database checks with HTTP/syslog output

1•nnurmanov•6m ago•0 comments

Gemini 3.6 Flash (High) Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/gemini-3-6-flash
1•theanonymousone•7m ago•0 comments

How New Technology Changes Business Models

https://thomasvilhena.com/2026/07/how-new-technology-changes-business-models
1•tcgv•7m ago•0 comments

Long Presumed Dead, a Thriving Coral Reef Is Discovered in West Africa

https://e360.yale.edu/digest/benin-coral-reef
2•speckx•9m ago•0 comments

Garmin Smart Band

https://www.garmin.com/en-US/p/1989182/
1•dzonga•11m ago•0 comments

What I learned building an AI book publisher

https://edwardbenson.com/2026/07/ai-book-publishing-lessons
1•eob•11m ago•0 comments

Long time no sea: finding the seahorse emoji

https://blog.gingerbeardman.com/2026/07/17/long-time-no-sea-finding-the-seahorse-emoji/
1•surprisetalk•11m ago•0 comments

USBridge Remote – Open-source hybrid software/hardware remote access

https://github.com/USBridge-Technologies/USBridge-Remote
1•Amir_Fatkulin•14m ago•0 comments

Hardware Needs a Full-Stack AI Development Environment

https://opuslabs.substack.com/p/hardware-needs-its-vibe-coding-moment
1•opuslabs•14m ago•0 comments

Why the Iran war hasn't caused a global oil crisis – yet

https://grist.org/energy/why-the-iran-war-hasnt-caused-a-global-oil-crisis-yet/
1•speckx•14m ago•0 comments

Show HN: Lucen a Python compiler that parallelizes for-loops via comment pragmas

https://github.com/fcmv/lucen
1•soumik15630m•15m ago•0 comments

TT-Ascalon ‎S

https://tenstorrent.com/en/ip/risc-v-cpu
1•ai2027•15m ago•0 comments

Ask HN: Claude Blind Test Results: Bug or Feature?

1•Leewen•17m ago•0 comments

We cut Flink OOMKills by 91.2%: Zombie block cache and phantom CPUs

https://developer.confluent.io/blog/flink-oomkills/
2•rmoff•17m ago•0 comments

You're not failing at product transformation. You're playing the wrong game

https://www.leadinginproduct.com/p/product-transformation-from-the-inside
1•benkan•17m ago•0 comments

Show HN: Explore 251 Bevy crates as an interactive constellation

https://crates.rugaex.com/
1•david_rugaex•17m ago•0 comments

3-5 cups of coffee is associated with lower risk of cardiovascular disease

https://www.sciencealert.com/new-review-from-american-heart-association-reveals-the-optimal-daily...
1•smurda•18m ago•1 comments

The energy crisis is accelerating low-carbon transition in emerging economies

https://economic-research.bnpparibas.com/html/en-US/energy-crisis-accelerating-carbon-transition-...
1•toomuchtodo•18m ago•0 comments

Committing to Git: Rebuilding ReadMe on Git

https://readme.com/blog/committing-to-git
6•gkoberger•19m ago•1 comments

Apple Fixes Hide My Email Vulnerability After 404 Media Coverage

https://www.404media.co/apple-fixes-hide-my-email-vulnerability-after-404-media-coverage/
1•arto•19m ago•0 comments

VeryDRM Content Security Platform Protects PDF with DRM

https://verydrm.com/
1•verdrm•20m ago•0 comments