AphrodyBun GitHub

Runtime: aphrody-labs/bun

The JavaScript runtime of Aphrody: a fork of oven-sh/bun 1.4.4, and what it adds.

ItemValue
Upstreamoven-sh/bun, base version 1.4.4
Sourceaphrody-labs/bun at 10644906f5ae (2026-10-10)
LicenceMIT, LGPL-2, LICENSE.md
Latest releaseaphrody-v1.4.3-aphrody.4 (2026-10-09)
Fork commits516 since 2026-10-02 (merge commits excluded)
Last upstream mergec1de6f2335 (2026-10-09)
npm@aphrody/bun-runtime 1.4.3-aphrody.2
Container imageghcr.io/aphrody-labs/bun:1.4.3-aphrody.3 (scripts/aphrody/deploy/docker/Dockerfile, release aphrody-v1.4.3-aphrody.3); anonymous pull denied by ghcr.io (HTTP 403)

Commits by type

Conventional Commit types of the fork commits.

TypeCommits
feat194
docs123
fix109
build21
chore17
other16
test15
ci11
bench2
perf2
refactor2
wip2
lint1
types1

Most frequent scopes: aphrody (52), plan (31), merge (28), test (16), windows (16), build (12), cli (12), alpine (11), install (11), next-bun (9), shell (9), install/system (7), n2b (7), python (7), wasm (7), bun-webos (6), bundler (6), plan-framework (6), runtime (6), site (6).

Built-in modules added

CLI command implementations added

Name (from the file)Source
agent-pluginsrc/runtime/cli/agent_plugin_command.rs
devtoolssrc/runtime/cli/devtools_command.rs
dotnetsrc/runtime/cli/dotnet_command.rs
hostsrc/runtime/cli/host_command.rs
lspsrc/runtime/cli/lsp_command.rs
mcpsrc/runtime/cli/mcp_command.rs
msvcsrc/runtime/cli/msvc_command.rs
pythonsrc/runtime/cli/python_command.rs
sshsrc/runtime/cli/ssh_command.rs
toolchainsrc/runtime/cli/toolchain_command.rs
uvsrc/runtime/cli/uv_command.rs
winmdsrc/runtime/cli/winmd_command.rs

Documentation pages added

  • Linting: Lint JavaScript and TypeScript with bun lint: oxlint plus the Node.js-to-Bun rules
  • Formatting: Format JavaScript, TypeScript, JSON, CSS, Markdown and more with bun fmt
  • Language server: One language server for TypeScript, JavaScript, Python, Rust, C and C++ with bun lsp
  • Migrate from Node.js: Find and rewrite Node.js APIs that have a Bun equivalent with bun n2b, and migrate a project with bun migrate
  • MCP server: bun mcp is a Model Context Protocol server built into Bun, for coding agents
  • Host inventory: Collect the CPU, RAM, GPU, disks, kernel and OS of a machine, and share them between machines with bun host
  • Native code graph: Extract source graphs and export scoped snapshot evidence
  • runtime/buv: Native JavaScriptCore and UV runtime with the PyJS language surface
  • Python: Run Python files and the python CLI through a CPython host, embed CPython in the JavaScript process with bun:python, and compile Python with bun compile
  • PyTorch CUDA: Install PyTorch with the CUDA build matching the NVIDIA driver in a uv virtual environment and check it from bun python
  • Linux: Call Linux kernel interfaces directly from JavaScript with bun:linux
  • Windows: Call Windows interfaces directly from JavaScript with bun:windows
  • Windows Runtime: Call Windows Runtime (WinRT) APIs from Bun with bun:winrt, with namespaces projected on demand and async operations as Promises
  • WinUI 3: Open native WinUI 3 windows from Bun with bun:winui, load XAML, handle control events on the JS thread, and theme them with Fluent 2 tokens
  • MSVC & Windows metadata: Resolve, set up and cache Visual Studio, MSVC and the Windows SDK without vswhere or vcvarsall, cross-compile for Windows from Linux and macOS, and generate Rust or bun:ffi bindings from .winmd metadata
  • .NET: Run the .NET SDK inside Bun, install and resolve .NET without scripts, run C# files, and call .NET assemblies from JavaScript with bun:dotnet
  • Bun fork capabilities in IECODE: Export every registered Bun module, scoped package and native library owner, then qualify the shared NIE, .NET and Inagle consumers.
  • COSMIC: Use the COSMIC desktop from JavaScript with bun:cosmic
  • One-command setup: Clone and build the Aphrody runtime (aphrody-labs/bun), toolchains and dependencies included, with one command
  • Agent tools: Native tools of bun mcp for coding agents: digest a directory and read the installed sources and docs of a project's dependencies, offline and at their exact versions.
  • Agent plugin: The Aphrody runtime as a plugin for Claude Code, Codex and Antigravity/Gemini CLI, with its MCP server, hooks and skills
  • Auto-deploy et conteneur Bun: Image Docker du runtime Aphrody, sonde prod sur dbfr, file de build sur le VPS et service Windows bun-winsvc
  • System packages (winget): Declare winget packages in package.json and install them with bun install
  • WebAssembly from Rust: Build Rust crates into WebAssembly ES modules with bun wasm build, bun build --target=wasm and bun:wasm
  • Open a native Win32 window with bun:ffi
  • Open a GTK 4 window with bun:ffi
  • Open a Qt 6 window with bun:ffi
  • Open a KDE Kirigami window with bun:ffi
  • Open a COSMIC (libcosmic) window with bun:ffi
  • Build a Tauri app with Bun as its runtime
  • Run discord.js, @discordjs/voice and discordx

Upstream documentation pages modified

Packages added

NamePathVersionnpmLicenceRole
@aphrody/bun-dotnetpackages/bun-dotnet0.1.0MIT.NET 10 hosted in Bun: node-api-dotnet (MIT) absorbed in dotnet/, built by dotnet pack with Bun as the JS runtime
@aphrody/bun-fluentpackages/bun-fluent0.1.0MITFluent 2 design tokens (from microsoft/fluentui packages/tokens) as JS, CSS custom properties, a Tailwind v4 theme (fluent:theme.css) and WinUI 3 resources
@aphrody/bun-iconspackages/bun-icons0.1.0not declaredBun plugin and helpers for Material Symbols (symbol:home) and ICO imports
@aphrody/bun-plugin-neonpackages/bun-plugin-neon0.1.0MITNeon PostgreSQL connections and migrations on Bun.SQL
@aphrody/bun-plugin-supabasepackages/bun-plugin-supabase0.1.0MITTyped Supabase PostgreSQL client and migration runner built on Bun.SQL
@aphrody/bun-plugin-tailwindpackages/bun-plugin-tailwind0.1.00.1.0-aphrody.4MITTailwind CSS v4 for Bun: Bun.build, the HTML dev server and Bun.serve, a PostCSS plugin on the same engine, and a Material 3 preset
@aphrody/bun-python-conformancepackages/bun-python-conformancenot publishednot declared
@aphrody/bun-python-toolchainpackages/bun-python-toolchain0.1.0not publishedApache-2.0Demand-loaded discovery and delegation for the pinned Aphrody Python toolchain.
@aphrody/bun-runtime-sdkpackages/bun-runtime-sdk0.2.0MIT AND Apache-2.0SDK of the buv native runtime: versioned buv C ABI with compatible yolo exports and Bun, .NET and Python bindings
@aphrody/bun-toolspackages/bun-tools0.1.0not publishedMITrclone (CLI + librclone FFI) et rsync natifs du fork Bun, depuis la release aphrody-tools d'aphrody-labs/bun
@aphrody/bun-uv-pluginpackages/bun-uv-plugin0.1.0not publishedApache-2.0PyJS skills, native language-server transport and source-backed documentation for Buv.
@aphrody/bun-webospackages/bun-webos0.1.0not publishedApache-2.0WebOS served by Bun: every app calls a native Bun API (Bun.serve, Bun Shell, Bun.Terminal, bun:sqlite, bun:ffi, Bun.Archive, Bun.Glob, Bun.markdown, workers)
@aphrody/bun-webview-pagepackages/bun-webview-page0.1.10.1.1-aphrody.3Apache-2.0Playwright-shaped page, locators, routing and events over Bun.WebView (Chrome backend over CDP)
@aphrody/buvpackages/buv0.1.0not publishedApache-2.0Packaging and lifecycle tools for the native Buv JavaScript, UV and PyJS runtime.
@aphrody/next-bunpackages/bun-next0.2.00.2.0-aphrody.2MIT AND Apache-2.0Next.js on Bun: run next with no Node.js (Turbopack workers included), build the Pages Router with Bun.build (experimental), Next 16 / Tailwind 4 codemods, instant navigation testing and a Next-compatible App Router on Bun.build + Bun.serve without Next (@aphrody/next-bun/app)
@aphrody/supervisorpackages/bun-supervisor0.1.0not publishedMITOne systemd service, one Bun binary: sd_notify, watchdog, cgroup v2 reads, recursive memory budgets, pressure monitor and a self-spawning child supervisor
@aphrody/tauripackages/bun-tauri3.0.0-alpha.4Apache-2.0 OR MITTauri API, every plugin guest binding of tauri-plugin-aphrody, and the Bun runtime bridge
aphrody-pkg-systempackages/aphrody-pkg-system1.0.0Apache-2.0I/O-free models and parsers for system package sources (winget, apk, deb, pacman)
aphrody-rustpackages/bun-python-native/crates/aphrody-rust0.1.0Apache-2.0Bun-owned PyO3 adapter for the Aphrody Python SDK
bun-agent-pluginpackages/bun-agent-plugin1.4.4MITThe Aphrody runtime (aphrody-labs/bun) as a plugin for Claude Code, Codex and Antigravity/Gemini CLI: MCP server, hooks and skills
bun-capturepackages/bun-os/capture1.0.0-canarynot publishedApache-2.0Native Windows screen and window capture to PNG. GDI-based, zero unsafe outside FFI wrappers, RAII GDI handle guards.
bun-cosmicpackages/bun-cosmic0.1.0not publishedMITlibcosmic window and desktop notification helper spawned by bun:cosmic
bun-dotnet-hostpackages/bun-dotnet-native/crates/bun-dotnet-host0.1.0MITCLR host for Bun: locates hostfxr (nethost semantics), runs the dotnet muxer in-process and binds UnmanagedCallersOnly entry points
bun-fsindexpackages/bun-os/fsindex1.0.0-canarynot publishedApache-2.0Persistent local-filesystem search index (SQLite FTS5), mirroring the Google desktop app's local_files.db. Metadata-only, privacy-bounded.
bun-guardpackages/bun-os/guard1.0.0-canarynot publishedApache-2.0Autonomous-agent safety guardrails: pre-main process hardening (disable core dumps, block ptrace attach, strip LD_*/DYLD_* loader env) and a cross-platform shell command-safety classifier (Allow / Prompt / Forbidden) for gating agent-issued commands. Inspired by OpenAI Codex (Apache-2.0).
bun-llamapackages/bun-llama0.1.0not publishedMITllama.cpp for Bun through bun:ffi: GGUF loading, tokenization and streaming CPU inference
bun-plugin-n2bpackages/bun-n2b0.7.1Apache-2.0Node.js to Bun migration for Bun: scan, codemods at load/build time and the n2b CLI (Aphrody fork of Bun)
bun-plugin-oxcpackages/bun-oxc0.3.0MITOxc 0.153 for Bun: parser, transformer (TS, JSX, decorators, React Refresh), isolated declarations, minifier, resolver, oxlint (all rules, fixes) and oxfmt in one Node-API addon, as a Bun plugin, a typed API, oxc-parser/oxc-transform/oxc-minify drop-ins and a CLI.
bun-procpackages/bun-os/proc1.0.0-canarynot publishedApache-2.0Process supervision primitives shared by the llama-server supervisor, the command sandbox and the training runner: process groups that die with their owner (Linux session + killpg, Windows Job Object with KILL_ON_JOB_CLOSE), detached daemons, liveness probes, free-port allocation, advisory file locks and the single-GPU lease (shared for inference, exclusive for training).
bun-python-hostpackages/bun-python-native/crates/bun-python-host0.1.0Apache-2.0Lazy shared CPython host and compatibility C ABI for the Bun fork
bun-repackages/bun-re1.0.0-canaryApache-2.0Reverse engineering primitives — PE/ELF/Mach-O triage, sections + entropy + hash, ASCII/UTF-16 strings, x86-64 disassembly, ASAR/Electron/Go/Adobe/Android/Steam/minidump inspection. Pure Rust, no C bindings, no GPL.
bun-webview-corepackages/bun-webview-core0.1.0not publishedMITNative webview layer shared by Bun.WebView (bun-webview-host, CDP over a pipe) and the Aphrody Tauri runtimes: WebKitGTK (GTK4/webkitgtk-6.0 or GTK3/webkit2gtk-4.1), WebView2, WKWebView, CEF.
bun-winsvcpackages/bun-winsvc0.1.0not publishednot declaredWindows service host for the Bun fork: runs a command (bun.exe ...) as a service, restarts it and stops its process tree

Plus 374 generated packages @aphrody/bun-windows-* from Microsoft.Windows.SDK.Win32Metadata 71.0.30-preview.

Recent commits

  • 10644906f5 2026-10-10 feat(sql): add Neon and Supabase Bun.SQL integrations
  • 1af0a0bf82 2026-10-10 fix(dotnet): scope generator runtime roll-forward to child
  • 7c37833fef 2026-10-10 docs(aphrody): clarify glibc compatibility floor
  • 792eb548e2 2026-10-10 feat(site): publish the runtime site on bun.aphrody.com
  • 64816e008e 2026-10-09 feat(bench): export raw paired CSV and runtime provenance
  • 3841e12d2d 2026-10-09 feat(release): qualify stable 1.4.4 publishers and product benchmarks
  • d3747845ca 2026-10-10 feat(graph): export complete fork capabilities and native IECODE docs
  • 292de960af 2026-10-09 feat(windows): ajoute bun:windows.conpty (info, open vers Bun.Terminal)
  • c321e64876 2026-10-09 test(python): preserve native Windows terminal exit status
  • d84e82a541 2026-10-09 fix(python): include host ABI header in standalone crate
  • 73fdb3e193 2026-10-09 chore(release): publish standalone reverse engineering crate
  • c6654dfe85 2026-10-09 docs(windows): matrice graphique DirectX et WebGPU pour bun:windows
  • 3d05cedf10 2026-10-09 fix(winrt): version semver invalide dans les paquets @aphrody/bun-windows-winrt-*
  • 21f31e5331 2026-10-09 chore(skills): synchronise l'index du skill win32 avec les nouvelles sections windows.mdx
  • b6e7f54e78 2026-10-09 fix(win32): version semver invalide dans les paquets @aphrody/bun-windows-*
  • 1a3f3dc4d3 2026-10-09 docs(windows): sections NTFS et PE/Authenticode/catalogue dans bun:windows
  • 42773b3c0a 2026-10-09 feat(windows): authenticode, PE et NTFS natifs (bun:windows) ; wintrust, catalogue et tests windows.test.ts 20/20
  • 6f88e13905 2026-10-09 chore(deploy): rollback = rebuild depuis git ou un tag : l'activation n'écrit plus de lien previous, clean.ts (prod) ne garde que la release courante et retire le lien previous
  • 6999336e16 2026-10-09 feat(terminal): détection paresseuse des capacités du terminal (bun_core::terminal) ; OSC 9;4 pendant bun install, bun test et bun build, effacé à la sortie et sur signal ; OSC 8 sur les fichier:ligne:col des stack traces et des erreurs du transpiler, du bundler et de bun test ; DECSET 2026 autour des redessins de la progression d'install ; inactif hors TTY, en CI, sous multiplexeur et sur terminal inconnu, BUN_TERMINAL_FEATURES=0/1 et FORCE_HYPERLINK ; tests et docs (reste : docs/aphrody/terminal-features.md)
  • ee8631bd00 2026-10-09 docs(release): section Next — correctif des arguments sous musl et plugin agent à vérifier sur un binaire musl (commandes exactes), npm, image Docker et macOS/ARM64 restants
  • b5215b59ea 2026-10-09 chore(legacy): verrous de l'arène sous ~/build/locks (plus de /srv ni ~/aphrody-build), runner ~/yolo marqué retiré dans V-runs
  • c33b7a11a4 2026-10-09 fix(bun-icons): types résolus depuis packages/bun-types local (TS2688 sans node_modules), tsc --noEmit -p packages/bun-icons vert
  • f80e0529ea 2026-10-09 feat(bun-icons): plugin @aphrody/bun-icons, imports symbol:<nom> et .ico/.cur au runtime et dans Bun.build
  • 66b6c6ef68 2026-10-09 feat(brand): logo et favicon Aphrody depuis cdn.aphrody.com (aphrody-identity) : scripts/aphrody/brand-sync.ts (manifeste du CDN ou --from, sha256 vérifié, --check) écrit docs/logo, src/bun.ico et site/brand.ts ; site avec favicon.ico, apple-touch-icon, manifeste, theme-color, m3-tokens.css et aphrody-fonts.css du CDN, couleurs --md-sys-color-* (graine #e2dbad) et Google Sans Flex ; docs.json favicon, wordmarks et couleurs ; logo en tête du README
  • c419fa2ca8 2026-10-09 refactor(agent-plugin): le plugin présente le runtime Aphrody (aphrody-labs/bun) et non « le fork » : nom affiché, descriptions, messages des hooks et de doctor, règles de docs/project/agent-plugin.mdx ; skill d'entrée bun-fork renommé bun-aphrody, isFork → isAphrodyBun, option fork → aphrody de rewriteCommand
  • ecc805de2b 2026-10-09 docs(release): 1.4.3-aphrody.4 — commit 41211b56872, glibc 2.43 requise, libstdc++/libgcc pour musl, toolchain Windows (clang-cl, lld-link), problème connu des arguments sous musl ; auto-deploy décrit les archives de .4, image Docker et prod restées sur .3
  • c79c3c04b8 2026-10-09 fix(cli): arguments des sous-commandes pré-runtime lus depuis l'argv du C runtime (bun_core::os_args) : std::env::args_os() est vide sous musl, bun mcp/lsp/ssh/host/agent-plugin/uv/dotnet ignoraient leurs arguments
  • e1225373cb 2026-10-09 fix(tsconfig): baseUrl retiré de src/runtime/bake/tsconfig.json (TS5102 sous TypeScript 6), paths relatifs au fichier, tsc vert
  • 12fd6f9ac2 2026-10-09 fix(tsconfig): baseUrl retiré de src/tsconfig.json (TS5102 sous TypeScript 6), bindgen résolu par paths relatifs au fichier
  • 2cd309f7b1 2026-10-09 refactor(deploy): disposition unique des hôtes (~/src, ~/apps), plus de /srv
  • 446bde45ed 2026-10-09 fix(gates): typecheck de scripts/build vert (accès indexés non vérifiés de generate-agent-tools.ts et du générateur bun-agent-plugin : groupes de regex et index de tableaux)
  • 28b62bf8fd 2026-10-09 chore: retrait de packages/aphrody-bun-runtime (singleton de config et map de descripteurs FFI sans code natif ni consommateur, chemin /home/aphro/.gemini en dur, homonyme du paquet npm du runtime publié par publish-runtime.ts), de bunfig.aphrody.toml (cache /home/aphro/.gemini, lu par aucun outil) et du patch mort patches/aphrody/0001 qui les créait
  • b87d39d5e7 2026-10-09 fix(build): verrou de build repris quand il vient d'un autre hôte ou porte notre propre pid (conteneur précédent sur le même montage, autre espace de pid)
  • 3c064cc3de 2026-10-09 feat(site): aphrody.com généré depuis les dépôts (collect.ts -> pages.ts) : accueil produit de la distribution, index des composants (rôle, version, licence, upstream), runtime, M3, téléchargements et notes de version de la distribution, sécurité, contribution, identité, components.json
  • 41211b5687 2026-10-09 docs: identité du composant runtime d'Aphrody (README de composant, SECURITY, CONTRIBUTING, APHRODY.md, RELEASES.md .1 à .4, docs.json, installation, feedback, gabarits d'issues, liens source vers aphrody-labs/bun, action setup-bun du dépôt, note WebKit de la licence), descriptions npm publiées sans « fork », sync upstream garde les fichiers possédés (README, SECURITY, CODE_OF_CONDUCT, CONTRIBUTING, docs/installation.mdx)
  • 86ad19e8c7 2026-10-09 fix: zlib-sync garde la sortie des push Z_NO_FLUSH jusqu'au flush (partial frames), bun:cosmic config lit XDG_DATA_HOME/XDG_DATA_DIRS sous Windows, test toolchain --help hors du dépôt, installeurs : dernière release runtime (aphrody-v*) au lieu du Latest GitHub, target/ de bun-winsvc ignoré
  • 6cdb9e9368 2026-10-09 fix(runtime): build release vert (vfs_native sans module JS appelant retiré de bun_runtime, import Path inutilisé quand l'archive agent-plugin est embarquée)
  • 7ad0a820e7 2026-10-09 fix(gates): lint src/js vert (lectures de propriétés en double, spreads inutiles), snapshot de l'export JSON pris avant le premier await, deploy (identifiant de release, chemins POSIX protégés sous Windows), tests WebKit prébuilt du fork, baseUrl retiré de src/js/tsconfig.json
  • fb9fd59433 2026-10-09 feat(docker): docker-doctor.ts (moteur containerd, compose, buildx, réseau host, Model Runner, Kubernetes, image du fork sur PC/vps/dbfr), docs
  • 6aa80bbe28 2026-10-09 docs(msys2): rsync et rclone natifs du fork