- JavaScript 76%
- HTML 15%
- Go 7%
- CSS 2%
- PowerShell <1%
- 1 more language <1%
Sleeping Beauty #
A native host Spindle for Tangled: the runner that sleeps until a pipeline touches the spindle, then wakes and runs steps on this machine (engine: host). macOS Keychain, Windows Azure signing, and real toolchains stay where they belong.
Start here: straiforos.tngl.sh/sleeping-beauty
Setup is a short mise-en-place walkthrough (DID, build, install, Verify). Architecture ADRs live there too.
./scripts/fetch-core.sh
go build -o bin/sleeping-beauty ./cmd/sleeping-beauty/
./bin/sleeping-beauty install
Layout #
sleeping-beauty/
├── cmd/sleeping-beauty/ CLI: run, install, uninstall
├── spindle/engines/host/ host engine (models.Engine)
├── internal/
│ ├── config/ BEAUTY_* env
│ ├── install/ service install + healthcheck
│ └── reachability/ Tailscale, ngrok, manual
├── docs/ VitePress source
├── site/ built docs (Tangled Sites)
├── configs/ env template
└── install/ shell fallbacks (macos / windows)
Contributing #
Glad you're here. Keep changes focused and project-agnostic: product release scripts belong in consuming repos, not this one.
Ideas and reachability providers: open an issue to suggest additions, or send a PR that implements a provider under internal/reachability/ (for example ngrok, Cloudflare Tunnel, or another way to expose the spindle for Tangled Verify). Match the existing Provider / Tunnel interfaces and register it in Default().
- Read the docs and setup guide so the install path stays coherent.
- Prefer small PRs: one concern (engine, install, reachability, docs).
- Code:
go test ./...(at least the package you touched). Match existing layout: host engine underspindle/engines/host/, install/CLI underinternal/+cmd/. - Docs: edit Markdown under
docs/, thennpm run docs:buildand commit the updatedsite/so Tangled stays in sync. - New architectural decisions go in
docs/architecture/(use the template); update the architecture index and VitePress sidebar when you add a page. - Open a PR on Tangled against
main. Say why in the description; link an ADR when the change is structural.
Questions welcome in issues and PR discussion. No CLA drama, just clear diffs.