frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Cygnus – A fast, lightweight self-hostable serverless runtime and PaaS

https://cygnus.run
2•ccheshirecat•58m ago
I built Cygnus because of a long standing frustration with the compromises needed to be made when choosing a deployment option for web applications.

The ecosystem is fragmented into a few distinct camps, each sacrificing user experience or runtime compatibility to balance isolation, startup latency, and their own profit margins.

Docker: Heavier and slower because it has to supervise more than web apps. Paying overhead you don't need. MicroVM's: Good isolation, but huge maintenance surface area and substantial overhead. Great for untrusted code, overkill for your own apps. Workerd: Tries to dance around hardware isolation by enforcing an in-process V8 isolate model. Neutered runtime to prevent arbitrary syscall execution. Personally I still find the tradeoff worthwhile for their edge footprint, but I still find myself complaining about it from time to time. Vercel/Managed serverless: Delivers a great developer experience, uses microVM's which is good for compatibility but has a business model that eventually hands you a six-figure bill with a straight face ($0.15/GB bandwidth when budget providers charge cents per TB) and makes you sacrifice statefulness.

These constraints make sense for hyperscalers or enterprises, but I don't have those kinds of needs.

I just wanted something as light and fast as workerd(not exactly but closest i guess), but more rigid than just running them as bare userspace processes. Containers are just standard Linux processes wrapped in namespaces, cgroups, seccomp, and netns. You can do the same with systemd. And with Bun mature enough for production, combining an all-in-one JavaScript runtime directly with native Linux kernel primitives becomes a no-brainer.

So I combined them into Cygnus, a single Rust daemon that turns raw kernel primitives and Bun into a self-hosted, scale-to-zero application platform.

[ CLIENT: HTTP/1.1 · HTTP/2 · HTTP/3 (QUIC) ] | v [ Cygnus Daemon ] ├─ TLS termination (rustls) + ACME manager ├─ H1/H2/H3 front, normalized to H1 upstream ├─ Routing: SNI/Host → ArcSwap<HashMap> ├─ io_uring proxy loop (splice UDS↔TCP) ├─ Cage supervisor (spawn, health, drain, reap, crash backoff) └─ Admin API (root-only UDS) + Tenant-0 bridge (typed commands) | | HTTP/1.1 over per-app UDS (pooled, keep-alive) v ========== CAGE — per app, warm, reused ========== userns · mntns · pidns · ipcns · utsns · netns cgroup v2 (mem/cpu/pids) · seccomp allowlist

  bun (text shared via page cache, per version)  
   ├─ preload shim: listen()/Bun.serve → UDS      
   └─ artifact: bundle.js + bundle.jsc (RO mount) 
                                                  
  egress: veth ─ nftables policy ─ host NAT       
  DNS: host-side forwarder at gateway IP          
What you get:

- ~50ms cold starts with 0 guest kernel overhead - Page-cache shared runtime(low resource usage) - 100% native compatibility(it's literally running bun) - Zero-config setup(injects a listener shim to serve the app, no manual changes needed) - Dogfooded control plane with a great UX and dashboard running as tenant 0

Cygnus uses cages, a shared-kernel process isolation model. The way it currently is, it's designed for trusted code(your apps or apps you trust). It provides defense-in-depth against buggy code, supply-chain attacks, and SSRF. However, it is not designed for untrusted, anonymous multi-tenancy (yet).

I'd love to hear your thoughts on the architecture, kernel primitive choices, and seccomp filtering strategy!

Trying it out is a 1 liner, it works on macOS too but without any of the Linux isolation benefits, for testing it out or running locally.

curl -fsSL https://cygnus.run/install.sh | bash

Github repo has a demo gif if you want to see what it looks like!

https://cygnus.run https://github.com/0xchasercat/cygnus

The Rust on ESP Book

https://docs.espressif.com/projects/rust/book/
1•AlexeyBrin•3m ago•0 comments

Using government procurement for greener AI

https://datasociety.net/research-library/greening-ai-in-the-public-sector-an-introductory-handboo...
1•shelbel•3m ago•0 comments

wsp: Multi-Repo Workspace Manager

https://github.com/jganoff/wsp
1•nonrecursive•8m ago•0 comments

Is Trump Forcing Mastercard and Visa on Brazil (auth: TLDR News) (+ abridgement)

https://www.youtube.com/watch?v=TSlnS4cYEUs
1•mdp2021•8m ago•1 comments

Native Kubuntu and Steam on Galaxy XR (KWin VR and Monado)

https://old.reddit.com/r/Galaxy_XR/comments/1v587tn/native_kubuntu_and_steam_on_galaxy_xr_kwin_vr/
1•bthallplz•11m ago•0 comments

A (Moderate and Nuanced) Analysis of Backrooms, Obsession and Theaters in 2026

https://entertainment.substack.com/p/a-moderate-and-nuanced-analysis-of
1•Michelangelo11•11m ago•0 comments

HP admits 30% of PCs reject Windows 11, and it's why Microsoft caved on support

https://www.windowslatest.com/2026/07/24/hp-admits-30-of-pcs-still-run-windows-10-rejecting-windo...
2•theanonymousone•12m ago•0 comments

Medieval Football

https://en.wikipedia.org/wiki/Medieval_football
2•marvinborner•15m ago•0 comments

A downloads organizer is being used to intercept ScreenConnect scam downloads

https://straycode.dev/blog/how-a-simple-downloads-organizer-is-being-used-to-stop-screenconnect-s...
2•murzynalbinos•17m ago•0 comments

Triton: DirectX 11 driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
1•JustSkyfall•26m ago•0 comments

Libdog: Token-Level Revision Control

https://github.com/gritzko/libdog/blob/main/README.md
1•gritzko•26m ago•0 comments

Show HN: Jargo, a Go port of Pipecat for building realtime voice agents

https://github.com/gojargo/jargo
1•fallais•27m ago•0 comments

League of Legends designer shares game design field manual

https://areadenial.games/design/preface#00-01
1•jmanjmanjman•27m ago•1 comments

D – Google'da Ara

https://www.google.com/search?q=d&oq=d&sourceid=chrome&ie=UTF-8
1•nplcreator•31m ago•0 comments

Conflict Resolution

https://en.wikipedia.org/wiki/Conflict_resolution
1•nill0•34m ago•0 comments

Grandmother says staged arrest for reality TV show left her injured

https://www.cnn.com/2026/07/25/us/grandmother-arrest-police-reality-show
2•Tomte•35m ago•0 comments

Presearch Has Shut Down

https://news.presearch.io/a-message-from-the-presearch-team-aaa448052b2b
2•paulnpace•36m ago•0 comments

Japanese Lottery Tickets

https://designreviewed.com/50-japanese-lottery-tickets/
1•Michelangelo11•41m ago•0 comments

Show HN: Smriti: Your Photos, Your Memories

https://chivukulavirinchi.github.io/photovault/
1•virinchi_cv•42m ago•0 comments

Games of Incomplete Information(2002) [pdf]

https://web.stanford.edu/~jdlevin/Econ%20203/Bayesian.pdf
1•nill0•43m ago•0 comments

AIs-welcome Lean library downstream of Mathlib

https://github.com/TauCetiProject/TauCeti
1•MADEinPARIS•46m ago•0 comments

Quil – a reboot-proof terminal multiplexer that resumes AI sessions

https://github.com/artyomsv/quil
1•artyomsv•51m ago•0 comments

The math of traffic jams and how to avoid them

https://theconversation.com/dont-change-lanes-the-maths-of-holiday-traffic-jams-287389
1•beardyw•51m ago•0 comments

Jensen Huang's $75M gift to Vanderbilt argues art decides what technology is for

https://fortune.com/2026/07/23/why-did-jensen-huang-donate-75-million-to-art-school-vanderbilt-un...
1•theanonymousone•53m ago•0 comments

Why Would Meta Download So Much Porn?

https://www.theatlantic.com/technology/2026/07/meta-strike-3-porn-lawsuit/688023/
4•hebelehubele•54m ago•3 comments

A New Approach to Nuclear Warhead Verification Using a Zero-Knowledge Protocol(2012) [pdf]

https://www.boazbarak.org/Papers/nuclear-zk.pdf
1•nill0•54m ago•0 comments

Why My Open-Source Project Hasn't Done Better

1•yohji1984•55m ago•0 comments

CP/M-68K and Motorola 68000 Emulator

https://kobolt.github.io/article-264.html
1•AlexeyBrin•56m ago•0 comments

Type checker may be wrong – Lean and the Curry-Howard correspondence

https://max-amb.github.io/blog/your_type_checker_may_be_wrong/
1•max-amb•57m ago•1 comments

Show HN: Cygnus – A fast, lightweight self-hostable serverless runtime and PaaS

https://cygnus.run
2•ccheshirecat•58m ago•0 comments