2026-10-13 21:21:09 +02:00
2026-10-13 21:21:09 +02:00

Aphrody / Bun

A Bun 1.4.4 monorepo with 16 open source library forks and our pinned Bun Tauri v3 SDK. Aphrody owns the desktop identity; Bun owns JavaScript tooling.

Video is the current priority. The video adapter reuses native project, timeline, codec and export owners through Bun.

The workspace now owns app identity, provenance, hashes, source coverage, process lifetime and shared assets. App artifacts embed real native engines; the factory builds and qualifies them. Infra owns deployment, Git hosting and workflows.

Setup

Requires our aphrody-labs/bun runtime, Git and native Rust. Windows uses MSVC through bun msvc. Paths resolve from the checkout.

git clone https://github.com/aphrody-labs/bun-libraries.git
cd bun-libraries
bun run setup
bun run check

aphrody.config.json and Git submodule pointers pin the same commits. Setup preserves local changes and installs from bun.lock.

Commands

bun run catalog                          # library inventory
bun run status --json                     # pinned source state
bun run dev                              # local Aphrody shell
bun run build                            # Bun frontend/backend build
bun run fmt                              # native Bun formatting
bun run desktop:dev                      # native Bun Tauri shell
bun run desktop:build                    # native bundle and Bun sidecar
bun run workspace run photocraft --help  # headless library inspection
bun run workspace build filmcraft        # native library build
bun run workspace check craft-libs        # shared Rust workspace check
bun run artifacts list                    # independent app build inputs
bun scripts/build-apps.ts plan             # all app owners and availability
bun run assets plan                       # shared licensed asset manifest

The shell uses capability labels. Inspection runs only a configured headless CLI with --help. Source names remain internal config and license references. For an existing binary, use ignored .local/config.json:

{ "binaries": { "photocraft": ".local/bin/photocraft-cli.exe" } }

Unix binaries omit .exe. Native builds are serialized and bounded. Each native, SSH or Docker target needs its own toolchain and permissions. Standalone applications expose their complete engine with --native and require no checkout, Git or Cargo. Their HTTP binding requires a protected application token. Generation reuses the existing router's JSONL native CLI.

Frontend library tooling

bun install --cwd libraries/artcraft/frontend --frozen-lockfile --ignore-scripts
bun run frontend:build

The imported React source builds with Bun. Its historical Tauri v2 shell and tests remain source references; our desktop uses Bun Tauri v3.

Architecture, provenance, style, migration, qualification. The session report records publication and remaining gates. Source licenses and notices apply. JavaScript builds do not qualify native engines, CEF, installers or providers.

S
Description
No description provided
Readme MIT
343 KiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 93.9%
CSS 4.1%
HTML 1%
PowerShell 0.8%
Rust 0.2%