frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: ReflowPDF – browser PDF editor where tables reflow

https://demo.reflowpdf.com
2•exsol•6h ago
posted an early version of this here a while back when it was just a waitlist. it's fully live now, and i wanted to show the part that's actually hard.

reflowpdf edits pdfs in the browser. almost every other browser pdf tool edits by dropping absolutely positioned text boxes on top of the page. fine until you touch anything. delete a row and the rows under it just sit there, because there's no table, there's a stack of boxes at fixed coordinates.

i wanted editing a pdf to feel like editing a document. so under the hood it's real semantic html. tables are actual <table>/<tr>/<td>, so when you add rows the table can run off the page, break onto the next one and repeat the header. make a paragraph longer and the stuff below it moves down like you'd expect.

turns out the people this matters most for are translators (the same sentence is a different length in every language, so a fixed layout falls apart the second you edit) and people who got handed an accessibility requirement, eaa in europe or ada title ii in the us, and need tagged pdfs without remediating by hand in acrobat.

the renderer is what i actually spent two years on. php, written from scratch, no dependencies, around 3300 tests. it does flexbox, grid and most modern css. i couldn't find another php engine that does that (dompdf is basically css 2.1, and the chrome based tools print a page fine but don't give you reliable tagged output). exports pass verapdf for pdf/ua-1 and pdf/a-3a with zero failures on native and template exports. i won't say "certified accessible", that's a human call, but the machine checkable structure comes out clean.

one thing i'm happy with: the exported pdf carries its own source. the editable html sits inside the file as an encrypted attachment, embedded so the file stays pdf/a-3 valid. the pdf you download is the same file you reopen to edit, and the engine parses it back into the exact same layout, spacing and positions you had. no account needed, and i don't keep your files.

the tagged pdf/ua-1 export is in the free demo, so you can edit something, export it and check the tags yourself without paying. the pdf/a-3a archival export, the one with the source embedded for the round-trip, is on the paid tier. the file i'm attaching is a real export that passes both ua-1 and a-3a, so you can drop it into verapdf to check either one, and reopen it in the editor to see the round-trip come back: https://reflowpdf.com/files/reflow-field-report.pdf

that pdf is generated from this html, if you want to see what the engine actually emits: https://reflowpdf.com/files/reflow-field-report.html

importing an arbitrary third party pdf and turning it into this editable structure is a separate, ai assisted path. it's in beta and works well enough on simple documents, but it's not what the demo runs on, so i'm not leaning on it here. the demo and the round-trip are pure engine, no ai.

demo, no signup: https://demo.reflowpdf.com

i built a template just for this thread so the reflow is obvious. add or delete some rows and watch the table break across pages, the grid section under it reflows too: https://demo.reflowpdf.com/?template=custom-reflow-field-rep...

honestly i mostly want to put this in front of people who get what it took. parity between the editor and the final pdf means everything lines up at once, font metrics, nested elements, style inheritance, pagination, splitting a block across a page boundary. editor equals pdf, and it actually holds. stuff breaks sometimes, but because it's my own engine i can trace any glitch down to the coordinate and fix it fast. curious what people think.

Show HN: Nub – A Bun-like all-in-one toolkit for Node.js

https://github.com/nubjs/nub
188•colinmcd•9h ago•53 comments

Show HN: LookAway, a Mac break reminder that knows when not to interrupt

https://lookaway.com
45•_kush•10h ago•7 comments

Show HN: Wordit – Change One Letter, Keep the Chain Going

https://victorribeiro.com/wordit/
5•atum47•1d ago•2 comments

Show HN: Monolisa v3 – a typeface for developers and creatives

https://www.monolisa.dev/
152•bebraw•2d ago•51 comments

Show HN: peerd – AI agent harness that runs entirely in your browser

https://github.com/NotASithLord/peerd
54•NotASithLord•1d ago•18 comments

Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB

https://pure-effect.org
51•tie-in•3d ago•13 comments

Show HN: GDPRedirect – Become EU compliant in one line of code (satire)

https://gdpredirect.com
3•apwn•1h ago•0 comments

Show HN: An LLM agent that emits typed intent

https://github.com/gabert/ontocortex
2•gabert•2h ago•1 comments

Show HN: Dspyer – self-correcting, optimizable LLM steps for DSPy and LangGraph

https://github.com/theramkm/dspyer
2•ramkm•2h ago•0 comments

Show HN: An ASCII 3D Rendering Engine

https://glyphcss.com
200•apresmoi•4d ago•49 comments

Show HN: Lumli – Privacy-first image tools that run entirely in your browser

https://www.lumli.de
4•lumli•4h ago•0 comments

Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

https://tikz.dev/editor/
434•DominikPeters•1d ago•74 comments

Show HN: Lelu – gate OpenAI agent actions on confidence and prompt injection

https://github.com/Lelu-ai/lelu
5•abeni1990•5h ago•0 comments

Show HN: Graphical SQL Builder and Debugger

https://github.com/webofmarius/SQLJoiner
21•matei88•2d ago•6 comments

Show HN: FastUbu – An Ultrafast Video Archive

https://fastubu.com/
45•lukeigel•2d ago•6 comments

Show HN: DBOSify – Drop-in Temporal replacement built on Postgres

https://github.com/dbos-inc/dbosify-py
4•KraftyOne•6h ago•1 comments

Show HN: Follow the Thread – a calmer, typographic way to read Wikipedia

https://read.filteredctrl.com
2•khaki_pine•6h ago•0 comments

Show HN: Got sick of ads, so I made my own logic puzzle site

https://puzzlelair.com/
243•HaxleRose•2d ago•151 comments

Show HN: ReflowPDF – browser PDF editor where tables reflow

https://demo.reflowpdf.com
2•exsol•6h ago•0 comments

Show HN: The Cascade Graph – An interactive map of AI and energy constraints

https://atomprophet.io/tools/cascade/
26•antisyzygy•1d ago•12 comments

Show HN: Metaspec: The DpANS3R Common Lisp Spec in S-Expr and HTML Format

https://metaspec.dev/#
4•dlowe-net•7h ago•0 comments

Show HN: Neural Particle Automata

https://selforg-npa.github.io/
87•esychology•1d ago•19 comments

Show HN: Forte – Cloud infra to get startups to production faster

https://forteplatforms.com
6•mvand•7h ago•2 comments

Show HN: CleverCrow: give tokens to your favorite projects

https://clevercrow.io
65•zhubert•3d ago•79 comments

Show HN: RLM-based local debugger for AI agent traces

https://github.com/context-labs/halo
24•mikepollard_dev•1d ago•10 comments

Show HN: The most Y Combinator YC application: it applied itself

5•keepamovin•8h ago•2 comments

Show HN: eBook to audiobook narration with realistic AI voices

https://ebookaloud.com
6•flatline•8h ago•5 comments

Show HN: Treedocs: Documentation that automatically checks for staleness

https://dandylyons.github.io/treedocs/
50•DandyLyons•1d ago•18 comments

Show HN: Shumai – open-source Frame.io alternative for creative work

https://github.com/shumaiOne/shumai
58•Yiling-J•1d ago•4 comments

Show HN: Graft – one golden VM image for your Mac dev box and CI runners

https://github.com/arborist-sh/graft
4•phtowel•8h ago•0 comments