~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs

0
0
main
39 lines · 2.7 KB Raw History

Examples

Small ones here, run offline by their tests; real applications in their own repos.

In this repo

examplewhattry it
examples/rust/hellocount an account's records (public reads)atlibs run examples/rust/hello count '{"did":"…","collection":"…"}'
examples/web/helloa page: count signed out, set your status signed inRun modules in a page
examples/rust/statusphereset or clear an xyz.statusphere.status (writes, anyRecords, fan-out)atlibs run examples/rust/statusphere set_status '{"status":"🦋"}' --as you
examples/rust/vibescrobblepost a com.vibescrobble.scrobbleatlibs run examples/rust/vibescrobble scrobble '{"text":"🚀 shipped"}' --as you
examples/rust/echoevery event kind: a relay subscription, timers, input, an iroh sessionCalls
examples/rust/composea composition (compose.ts writes composition.json): routed calls, a callback, a policy, a handlerCompositions
examples/rust-composethe same composition in Rust (atlibs-compose)Compositions
examples/node-honoan existing Node server (Hono) serving staged modules with sign-inNode servers
examples/rust-hosta Rust program running a module with atlibs-host (by git, pinned)Use in Rust

Every module's tests:

node --test examples/rust/{hello,statusphere,vibescrobble,echo}/test.mjs examples/web/hello/*.test.mjs 2>&1 | grep -E '^ℹ fail'
ℹ fail 0

In their own repos

repowhat
atlibs-fedproxySSH keys for fedproxy.com: the module, a page, the same page as a web tile, and serving XRPC from a module through the xrpc.fedproxy.com ingress relay
atlibs-socialweb-computer-requesterthe socialweb.computer compute-market requester (RFPs, bids, accept, release), its policy modules, and a page for compute
atlibs-agentslaunching agents on won VMs: a service on the Rust host with service-auth, and its page; the atirc chat module and page
atlibs-irohthe iroh transport (Transports)
atlibs-webrtcthe WebRTC transport and a browser shell to a VM (Transports)

Previous: Transports | Next: Reference: lexicons