Skip to content

Repository files navigation

Aiken Playground

The Aiken playground is a fully client side rust web app using leptos.

Features

  • Check code
    • Display warnings
    • Display Errors
  • Run tests
  • Format code
  • Share
  • Build validators (working but not surfaced in UI yet)

Development

  • cargo install trunk
  • cargo install --locked cargo-make
  • rustup target add wasm32-unknown-unknown
  • cargo make dev

Deployment

Cloudflare should only host the generated static site. The Rust/WASM build now runs on GitHub Actions via .github/workflows/continuous-deployment.yml, which:

  • installs Node.js and Rust on ubuntu-latest
  • builds the site with scripts/build-dist.sh
  • deploys the generated dist/ directory to Cloudflare Pages with wrangler pages deploy

Required GitHub secrets:

  • CLOUDFLARE_API_TOKEN
  • CLOUDFLARE_ACCOUNT_ID