frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Zero WYSIWYG – A lightweight, zero-dependency HTML editor

https://github.com/KaTXi/zero-wysiwyg
1•KaTXi•1h ago

Comments

KaTXi•1h ago
Hi HN! I built this WYSIWYG editor as an extraction from the admin of a gaming news site (todojuegos.com) I've maintained since the early 2000s. The main goal was to have a full-featured editor with zero npm dependencies, just a single JS + CSS file.

Key features: 35+ built-in features, 7 languages, dark/light themes, slash commands, Markdown import/export, table editing, emoji picker, code blocks... all at ~120KB with no external dependencies.

It uses contentEditable + document.execCommand (yes, I know it's "deprecated" but it works reliably across browsers).

Live demo: https://katxi.github.io/zero-wysiwyg/

xiaohanyu•1h ago
wow this looks super cool!

How long did it take to develop?

Have you considered the competitors like tiptap editor? Curious what is your opinion VS tiptap's pros/cons.

KaTXi•1h ago
Thanks! The project started because I needed to replace Xinha (https://xinha.webfactional.com/) in the admin panel of a gaming news site I've been running since the early 2000s. Xinha served me well for years, but it was no longer actively maintained and had accumulated a lot of legacy baggage. I wanted something lightweight that just worked without pulling in a framework or a tree of dependencies.

Development time: the core editor took a few weeks of focused work, but I've been iterating on features for a couple of months now (slash commands, markdown mode, table editing, etc.).

Regarding Tiptap: it's a great project and I have a lot of respect for it. They're solving a different problem though. Tiptap is built on top of ProseMirror, which gives you a proper document model, collaborative editing, and a very composable extension architecture. If you're building something like Notion or a collaborative SaaS editor, that's absolutely the right choice.

The trade-off is complexity and size. Tiptap pulls in ProseMirror and its own packages, easily 200KB+ of dependencies before you even add extensions. You need a bundler, a build step, and you install features one by one as separate packages.

Zero WYSIWYG comes from the opposite direction. It's a single JS file and a single CSS file, about 120KB total, zero dependencies. You drop a `<script>` tag in your page, call `init()`, and you immediately get it working.

It's really aimed at a different use case: traditional server-rendered sites (PHP, Django, Rails...) where you just need a reliable textarea replacement in your admin panel without introducing a build pipeline or a framework dependency. That's the world I come from, and that's the itch it scratches.

Categorization Is 'Baked' into the Brain

https://www.nature.com/articles/s41583-026-01036-2
1•XzetaU8•18s ago•0 comments

Did NFTs leave a lasting mark or was it purely speculative?

1•Heyhum•2m ago•0 comments

Show HN: I built a tool that automatically turns tickets into design doc and PRs

3•rajivprab•3m ago•0 comments

Paris Court Issued Site Blocking Orders Against ISPs, DNS Resolvers and VPNs

https://torrentfreak.com/paris-court-issued-simultaneous-site-blocking-orders-against-isps-dns-re...
1•speckx•4m ago•0 comments

Philippines Asks Facebook to Curb Fake News, Warns of Legal Move

https://www.bloomberg.com/news/articles/2026-04-12/philippines-asks-facebook-to-curb-fake-news-wa...
2•1vuio0pswjnm7•4m ago•0 comments

Unmasking the Creator of Bitcoin

https://www.nytimes.com/2026/04/09/podcasts/the-daily/satoshi-nakamoto-bitcoin-creator.html
2•brandonb•5m ago•0 comments

The Harness Tax: The dead weight in your coding agent

https://twitter.com/siddhxrth10/status/2043703343453987133
1•siddhxrth•5m ago•0 comments

How Healthy Are Oats?

https://www.nytimes.com/2026/04/13/well/eat/oats-health-benefits-recipes.html
2•brandonb•5m ago•0 comments

The Graveyard of Unabsorbed Knowledge

https://verificationbottleneck.substack.com/p/the-graveyard-of-unabsorbed-knowledge
1•Giwwi•5m ago•1 comments

We May Be Living Through the Most Consequential Hundred Days in Cyber History

https://ringmast4r.substack.com/p/we-may-be-living-through-the-most
6•laurex•9m ago•0 comments

Show HN: I built a sandboxed agent that writes JSON rules to avoid repeat errors

1•grimm8000•10m ago•1 comments

Live Streaming from Space: Infrastructure Challenges Behind Video Beyond Earth

https://www.red5.net/blog/live-streaming-from-space-infrastructure-challenges/
1•mondainx•11m ago•0 comments

An Oligarchy of Old People

https://www.theatlantic.com/magazine/2026/05/gerontocracy-wealth-power/686585/
2•paulpauper•11m ago•0 comments

In Praise of 'Difficult' Kids

https://www.theatlantic.com/family/2026/04/raise-difficult-kids-on-purpose/686766/
2•paulpauper•12m ago•0 comments

Self-driving vehicles and the cross-country drive

https://marginalrevolution.com/marginalrevolution/2026/04/self-driving-vehicles-and-the-cross-cou...
1•paulpauper•13m ago•0 comments

Make Tmux Pretty and Usable

https://hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
5•speckx•13m ago•1 comments

The largest orbital compute cluster is open for business

https://techcrunch.com/2026/04/13/the-largest-orbital-compute-cluster-is-open-for-business/
1•Brajeshwar•14m ago•0 comments

More Legal Systems Different from Ours: Video-Game Law

https://alec.freumh.org/More%20Legal.html
1•surprisetalk•14m ago•0 comments

I Quit Drinking for a Year

https://dynomight.net/drinking/
1•surprisetalk•14m ago•0 comments

A Man in the Room

https://nataliercargill.substack.com/p/the-man-in-the-room
1•surprisetalk•14m ago•0 comments

Lambda Just Got a File System. I Put AI Agents on It

https://edjgeek.com/blog/s3-files-lambda-agents/
1•edjgeek•15m ago•0 comments

The sonic anatomy of a double-tap strike

https://earshotngo.substack.com/p/the-sonic-anatomy-of-a-double-tap
1•moxifly7•15m ago•0 comments

I'm Leaving Germany – Brutally Honest Review [video]

https://www.youtube.com/watch?v=HQvSItqdd5o
2•obscurette•16m ago•0 comments

Rust's rise shows signs of slowing

https://www.tiobe.com/tiobe-index/
1•smurda•18m ago•0 comments

TurboOCR: 270–1200 img/s OCR with Paddle and TensorRT (C++/CUDA, FP16)

https://github.com/aiptimizer/TurboOCR
3•pfdomizer•18m ago•1 comments

Not a Luddite Fallacy (2011)

https://baatz.ch/2011/not-a-luddite-fallacy/
1•rzk•18m ago•0 comments

Show HN: Crafto – AI carousel post generator for LinkedIn and Instagram

https://crafto.ai
2•xz_tie•19m ago•0 comments

When Intelligence Scales, Reality Drifts

https://therealitydrift.substack.com/p/when-intelligence-scales-reality
1•realitydrift•19m ago•0 comments

Jammed phone lines. Burned-out dispatchers. Can AI ease a strained 911 system?

https://www.begiant.ca/stories/people/911-wait-times-artificial-intelligence
2•speckx•20m ago•0 comments

Leaked screenshots show Anthropic building app creator inside Claude

https://xcancel.com/v_shakthi/status/2043644356016619749
1•_____k•21m ago•0 comments