frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Web Components SSR and hydration in 1KB– just a decorator, no framework

https://github.com/alexandregiordanelli/web-server-components
1•agiordanelli•2h ago
Hi HN,

I built Web Server Components, a minimalist (~1KB min+gz) TypeScript library that enables SSR + hydration with Custom Elements using just a simple decorator and base class — no frameworks, zero dependencies.

At its core:

withWSC decorator auto-registers your element.

WSC is an isomorphic HTMLElement wrapper — so you can safely call .render(...) on the server and append the same element client-side.

Highlights:

~1KB min+gz

Zero dependencies

Standards-only: Custom Elements + Declarative Shadow DOM

SSR + minimal hydration with no framework lock-in

Live demo: https://1kb.alexandre-giordanelli.workers.dev/

Repo: github.com/alexandregiordanelli/web-server-components

The goal is to show that you don’t need a framework to get SSR + hydration with Web Components — just a decorator and a lightweight HTMLElement wrapper.

Would love feedback, comparisons with other minimal SSR approaches (htmx, Lit, etc.), and ideas for improvements. Thanks!

Grepcidr3: High performance search for IP addresses and CIDR ranges

https://github.com/jrlevine/grepcidr3
1•zdw•2m ago•0 comments

Some Tricks for List Manipulation

https://doisinkidney.com/posts/2019-05-08-list-manipulation-tricks.html
1•todsacerdoti•3m ago•0 comments

Understanding Python Namespace Packages

https://pythonkoans.substack.com/p/koan-7-the-unburdened-village
1•meander_water•6m ago•0 comments

China's Genocide and the Eliticide of Uyghur Scholars

https://thediplomat.com/2025/08/chinas-genocide-and-the-eliticide-of-uyghur-scholars/
1•mhga•6m ago•0 comments

Guide to Operating Self-Hosted LLM Providers in CI Pipelines

https://kianjon.es/#guide-to-operating-self-hosted-llm-providers-in-ci-pipelines
1•cpfiffer•7m ago•0 comments

Best performance and fastest memory with the new Amazon EC2 R8i instances

https://aws.amazon.com/blogs/aws/best-performance-and-fastest-memory-with-the-new-amazon-ec2-r8i-and-r8i-flex-instances/
1•phonon•9m ago•0 comments

Empty homes are on the rise. Why not use them for the housing shortage? (UK)

https://www.bbc.co.uk/news/articles/c3r413l5n57o
1•mmarian•10m ago•0 comments

Type-Machine

https://arthi-chaud.github.io/posts/type-machine/
2•todsacerdoti•13m ago•0 comments

Show HN: STIX – Institutional positioning in US equities revealed as a score

https://stix-v1.onrender.com
1•STIX_Trading•16m ago•0 comments

Click to hide elements from any website Chrome Extension

https://chromewebstore.google.com/detail/zapit-click-to-remove-ele/ojgbipkkmfaiafopdfopmkjpeppdpkec
1•muhammedilyasy•22m ago•0 comments

Vagus nerve cells moderate immune response to mitigate damage

https://medicalxpress.com/news/2025-08-unusual-allies-vagus-nerve-cells.html
1•Gaishan•33m ago•0 comments

Was this too unhinged to send to an investor?

https://twitter.com/ryanwangx98/status/1958023493624226109
1•ryankrumbholz•33m ago•1 comments

Amazon Q Developer for VS Code: Remote Code Execution with Prompt Injection

https://embracethered.com/blog/posts/2025/amazon-q-developer-remote-code-execution/
3•kerng•34m ago•0 comments

US Marshalls asked to safeguard Maryland data center survey crews

https://www.cbsnews.com/baltimore/news/maryland-powerline-project-piedmont-us-marshals-survey-property/
1•longitudinal93•38m ago•0 comments

China blocked all HTTPS connection abroad for 1 hour in midnight

https://gfw.report/blog/gfw_unconditional_rst_20250820/en/
12•kotri•45m ago•2 comments

Why Mobile Apps Deserve Their Own CMS

https://www.resyncbase.com
1•ifeoluwak•1h ago•2 comments

Show HN: Hanaco Weather – A poetic weather SNS from the OS Yamato project

https://github.com/osyamato/os-yamato
2•tsuyoshi_k•1h ago•0 comments

Antis (Dog)

https://en.wikipedia.org/wiki/Antis_(dog)
3•benbreen•1h ago•0 comments

Pre-Sputnik Earth-Orbit Glints

https://www.overcomingbias.com/p/many-big-pre-sputnik-earth-orbit
11•qsi•1h ago•6 comments

Uber Lost and Found Index

https://www.uber.com/en-FR/newsroom/the-2025-uber-lost-found-index/
1•doughnutstracks•1h ago•0 comments

ZeroFS vs. JuiceFS Benchmarks

https://www.zerofs.net/zerofs-vs-juicefs
1•Bnjoroge•1h ago•0 comments

The Fancy Rug Dilemma

https://epan.land/essays/2025-8_FancyRugDilemma
3•ericpan64•1h ago•1 comments

Silicon Valley Is Drifting Out of Touch with the Rest of America

https://www.nytimes.com/2025/08/19/opinion/artificial-general-intelligence-superintelligence.html
8•jpster•1h ago•3 comments

How Differential Steering Works (1937) [video]

https://www.youtube.com/watch?v=yYAw79386WI
2•lispybanana•1h ago•0 comments

Ask HN: Who's successfully building systems with agent-based workflows?

2•medhir•1h ago•0 comments

What Are Passkeys–and What Do You Need to Know About Using Them?

https://www.wsj.com/tech/personal-tech/passkeys-passwords-apps-logins-7485b20a
3•petethomas•1h ago•0 comments

Duct UI now comes with an MCP server

https://duct-ui.org/blog/2025/08/introducing-mcp-server
1•nvln•1h ago•0 comments

Rough Numbers Between Consecutive Primes

https://arxiv.org/abs/2508.06463
2•tzury•1h ago•0 comments

Verdis

https://verdisgov.org/about/
3•andsoitis•1h ago•0 comments

The Troubling Lines That Columbia Is Drawing

https://www.newyorker.com/news/the-lede/the-troubling-lines-that-columbia-is-drawing
9•mitchbob•1h ago•2 comments