Relay Button
relay-button provides reusable Aleph Cloud deployment tooling for
consumer projects that need to:
- build and publish RootFS images
- deploy Aleph VM instances
- publish static sites through Aleph/IPFS
- verify deployed relays and bootstrap addresses
- clean up older Aleph deployment records
This repo is the implementation layer behind Aleph deployment flows used by
consumer projects such as universal-connectivity.
Package Naming
Packages use the @le-space/* scope.
For example:
- package:
@le-space/node
What Exists Today
The repository currently contains working Aleph-specific support for:
- shared manifest and runtime types
- Aleph-backed relay bootstrap registration and discovery
- RootFS planning and publish helpers
- Aleph
STORE,INSTANCE,AGGREGATE, andFORGETflows - CRN discovery, ranking, and retry selection
- deployment inspection and polling
- runtime inspection and readiness polling
uc-go-peerguest configuration and verification- Node-side Aleph runners used by GitHub Actions
- a shared
aleph-vm-deployGitHub Action - a local Node CLI wrapper for the same shared runner paths
What Is Still In Progress
Some parts are still intentionally incomplete:
@le-space/browsernow published and usable still evolving, but already owns shared browser/PWA deployment helpers- the reusable workflow layer is still evolving
- some docs still describe current direction rather than final public API shape
Repository Shape
packages/shared-typespackage:@le-space/shared-typesShared contracts used across every package.packages/corepackage:@le-space/coreDeployment, runtime, CRN, guest, and retention logic that should not depend on GitHub Actions, browsers, or Node-specific environment parsing.packages/aleph-bootstrappackage:@le-space/aleph-bootstrapShared relay bootstrap registration and Aleph-backed bootstrap discovery.packages/nodepackage:@le-space/nodeNode adapters and Aleph runner entrypoints for CI and automation.packages/browserpackage:@le-space/browserBrowser-safe Aleph deployment helpers for PWAs and other browser clients. Current scope includes API polling, RootFS resolution, pricing, browser EVM helpers, and prepaid vault protocol helpers.packages/uipackage:@le-space/uiShared React and Svelte UI components for relay deployment, status display, and Sponsor Relay browser flows.packages/rootfspackage:@le-space/rootfsRootFS planning, manifests, reference assets, and build helpers..github/actions/aleph-vm-deployShared GitHub Action wrapper around the Node runner..github/workflows/aleph-rootfs-build-publish-deploy.ymlRelay Button workflow entrypoint.
Examples And Real Integrations
The examples/ directory is for thin reference skeletons and integration
shapes. It should not become a home for copied full applications.
Real integrations stay in their own repositories and are linked from docs as canonical references.
Current real references include:
universal-connectivity- especially the Aleph integration work in PR
#344
- especially the Aleph integration work in PR
aleph-libp2p-relay- especially
relay-deployer-pwaas the browser/PWA reference consumer
- especially
See also: