frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Karton is a simple, type-safe RPC and state-syncing framework (OSS,MIT)

https://github.com/stagewise-io/stagewise/tree/main/packages/karton
2•glenntws•6h ago
Karton (German for “carton”) is a type-safe and web socket based solution that allows you to define a shared definition of what is synchronized between server and client side (the “Karton contract”):

- The type of state that is synced between the server- and client-side (read-only on client-side)

- Server procedures that clients can call to make mutations on server-side

- Client procedures that servers can call to make queries etc. to the client-side

All connections share the same state, and the state is always defined by the server. Deltas are efficiently synced through JSON-style patches (using immer under the hood).

We’re Glenn and Julian, and we built this as a tool for our startup (stagewise - YC S25). We needed a simple and type safe solution to sync a CLI app (JS-app) with a browser-based UI-app (we use React). We didn’t find any solutions out there that seemed easy to use, so we simply decided to build our own one.

We offer both the server and client in vanilla TS, but also ship a React-specific client that gives you a Zustand-style access to the state (allowing to only select slices of the whole state as well).

The API is made to be very easy to use, with just one output type that’s shared between server and client apps, making it a low-overhead solution if you build locally running JS apps that consist of multiple sub-apps. Karton is MIT-licensed, available on npm (@stagewise/karton) and currently part of our bigger OSS monorepo. It’s pretty much in beta state but we already use it in production.

GitHub: https://github.com/stagewise-io/stagewise/tree/main/packages...

NPM package: https://www.npmjs.com/package/@stagewise/karton

Our YC Launch: https://www.ycombinator.com/launches/O3M-stagewise-the-front...

2 years after a failed startup,I launched a new one and got my first paying user

https://www.buildingwithchris.com/two-years-after-a-failed-startup-i-launched-a-new-one-and-got-m...
1•krispetek•1m ago•0 comments

Show HN: VoiceHop – Real-Time Audio and Video Translation

https://qwikrank.com
1•qwikhost•7m ago•0 comments

20k years ago, a single flood swept through the world

https://www.wionews.com/trending/scientist-says-global-flood-washed-away-advanced-civilisations-2...
1•Brajeshwar•8m ago•0 comments

North Korea's Kim Jong Un to Join Putin at China Military Parade

https://www.bbc.com/news/articles/c17njr88ge4o
3•nationsecwatch•11m ago•0 comments

Is AI taking developer jobs?

https://yourweekly.dev/tasc-1-developer-jobs/
1•andrewshadura•12m ago•0 comments

Generate a fog of war map from Google and activity data

https://github.com/jens-ox/fog-of-war
1•jens-ox•15m ago•1 comments

Ask HN: How can I get feedback about my GitHub side project?

1•weizhenchu•16m ago•0 comments

Lumo the Private AI by Proton

https://lumo.proton.me/
1•raldu•17m ago•0 comments

Luna Park: The Visual Scripting Editor

https://luna-park.app/
1•thunderbong•18m ago•1 comments

Kubernetes v1.34: Of Wind and Will (O' WaW)

https://kubernetes.io/blog/2025/08/27/kubernetes-v1-34-release/
2•gpi•19m ago•0 comments

Show HN: ProServer – Sign .ipa files with ease

https://github.com/SuperGamer474/ProServer
2•SuperGamer474•21m ago•0 comments

The Mozart of Chess (2004)

https://en.chessbase.com/post/the-mozart-of-che-
1•mellosouls•21m ago•0 comments

For Complex Applications, Rust Is as Productive as Kotlin[2020]

https://ferrous-systems.com/blog/rust-as-productive-as-kotlin/
2•8s2ngy•22m ago•0 comments

Think you own those movies you've been buying digitally? Think again

https://www.theguardian.com/film/2025/aug/27/movie-buying-owning-amazon-prime-lawsuit
1•beardyw•23m ago•0 comments

Build interactive 3D globes in Framer

https://globe-map.framer.website/
2•memselon•25m ago•1 comments

Comparing PostgreSQL vs. MongoDB: Which Is Better for AI Workloads?

https://www.mongodb.com/resources/solutions/use-cases/webinar-comparing-postgre-sql-vs-mongodb-wh...
1•aamederen•25m ago•0 comments

Bland,for fans of everything: what has the Netflix algorithm done to our films?

https://www.theguardian.com/media/2025/aug/28/bland-easy-to-follow-for-fans-of-everything-what-ha...
3•robaato•26m ago•0 comments

Compress Vectors by 4x by using 8-bit Rotational Quantization

https://weaviate.io/blog/8-bit-rotational-quantization
1•bobvanluijt•26m ago•0 comments

Handling Background and Foreground States for Reliable Notifications

https://blog.clix.so/handling-states-for-push-notifications/
1•Liriel•32m ago•0 comments

Show HN: Chat.win, Win money breaking prompts

https://chat.win
1•GravyPouch•38m ago•0 comments

Why JSON Prompts Are the Future of AI Automation

https://peerlist.io/teamcamp/articles/why-json-prompts-are-the-future-of-ai-automation
1•teamcampapp•38m ago•0 comments

A beginners guide to API over-engineering (2016)

http://blog.haskell-exists.com/yuras/posts/a-begginers-guide-to-over-engineering.html
2•internet_points•40m ago•0 comments

Show HN: I built AI that turns 4 hours of financial analysis into 30 seconds

https://duebase.com
5•superproton•41m ago•0 comments

Sphinx: A Succinct Perfect Hash Index for x86 [pdf]

https://www.vldb.org/pvldb/vol18/p4424-maghrebi.pdf
1•matt_d•41m ago•0 comments

Environments Hub: A Community Hub to Scale RL to Open AGI

https://www.primeintellect.ai/blog/environments
1•hexhowells•43m ago•0 comments

Show HN: Metal.graphics – Metal shaders course for SwiftUI

https://www.metal.graphics/
1•vbaro•48m ago•1 comments

AGI Overhyped?

9•brandozer111•50m ago•7 comments

NoteAppSync: A Single page HTML, LocalStorage, sync between devices via MQTT

https://github.com/No-CQRT/NoteAppSync
1•No_CQRT•52m ago•1 comments

Chinese Spies Hit More Than 80 Countries in 'Salt Typhoon' Breach, FBI Reveals

https://www.wsj.com/politics/national-security/chinese-spies-hit-more-than-80-countries-in-salt-t...
2•nationsecwatch•54m ago•0 comments

Nvidia still growing, but China uncertainty clouds outlook

https://www.reuters.com/world/china/nvidia-still-growing-china-uncertainty-clouds-outlook-2025-08...
2•01-_-•1h ago•1 comments