frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Draft2final – CLI converts Markdown into manuscript and screenplay PDFs

https://www.draft2final.app/
1•cosmiciron•1h ago
I got tired of the last-mile problem in writing: I write in Markdown, but submitting a novel manuscript or screenplay means either wrestling with Word/InDesign, installing a multi-GB LaTeX stack, or accepting output that looks like a printed webpage — and gets rejected.

So I built a small CLI that knows what specific publication formats are supposed to look like and just renders them correctly.

  draft2final story.md --as manuscript
  draft2final script.md --as screenplay
The manuscript format handles the actual spec: Courier/TNR at 12pt, 1-inch margins, running headers with word count, ~250 words/page, proper title page, widow/orphan control. The screenplay format handles scene headings, action blocks, character cues, parentheticals, MORE/CONT'D, and dual-dialogue — using blockquote syntax so the source file stays clean Markdown.

Some implementation details that might interest people here:

The binary is 4MB. I wanted it installable in one command with no system dependencies — no LaTeX, no Pandoc, no headless Chrome. The font situation was the hardest part: proper manuscript formatting needs specific fonts, and some formats need CJK support, which means potentially large font files. I solved this with JIT font downloading — the CLI ships tiny and only pulls what it needs at render time.

A 30-page document renders in under 0.5s.

It handles right-to-left scripts and mixed Arabic/Latin/CJK text, which most converters either break or require manual configuration for.

It's open source. Each format is a self-contained TypeScript module, so adding new input or output formats is relatively straightforward — I'd like to eventually support APA, Chicago, and stage play formats, and contributions are welcome. That said, I'd especially like feedback from anyone who knows the manuscript or screenplay specs well — I'm sure there are edge cases I haven't hit yet.

Docs + syntax guide: https://draft2final.app/guide

npm install -g draft2final

Ask HN: How do People teams at your company plan offsites?

1•vipulb23•1m ago•0 comments

100% Free and Fast AI Summarizer Online

https://yishield.org/
2•polayan•5m ago•1 comments

Investing in Infrastructure: Meta's Renewed Commitment to Jemalloc

https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renew...
1•tamnd•6m ago•0 comments

Show HN: AI matchmaking from open ended dating profiles

https://sentiamor.com
1•FrenchDevRemote•6m ago•1 comments

Decode Anonymous Chatting Site

https://decodemessenger.lovable.app
1•genx__•7m ago•0 comments

'The cover-up is brazen': one journalist's fight to expose Ghislaine Maxwell

https://www.theguardian.com/us-news/2026/mar/09/lucia-osborne-crowley-tenacious-traumatic-fight-e...
1•Geekette•7m ago•0 comments

The Alert Reader (2013)

https://www.loper-os.org/?p=1361
1•tosh•9m ago•0 comments

OpenTelemetry for Rust Developers

https://signoz.io/blog/opentelemetry-rust/
2•dhruv_ahuja•10m ago•0 comments

Bloat in software: The dark side ofnthe Force

2•abmmgb•11m ago•0 comments

Open-Sourced IaC wrapper that automatically tags Git_sha, Git_repo, Git_branch

https://github.com/trupositive-ai/trupositive
1•simmestd•15m ago•1 comments

FreeBSD 14.4-Release Release Notes

https://www.freebsd.org/releases/14.4R/relnotes/
2•vermaden•15m ago•0 comments

Ask HN: Since a week HN keeps logging me off every few days, why?

3•epolanski•17m ago•0 comments

Yann LeCun's AI startup raises $1B in Europe's largest ever seed round

https://www.ft.com/content/e5245ec3-1a58-4eff-ab58-480b6259aaf1
14•ottomengis•18m ago•4 comments

On Thinking Machines

https://www.sicpers.info/2026/03/on-thinking-machines/
1•ingve•22m ago•0 comments

FreeBSD 14.4-Release Announcement

https://www.freebsd.org/releases/14.4R/announce/
2•vermaden•23m ago•0 comments

Pi Is Vim for Agentic Coding

https://www.hansschnedlitz.com/writing/2026/03/08/pi-is-vim-for-agentic-coding
1•pretext•23m ago•0 comments

DigiKam 9.0.0 Is Released

https://www.digikam.org/news/2026-03-08-9.0.0_release_announcement/
2•santix•23m ago•0 comments

Why is email so resilient as a technology?

2•noemit•23m ago•1 comments

OpenClaw Did Not Just Go Viral in China, It Solved a Structural Problem

https://hellochinatech.com/p/openclaw-china-ai-stack
7•pretext•23m ago•2 comments

Apple Now Makes One in Four iPhones in India

https://www.macrumors.com/2026/03/10/apple-makes-one-four-iphones-india/
2•tosh•25m ago•0 comments

Visualizing Ukkonen's Suffix Tree Algorithm

https://www.abahgat.com/blog/visualizing-ukkonens-algorithm/
1•gsky•25m ago•0 comments

Google Trends: "how to install Linux" is going viral

https://old.reddit.com/r/BuyFromEU/comments/1rpqx08/google_trends_how_to_install_linux_is_going_v...
4•doener•26m ago•1 comments

Deriving Type Erasure

https://david.alvarezrosa.com/posts/deriving-type-erasure/
2•dalvrosa•27m ago•1 comments

I Open-Sourced the Biological Operating System (Destroys AlphaFold) OS Always

https://github.com/ctibedoJ/KateFarms/blob/0b63882e9df3c81447db19040c4a80420b20acbf/V7.1
1•GeometryKernel•28m ago•2 comments

FreeNeta – Lightweight PROFINET discovery tool written in Python

https://github.com/ArnoVanbrussel/freeneta
1•avbxl•28m ago•1 comments

ProPublica Wins Lawsuit over Access to Court Records in U.S. Navy Cases

https://www.propublica.org/article/navy-court-records-ruling-first-amendment
1•giuliomagnifico•29m ago•0 comments

I'd had several careers but no degree – then I became a palaeontologist at 62

https://www.theguardian.com/lifeandstyle/2026/mar/09/a-new-start-after-60-career-palaeontologist
4•mellosouls•29m ago•0 comments

For 25 years, medical literature published invented clinical cases

https://peakd.com/hive-196387/@davideownzall/for-25-years-medical-literature-published-invented-c...
1•robtherobber•32m ago•2 comments

Iran war shows Green Deal 'fundamental' to EU security

https://www.politico.eu/article/eu-green-deal-energy-security-iran-war/
5•vrganj•38m ago•0 comments

PEP 827 – Type Manipulation

https://peps.python.org/pep-0827/
3•arusahni•39m ago•0 comments