@diso.io

Introduction

Distributed social tools for a federated web: art, music, and personal sites.

diso is four pieces. Each one does a single job and is used on its own, and each has its own guide and reference here.

Piece What it does
hype Draws the page: signals, html templates and custom elements, in the browser or written to a string
groutcho Routing: which page an address shows, and moving between pages
bark Logs, timing and errors as records that can be traced to one request
doc Docs sites like this one

How they work together

  • hype depends on nothing. It is where an app's pages and elements are written.
  • groutcho is a router with no DOM in it, groutcho-core, and a thin layer that fits it to what draws the page. For hype the route is a signal and the outlet and links are hype elements. There are layers for Lit and for React too, so groutcho routes an app that uses no other part of diso.
  • bark depends on nothing and is called from anywhere: in the browser, in a Worker, in Node. It does not know about the other three.
  • doc is built from the others: a docs site is a hype app, routed by groutcho. This site is one.

They are published under the @diso.io scope on npm.

This page as Markdown