Systems / data infrastructure / AI. Co-founder @AFK-surf, previously @denoland @vercel @bytedance
blueboat. All-in-one, multi-tenant serverless JavaScript runtime.
1.9kmvsqlite. Distributed, MVCC SQLite that runs on FoundationDB.
1.6kbake. Bake microVMs into standalone executables
467RefineDB. A strongly-typed document database that runs on any transactional key-value store.
397IceCore. Application container built for WebAssembly
111wasm-core. Portable WebAssembly implementation intended to run everywhere
80dlock. Distributed-Lock-as-a-Service implemented on Cloudflare Durable Objects.
67rust-coroutines. Stackful coroutine library for Rust that "just works"
53Violet. Superscalar RISC-V processor written in Clash.
35vmesh. VMesh is a decentralized Layer 3 mesh router and protocol designed for open network interconnection.
33v8-serde. [WIP] Pure-JavaScript implementation of the V8 value serializer
32hexagon-e. The HexagonE VM
26sqlite-cache. SQLite-based on-disk cache for Rust.
25AlphaBoard. An HTML5 web app for teaching
25FlatRv. A cross-platform RISC-V interpreter that implements the RV32IMA instruction set.
24MagiCore. An out-of-order processor that supports multiple instruction sets.
23bsdloader. Minimal (~123KB), reproducible x86_64 FreeBSD/OpenBSD UEFI loader
17ice-node. Node bindings for the Ice Web Framework
16AlphaTrans. An extremely fast accelerator for block transfer in unstable networks
13notion-fetch. A Cloudflare Workers service that fetches and renders Notion pages as HTML, Markdown, or JSON.
13rm-protection-c. rm-protection implemented in C
11mvps. Log-structured, transactional virtual block device backed by S3
11unproxy. Map TCP services behind an HTTP(S) proxy to local ports.
10jslinux-wstunnel. JSLinux (https://bellard.org/jslinux/) ported to use wstunnel (https://github.com/losfair/wstunnel) for networking.
10minichat. Distributed real-time chat demo on Blueboat in 15 lines of JavaScript
10acquire. Digital remake of the "Acquire" board game
9supernova. A control plane for the Nebula overlay networking system.
9ssci. Server Side Code Integrity
9wstunnel. IP over WebSocket.
9caddy-watch. Watch for interesting patterns in Caddy logs and send a Telegram notification.
9bsync. Incremental, multi-version remote backup tool for block devices.
8edp. An implementation of the Erlang Distribution Protocol in Rust.
8pbft-rs. Practical Byzantine Fault Tolerance implemented in Rust.
8b6t. Minimal containerized Blueboat suitable for self-hosting.
8lambda-box. λ-box 是一个运行在 Blueboat 上的匿名提问箱 app.
8kvm-sandbox. Sandbox for trustless execution, implemented with KVM.
8liquid-layout. A layout engine that solves UI constraints using the Z3 prover.
7avalanche-demo. Demos of how the Avalanche family consensus protocols (Slush, Snowflake, Snowball and Avalanche) work.
6fdb2kafka. Ship consistent logs from FoundationDB to Kafka.
6blog. Source code for my personal site.
6gkv. Geo-replicated eventually-consistent KV store
5lazyproxy. A TCP proxy that is so lazy that shuts down itself after a period of inactivity.
5rekor-evm. Sigstore Rekor log rollup to EVMs
5smr. Multi-process scheduler for managed runtimes.
5elfpromote. A small utility for modifying ELF shared library loading order.
5violet-cosim. Cosimulator for the Violet core: https://github.com/losfair/Violet
5hexagon. Rust
5morf. MoRF is a mutually-authenticated, encrypted communication protocol over lossy packet links with small MTUs
4v2ray-core. A platform for building proxies to bypass network restrictions.
4bbcli. Command line tool for deploying and managing apps on Blueboat.
4OxygenMark. C++
3hgw. A "secure enclave" I run at home
3ops. My collection of scripts for operating services, databases and systems.
3boat. [WIP] CLI for MagicBoat.
3