Alpha. Vary is under active development and not ready for production use. Syntax, APIs, performance, and behaviour may change between releases.

Example Vary programs

Download small complete Vary programs as source zips. The first package is the examples/echo Via app.

Echo API example

Complete Vary API app packaged as a source zip.

echo.zip · 3,450 bytes
Download echo.zip

Echo API example

echo.zip contains a complete Vary API app with source, tests, project metadata, and a Via app manifest.

Source path: examples/echo.

To check the download:

printf '%s  %s\n' \
  '6af0c6c1d675f36a29324ea6b31c251d6ab5ec45ade6d20cc9be177704e8d93c' \
  'echo.zip' | sha256sum -c -

After downloading:

unzip echo.zip
cd examples/echo
vary test tests/test_echo.vary

To deploy it on Via, use the app manifest in the archive:

vary app preflight echo --workdir . --apply-manifest --fix --approve
vary app deploy echo --workdir . --apply-manifest
vary app smoke echo