Rand Stats

Air::Play

zef:librasteve

Air::Play

Playing with the HARC stack (HTMX, Air, Raku, Cro) Examples with Pico CSS

path is

  1. get to the point where I can build a website on Cro the right way
  2. build a static site example that could be a new design for raku.org and then offer it to the team,
  3. add htmx based edit / preview to certain pages for admin (like the current rakudoc site), with raku syntax highlighting with Rainbow and
  4. do something similar for markdown

Pitch

https://chatgpt.com/share/67646547-ee48-8009-8354-0e4ced492f96


TODOs


Local

GETTING STARTED

Install raku - eg. from rakubrew, then:

Install Air, Cro & Red

Install this repo

Run and view it

You will note that cro has many other options as documented at Cro if you want to deploy to a production server.

TIPS & EXTRAS


Server

Development

Pico CSS (IntelliJ)

install sass (in the static/css dir)

Deployment

Build

this site runs on a linux server preloaded with git, raku, zef (& docker-compose)


COPYRIGHT AND LICENSE

copyright(c) 2025 Contributors

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.


TODOS

NB. this will evolve as more work is done (e.g. docker)...

You can also build and run a docker image while in the app root using:

docker build -t this .
docker run --rm -p 8888:8888 this