Official public examples for learning and smoke-testing Appaloft.
Canonical repository: https://github.com/appaloft/examples
Cloud monorepo mirror (private maintenance): appaloft-cloud/examples/.
| Directory | Purpose | Deploy path |
|---|---|---|
hello/ | Minimal Node HTTP + Dockerfile + /health | git-public · port 3000 · launch smoke default |
oneclick/ | One-click Blueprint (Dockerfile runtime) | remote Blueprint URL under /oneclick |
static/ | Static site upload (no build) | ZIP/folder upload of /static |
vite-static/ | Vite build → nginx static | git-public · port 8080 |
python-http/ | Python stdlib HTTP | git-public · port 8000 |
go-http/ | Go stdlib HTTP | git-public · port 8080 |
env-service/ | Non-secret env injection demo | git-public · port 3000 · /api/config |
compose-stack/ | Docker Compose web + api | docker-compose · public port 8080 |
sandbox-agent/ | Chat-to-app, human approval, and preview-to-promotion SDK flows | Appaloft 1.2+ · Private preview |
sandbox-jobs/ | Deterministic code, offline documents, and bounded script jobs without Promotion | Appaloft 1.2+ · Private preview |
Use sandbox-jobs/ when a SaaS needs an isolated task result rather than a
published application. The examples write inputs, execute existing code without Pi, read structured
results, and terminate the Sandbox in finally.
| Workload | Sandbox | Agent | Promotion |
|---|---|---|---|
| Existing script execution | ✓ | — | — |
| Natural-language analysis | ✓ | ✓ | — |
| Document processing | ✓ | Optional | — |
| Generate and publish an application | ✓ | ✓ | ✓ |
| Public-web crawler | Waiting for egress allowlist | — | — |
Start with the Sandbox Jobs guide or open the code interpreter, document processor, and script runner directly.
appaloft resource create \
--name example-hello \
--source-kind git-public \
--git-url https://github.com/appaloft/examples.git \
--git-ref main \
--base-directory /hello \
--port 3000 \
--health-path /healthOr Cloud Console → Quick Deploy → public Git → this repo → base directory hello.
Manifest:
https://raw.githubusercontent.com/appaloft/examples/main/oneclick/appaloft.blueprint.yaml
./scripts/smoke-all-local.shEach example also has ./scripts/smoke-local.sh (where applicable). Official Cloud launch smoke remains on hello.
| Content | Destination |
|---|---|
examples_repo_hero | www.appaloft.com |
example_hello_console | Cloud Console |
example_static_cta | Static-site guide |
- Each example is a self-contained deploy unit under its own directory.
- No Cloud commercial secrets or private package names.
- Prefer small images and zero private dependencies for smoke hosts.
- Keep official launch smoke on
hello(baseDirectory=/hello). - Non-3000 ports, multi-language, env injection, and compose are covered by dedicated directories above.
MIT — see root LICENSE and per-example notes.