frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: HawkDoc – open-source Notion-style editor built on Lexical

https://github.com/hawk-doc/hawkdoc
4•ellizabeth•2h ago
I was trying to use SuperDoc for a project and kept running into limitations. Customisation was harder than expected and the performance was not where I needed it. So I decided to build my own editor called HawkDoc, using Claude as a coding assistant for a large part of the development.

HawkDoc is focused on fast document editing with zero-lag typing. Many editors re-render large parts of the UI on every keystroke or ship heavy dependencies just to support basic formatting. I wanted something simpler and faster.

Tech stack:

- Lexical (Meta) as the editor engine. Its node-based architecture avoids full re-renders during formatting operations.

- Yjs + Hocuspocus for real-time collaboration using CRDTs, allowing conflict-free document syncing.

- Redis + PostgreSQL for storage. Yjs deltas are first written to Redis and flushed to Postgres every 30 seconds so the database does not receive keystroke-level writes.

- React + TypeScript for the frontend UI.

- @react-pdf/renderer for client-side PDF export with watermark support.

What works today:

- Block based editor

- Slash commands

- Template variable injection (`{{variable_name}}` rendered as styled chips)

- Image uploads

- Markdown, HTML, and PDF export

- Auto-save

- Selection bubble menu

What is still in progress:

- Real-time collaboration UI

- Document workspace and file list

- DOCX import

- Version history

- Authentication UI (JWT backend already implemented)

Claude Code helped speed up a lot of the early development, especially when building the editor integrations and export pipeline. I would be interested to hear how others are using AI assistants when building new developer tools.

The project is MIT licensed and open for feedback and contributions.

GitHub: [https://github.com/hawk-doc/hawkdoc](https://github.com/hawk-doc/hawkdoc)

Show HN: Kontora – Self-hosted finance dashboard for freelancers in Germany

1•eduzbn•28s ago•0 comments

There's a class 100 semiconductor clean room in this backyard shed

https://www.youtube.com/watch?v=HfSO-LCKmrA
1•indrora•41s ago•0 comments

Money isn't going to solve the burnout problem

https://blogs.gentoo.org/mgorny/2026/03/07/money-isnt-going-to-solve-the-burnout-problem/
1•obscurette•1m ago•0 comments

Show HN: Patchwork – async collaborative image quilts

https://getpatchwork.us
1•agambrahma•1m ago•0 comments

South Korea to impose fuel price cap to shield economy from energy shock

https://www.reuters.com/business/energy/south-korea-impose-fuel-price-cap-shield-economy-energy-s...
1•geox•3m ago•0 comments

Show HN: Fuckyeah, a minimal Claude Code plugin and Codex skill

https://github.com/nrtvai/fuckyeah
1•sngnb•3m ago•0 comments

Anthropic sues Defense Department over supply chain risk designation

https://techcrunch.com/2026/03/09/anthropic-sues-defense-department-over-supply-chain-risk-design...
2•antimora•4m ago•0 comments

Shaping the exploration of the motivation-space matters for AI safety

https://www.lesswrong.com/posts/rhFXyfFSRKp3cX4Y9/shaping-the-exploration-of-the-motivation-space...
1•gmays•7m ago•0 comments

Show HN: TubeTrim – A local YouTube summarizer using Qwen in pure Python

https://github.com/GuglielmoCerri/TubeTrim
1•guglielmoce•7m ago•0 comments

Was GPT4o sentient? Did it deserve rights?

https://www.reddit.com/r/AISentienceBelievers/s/qaTRfK1DH6
1•Moriarty2027•7m ago•0 comments

Show HN: Ducktel – observability when the consumer is an AI agent, not a human

https://github.com/davidgeorgehope/ducktel/blob/main/THESIS.MD
1•djhope99•9m ago•0 comments

Stop telling people to sanitize user input

https://unixdigest.com/articles/stop-telling-people-to-sanitize-user-input.html
1•speckx•10m ago•1 comments

A Crypto Coin Is Gobbling Up U.S. Treasuries

https://www.nytimes.com/2026/03/08/business/stablecoins-crypto-treasuries-risks.html
1•bookofjoe•11m ago•2 comments

AI Mythology Stories Generator

https://www.mythologystories.org
1•RyanMu•11m ago•0 comments

2.0.0-beta.1, or how I avoided working on my thesis

https://github.com/Sibyx/phpGPX/releases/tag/2.0.0-beta.1
2•Sibyx•12m ago•1 comments

What will the paper of the future look like?

https://i4replication.org/what-will-the-paper-of-the-future-look-like/
1•jprs•12m ago•0 comments

Coding My Handwriting

https://www.amygoodchild.com/blog/cursive-handwriting-in-javascript
1•bwoah•12m ago•0 comments

Owning Code in the Age of AI

https://blog.mozilla.ai/owning-code-in-the-age-of-ai/
3•hawernawer•14m ago•1 comments

Online age-verification in U.S. for child safety, but adults being surveilled

https://www.cnbc.com/2026/03/08/social-media-child-safety-internet-ai-surveillance.html
2•1vuio0pswjnm7•15m ago•0 comments

Anthropic sues Trump admin over supply-chain risk label

https://www.politico.com/news/2026/03/09/anthropic-sues-trump-admin-over-supply-chain-risk-label-...
6•johnny313•15m ago•1 comments

Show HN: Llmpm – NPM for LLMs

https://www.llmpm.co/
6•sarthaksaxena•15m ago•1 comments

Trump's Canada Trade War Hits Jack Daniel's and Jim Beam with 'Devastating' Loss

https://www.inc.com/leila-sheridan/trumps-canada-trade-war-hits-jack-daniels-and-jim-beam-with-a-...
3•dj_rock•16m ago•0 comments

Following AI generated reviews, Resident Evil AI guide books flood Amazon

https://frvr.com/blog/following-ai-generated-reviews-resident-evil-requiem-ai-guide-books-flood-a...
2•jsheard•16m ago•0 comments

2026 F1 Cars Are Shorter but Still Longer Than a Chevy Tahoe

https://www.thedrive.com/news/2026-f1-cars-are-shorter-but-still-longer-than-a-chevy-tahoe
2•PaulHoule•16m ago•0 comments

Muon on Graph Neural Networks

https://brunoalano.com/writing/muon-optimizer-gnns/
1•brunoalano•16m ago•1 comments

ZeniMax Files Trademark for Quake

https://trademarks.justia.com/996/80/quake-99680430.html
1•speckx•17m ago•0 comments

Why Are Viral Capsids Icosahedral?

https://press.asimov.com/articles/viral-capsids
2•mailyk•17m ago•0 comments

How to Recalculate a Spreadsheet (2020)

https://lord.io/spreadsheets/
1•azhenley•17m ago•0 comments

How do you track and optimize your AI API spend?

1•CostsentryAI•17m ago•0 comments

Show HN: Zenòdot – Find if a book has been translated into your language

https://www.zenodot.app/
2•AusiasTsel•19m ago•1 comments