frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I combine Htmx, LiveView and SolidJS for interactive server components

https://github.com/phucvin/solv-03
2•phucvin•1h ago
I like htmx, LiveView, React and Solid. They are great at different points, so I try to combine them in Solv (Stateless Offline-capable LiveView) and write a prototype to show the benefits.

Solv's main idea is that stateless servers keep client's state in a volatile cache. It enables server components that are also interactive, which is best of both worlds between LiveView and htmx. Then fine-grained reactivity is added to achieve efficient DOM updates + minimal payload size.

This provides:

- SSR with close-to-zero rehydration cost.

- No API endpoints, server can just read from DB then render & update clients directly.

- Server components that are interactive.

- Minimal payload for updates from server.

- Stateless servers that can handle stateful-like request/response.

- Avoid consistent connection to server, clients can work offline after page load, update local - state, keep pending server requests and sync later (can also use a sync engine like InstantDB to simplify some part of the page).

Repo: https://github.com/phucvin/solv-03

Demos deployed to: https://solv-03.phucvin.workers.dev/ (this uses a free plan of Cloudflare Workers)

You can also run it yourself online: https://stackblitz.com/~/github.com/phucvin/solv-03

Details:

- Counter 01: simple counter work entirely at client.

- Counter 02: 2 counters; increasing is client-side; reseting is a server action.

- Counter 03: multiple counters; adding a new counter is a server action that also renders the component server-side (note that client handles the loading effect when button is clicked).

More details in the repo.

Thanks for reading, and please let me know if this is a good idea to continue.

Comments

lostpogo•1h ago
This is clever combining stateless server components with fine-grained reactivity feels lightweight compared to typical React SSR. Would love to see benchmarks for load time vs. standard SPA setups.

1967 speech about progress, computers, and staying human in an age of automation

https://mynamelowercase.com/blog/ove-arups-1967-speech-about-progress-computers-and-human-automat...
1•Gormisdomai•44s ago•0 comments

Nuclear War: A Scenario

https://en.wikipedia.org/wiki/Nuclear_War:_A_Scenario
1•chistev•5m ago•0 comments

UnisonDB – A Log-Native Database for Edge AI and Edge Computing

https://github.com/ankur-anand/unisondb
1•ankuranand•8m ago•1 comments

"Valve plans to announce Half-Life 3 (or Deckard, or both) on 18 November"

https://old.reddit.com/r/HalfLife/comments/1oqn6x4/18_november/
1•HelloUsername•8m ago•0 comments

Breaking FAA Suspends All US Launch Operations

https://www.youtube.com/watch?v=dDIlMLt4ZTc
1•astrozac•10m ago•1 comments

Quality, Quantity, and Effective Iteration

https://www.autodidacts.io/iteration/
2•Curiositry•12m ago•0 comments

ViralWriteAI – Write Like a Pro. Read Like a Kid

https://viralwriteai.com/en
1•AI_kid1412•13m ago•0 comments

Reshape and Reprint: The Potential of a 3D Solid Knitting Machine

https://innouvators.com/en/article/10242/
1•sargstuff•25m ago•0 comments

Show HN: Allos – An open-source, LLM-agnostic agentic SDK for Python

https://github.com/Undiluted7027/allos-agent-sdk
2•undiluted7027•32m ago•0 comments

Zig is so cool, C is cooler, but JavaScript everywhere

2•ianberdin•33m ago•0 comments

Consider a Burner Phone for Your Holiday Travel This Year

https://www.cnet.com/tech/mobile/why-you-should-consider-a-burner-phone-for-your-holiday-travel-t...
2•ColinWright•37m ago•3 comments

When I'm Sick of Doomscrolling, I Turn to This Poem

https://www.nytimes.com/interactive/2025/11/06/books/robert-hayden-poem-monets-waterlilies.html
1•whack•47m ago•0 comments

KDE finally lets you limit virtual desktops to the primary screen

https://www.neowin.net/news/good-news-for-linux-users-this-long-requested-feature-is-finally-comi...
2•bundie•51m ago•0 comments

Driver livestreams on TikTok as she apparently hits and kills man in Chicago

https://www.theguardian.com/us-news/2025/nov/08/tiktok-live-stream-fatal-crash-chicago
19•c420•56m ago•13 comments

Rare red lightning captured in New Zealand skies

https://www.theguardian.com/global/2025/oct/22/red-lightning-new-zealand-red-sprites
3•colinprince•57m ago•1 comments

A.I. Sweeps Through Newsrooms, but Is It a Journalist or a Tool?

https://www.nytimes.com/2025/11/07/business/media/ai-news-media.html
2•bookofjoe•1h ago•1 comments

Number Garden – A generative pattern system based on simple principles

https://ng-menu.netlify.app/
1•cpuXguy•1h ago•0 comments

'Mist opportunity' reveals how onions make cooks cry

https://news.cornell.edu/stories/2025/10/mist-opportunity-reveals-how-onions-make-cooks-cry
1•gnabgib•1h ago•1 comments

My non-ML 250-line solver hits 88% on the 1,889-city TSP in <20s

1•mesidd•1h ago•1 comments

Show HN: Livestream of a coding agent controlled by public chat

https://www.vibecodedbyx.com/
2•fela•1h ago•0 comments

MSay: A newsletter from a post-undergraduate campus journalist

https://micheleschultz.substack.com/
2•micheleschultz•1h ago•0 comments

Operational Data Sharing API Server Documentation

https://obs.vla.nrao.edu/ods/index.html/
1•privong•1h ago•0 comments

'Windows sucks,' former Microsoft engineer says, explains how to fix it

https://www.theregister.com/2025/11/07/does_windows_really_suck_that/
6•Bender•1h ago•3 comments

Lite and Text Only News and Other Websites

https://bmk.neocities.org/
2•Bender•1h ago•0 comments

English Wikipedia enables Temporary Accounts for logged-out editors

https://en.wikipedia.org/wiki/Wikipedia:Temporary_accounts
1•quuxplusone•1h ago•1 comments

Russian cryptocurrency fraudster and wife killed in UAE

https://www.mirror.co.uk/news/world-news/russian-cryptocurrency-fraudster-wife-kidnapped-36207258
1•lxm•1h ago•1 comments

Cloudflare Makes Open-Source the Rust Code to Tokio-Quiche

https://www.phoronix.com/news/Cloudflare-OSS-Tokio-Quiche
3•Bender•1h ago•0 comments

CodeAid: AI-powered programming assistant designed to facilitate learning

https://github.com/MajeedKazemi/code-aid
1•azhenley•1h ago•0 comments

Just know stuff (or, how to achieve success in a machine learning PhD) (2023)

https://kidger.site/thoughts/just-know-stuff/
3•goldemerald•1h ago•0 comments

The Indie Investor: A Manifesto for a New Kind of Capital

https://seeyanater.substack.com/p/the-indie-investor-a-manifesto-for
1•IndieInvestor•1h ago•0 comments