Skip to content
View software-is-art's full-sized avatar
  • Simple Machines
  • New Zealand
  • 05:35 (UTC -12:00)

Block or report software-is-art

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 250 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
software-is-art/README.md

Software is Art Monorepo

This repository hosts experimental Rust projects built with a Buck2 based workflow. Each micro crate lives under crates/ and can be cached and deployed independently.

Crates

  • datastar-edge-worker – Server‑Sent Events example using Datastar on Cloudflare Workers.

    Run wrangler dev and open the root page to see a demo with the browser clock and a server clock patched in real time via Datastar events. The page imports the Datastar client library and applies incoming patch events to update the server clock.

CI

Buck2 orchestration lives in tools/ci.bxl and can be executed with buck2 bxl //tools:ci.bxl once the toolchain and third‑party deps are configured.

Tests

The datastar-edge-worker crate includes an end‑to‑end test that boots the worker with wrangler dev and verifies the streamed event. The test also records how long it takes for the first Datastar patch event to arrive, providing a simple view into edge worker latency. Run it with:

cargo test -p datastar-edge-worker -- --ignored

Wrangler dev

Compile the worker to WebAssembly with worker-build and launch wrangler dev:

rustup target add wasm32-unknown-unknown
cargo install worker-build
worker-build --release
npx wrangler dev build/worker/shim.mjs --local

If Buck2 is available it can cache the build artifacts:

buck2 build //crates/infra/datastar-edge-worker:datastar_edge_worker --target-platform=wasm32-unknown-unknown
wrangler dev $(buck2 targets --show-output //crates/infra/datastar-edge-worker:datastar_edge_worker --target-platform=wasm32-unknown-unknown | cut -d' ' -f2) --local

buck2 caches the wasm output so wrangler dev only rebuilds when the source or configuration changes.

Pinned Loading

  1. path-finder path-finder Public

    HoTT inspired PL

    Common Lisp 1

  2. vibe-git vibe-git Public

    Rust 3