{"repo":"pairshaped/libero-gleam","free":true,"listed":false,"github":"https://github.com/pairshaped/libero-gleam","clone":"git clone https://github.com/pairshaped/libero-gleam.git","description":"Gleam library that renders REST obsolete for SPAs and other Erlang-based clients.","language":"Gleam","stars":18,"topics":["gleam-lang","messaging","spa"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Libero Disclaimer: This library was developed with help from code assistance agents. Code-assisted pull requests are welcome, so long as they aren't objectively dumb. Libero is Rally's typed wire-contract layer for Gleam. Frameworks like Rally decide which values cross the boundary. Libero walks those seeded types, generates the codec artifacts, and exposes ETF and JSON wire helpers that agree on type identity. It does not scan handlers, generate dispatch modules, write app transport, or own request/result/push API design. That boundary is deliberate. For example, Rally owns pages, loaders, actions, request correlation, WebSocket lifecycle, SSR, hydration, and broadcast delivery. Libero owns the shared type graph and the protocol-facing pieces that must stay in lockstep. What Libero Generates Rally currently uses these Libero outputs: Artifact Purpose ---------- --------- generated@libero atoms.erl Pre-registers ETF atoms before safe BEAM decode. generated@libero wire.erl Converts seeded custom types between BEAM shape and wire shape. decoders ffi.mjs JavaScript ETF decoders for every discovered type. decoders.gleam Gleam wrapper that registers JavaScript decoders. etf.gleam Neutral ETF facade used by generated framework protocol code. contract.json JSON contract artifact with protocol version, hash, push types, SSR models, and discovered types. Libero also keeps the JSON codec generator and JSON wire helpers. Those are for framework-generated JSON contracts, not a separate s","default_branch":null,"files":null,"tree":[],"storefront":"/r/pairshaped","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pairshaped/libero-gleam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}