How axiomwtf/honeybun works
honey is a single-binary JavaScript/TypeScript toolchain. A developer invokes honey or hxney to run scripts, build bundles, manage packages, test, or migrate code; the CLI routes work through the daemon when available, which reuses a warm V8 runtime. Separate branches cover package resolution and installation, bundling, test/watch workflows, and configuration hooks. The README documents the overall flow and capabilities; some subsystem links rely on that documentation because the sampled source excerpts are partial.
Main entry points: honey.rs honey CLI · daemon.rs Persistent daemon · lib.rs Package manager · runtime.rs JS runtime
Components 18
CLI and Daemon
- honey CLI
src/bin/honey.rs - hxney CLI
src/bin/hxney.rs - Persistent daemon
src/daemon.rs - Daemon service
src/service.rs
Execution and Engine
- JS runtime
src/runtime.rs - V8 engine
- Config hooks
src/config.rs - Cinnamon bundler
src/build.rs
Package Management
- Package manager
src/lib.rs - Package metadata
src/package.rs - Registry resolver
src/registry.rs - Package store
src/cinm.rs
Project Workflows
- Test runner
src/daemon.rs - File watcher
src/watch.rs - JS migration
src/migrate.rs
Other components
- Developer
- npm registry
- Project files
Connections 25
- Developer → honey CLI: invokes
README.md - Developer → hxney CLI: invokes
README.md - honey CLI → Persistent daemon: requests commands
README.md - honey CLI → JS runtime: falls back
README.md - Persistent daemon → JS runtime: executes scripts
src/daemon.rs - JS runtime → V8 engine: executes on
README.md - honey CLI → Cinnamon bundler: builds with
README.md - honey CLI → Package manager: manages packages
README.md - hxney CLI → Package manager: runs npm commands
README.md - Package manager → Registry resolver: resolves packages
src/lib.rs - Registry resolver → npm registry: fetches metadata
src/registry.rs - Registry resolver → Package metadata: returns package data
src/registry.rs - Package manager → Package store: installs packages
src/lib.rs - Package store → npm registry: downloads tarballs
src/cinm.rs - Package manager → Project files: updates manifests
src/lib.rs - honey CLI → Test runner: runs tests
README.md - Test runner → JS runtime: executes test files
README.md - honey CLI → JS migration: migrates code
README.md - honey CLI → File watcher: watches changes
README.md - Persistent daemon → File watcher: watches rebuild inputs
src/daemon.rs - Persistent daemon → Cinnamon bundler: rebuilds bundles
README.md - honey CLI → Config hooks: runs hooks
README.md - Config hooks → JS runtime: evaluates hooks
src/config.rs - honey CLI → Daemon service: controls service
src/service.rs - Persistent daemon → Project files: loads modules
README.md