frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Folio Java PDF library – signatures, redaction, HTML to PDF. Apache 2.0

https://github.com/carlos7ags/folio-java
1•carlos7ags•1h ago
iText is AGPL, use it in a closed-source app and you need a commercial license. I wanted a Java PDF library with a clean API and no licensing strings attached, so that's what Folio is.

The engine is written in Go and ships bundled in the JAR via Panama FFI (JEP 454). No JNI, no separate process. JDK 22+, one flag: --enable-native-access=ALL-UNNAMED.

  Document.create("report.pdf", doc -> {
      doc.add(Heading.of("Q3 Report", HeadingLevel.H1));
      doc.add(Paragraph.of("Revenue grew 23% year over year."));
      doc.add(Table.of(
          new String[]{"Product", "Revenue"},
          new String[]{"Widget A", "$48,000"}
      ));
  });
HTML to PDF is a one-liner:

  HtmlConverter.toPdf("<h1>Invoice</h1><p>Due: $1,200</p>", "invoice.pdf");
Beyond that it covers PAdES signatures, PDF redaction, Flexbox and Grid layout, forms, barcodes, SVG, PDF/A, and encryption. Zero runtime dependencies.

https://github.com/carlos7ags/folio-java

Go engine: https://github.com/carlos7ags/folio

Playground (runs the Go engine directly): https://playground.foliopdf.dev

I Hired a Robot and Made Him Journal

https://www.wysr.xyz/p/i-hired-a-robot-and-made-him-journal
1•martialg•1m ago•0 comments

Show HN: AI Brief – daily AI news clustered by topic (aibrief.fyi)

https://aibrief.fyi/
1•vkr2020•1m ago•0 comments

Record-Breaking Drone Show [video]

https://www.youtube.com/watch?v=i1ho1-JBBmw
1•gnabgib•3m ago•0 comments

OpenAI Ad Settings

https://chatgpt.com/#settings/Advertising
1•BiraIgnacio•3m ago•0 comments

Israel got away with targeting healthcare in Gaza. Now doing it in Lebanon too

https://www.theguardian.com/commentisfree/2026/apr/08/lebanon-gaza-healthcare-targeting-israeli-a...
2•hebelehubele•3m ago•0 comments

AI, Unemployment and Work

https://marginalrevolution.com/marginalrevolution/2026/04/ai-unemployment-and-work.html
1•speckx•4m ago•0 comments

iCloud-Linux

https://github.com/IsmaeelAkram/icloud-linux
1•Cider9986•4m ago•0 comments

The Forest Service–A Force Across Rural America–"Reorganizes" Under Trump

https://www.newyorker.com/news/the-lede/the-forest-service-a-force-across-rural-america-reorganiz...
2•gdubs•5m ago•0 comments

Will Your Job Exist in Five Years: Are you coal, or are you a horse?

https://www.theatlantic.com/ideas/2026/03/ai-job-loss-jevons-paradox/686520/
1•zdw•6m ago•0 comments

Trump, the Pirate of Hormuz

https://www.gregpalast.com/trump-the-pirate-of-hormuz/
1•doctor_radium•6m ago•0 comments

Maple adds projects, shared context, and pins to private AI

https://blog.trymaple.ai/organize-maple-with-projects-and-pinned-chats/
1•markskram•6m ago•1 comments

An Interview with Pat Gelsinger

https://morethanmoore.substack.com/p/an-interview-with-pat-gelsinger-2026
1•zdw•8m ago•0 comments

Number Usage in Passwords: Take Two

https://isc.sans.edu/diary/32866
1•speckx•8m ago•0 comments

Explanation for why we don't see two-foot-long dragonflies anymore fails

https://arstechnica.com/science/2026/03/leading-explanation-for-ancient-giant-flying-insects-gets...
1•mhb•10m ago•0 comments

Microsoft teases a big Windows Terminal redesign and visual upgrade

https://www.neowin.net/news/microsoft-teases-a-big-windows-terminal-redesign-and-visual-upgrade/
1•Brajeshwar•11m ago•0 comments

Working with agents doesn't feel like flow

https://dehora.net/journal/2026/working-with-agents-doesnt-feel-like-flow
2•pavel_lishin•13m ago•0 comments

John Deere agrees $99M right-to-repair settlement

https://www.theregister.com/2026/04/09/john_deere_repair_settlement/
3•speckx•13m ago•0 comments

The golden rules of agent-first product engineering

https://newsletter.posthog.com/p/the-golden-rules-of-agent-first-product
3•vinhnx•15m ago•0 comments

All of the String Types

https://lambdalemon.gay/posts/string-types
1•vinhnx•15m ago•0 comments

Bash Owns the Loop

https://www.nibzard.com/wrappers/
1•vinhnx•16m ago•0 comments

Show HN: Control your X/Twitter feed using a small on-device LLM

https://imbue.com/product/bouncer/
9•kanjun•16m ago•0 comments

We cut Codex's input token cost by 49.5% with a compression gateway (benchmark)

https://www.edgee.ai/blog/posts/stop-paying-codex-to-re-read-context
4•kokakiwi•17m ago•1 comments

KYB Engine at 3 Quantization Levels: Accuracy Held. Cost Dropped 6x

https://walsenburgtech.com/blog/quantization-benchmark-kyb-verification
1•cowartc•17m ago•0 comments

Meshcore Pt II. Setting Up Repeaters

https://www.redwoodrewrite.com/meshcore-pt-ii-setting-up-repeaters/
1•achierius•18m ago•0 comments

Government approves UK's largest solar farm

https://www.bbc.com/news/articles/cd0r4mxevdvo
1•mooreds•18m ago•0 comments

EFF Is Leaving X

https://www.eff.org/deeplinks/2026/04/eff-leaving-x
28•gregsadetsky•19m ago•4 comments

Banning New Foreign Routers Mistargets Products to Fix Real Problem

https://www.eff.org/deeplinks/2026/04/banning-new-foreign-routers-mistargets-products-fix-real-pr...
1•hn_acker•20m ago•0 comments

How to Delete Yourself from the Internet – By an Attorney

https://thechicagolandlawyer.com/delete-me/
1•abdillalaw•20m ago•1 comments

Orban's Chances of Winning Hungary Election Drop After JD Vance Rally

https://www.newsweek.com/viktor-orban-hungary-election-jd-vance-rally-11804123
4•robtherobber•20m ago•0 comments

A hacker has allegedly breached one of China's supercomputers

https://www.cnn.com/2026/04/08/china/china-supercomputer-hackers-hnk-intl
3•JimsonYang•21m ago•0 comments