Slivers

Portable app bundles with precompiled bytecode and zero-downtime hot-swap

What are Slivers?

A sliver is a portable tar bundle of an application. It contains:

  • meta.json — hostname, timestamps, and the V8 bytecode version tag
  • vfs/ — the app's JavaScript, modules, WASM, and assets
  • bytecode.v8bc — optional V8 bytecode compiled at pack time

A sliver carries no heap snapshot. The app runs from its VFS source; when the embedded bytecode's version tag matches the running V8, the first request skips JavaScript parse and compile.

Creating a Sliver

Terminal
# Create sliver from running app
nano-rs sliver create localhost --name my-app --tag v1.0

# List slivers
nano-rs sliver list