# 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](../../../packages/hype/README.md) | Draws the page: signals, `html` templates and custom elements, in the browser or written to a string |
| [groutcho](../../../packages/groutcho/README.md) | Routing: which page an address shows, and moving between pages |
| [bark](../../../packages/bark/README.md) | Logs, timing and errors as records that can be traced to one request |
| [doc](../../../packages/doc/README.md) | 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](../../../packages/groutcho/core/README.md), and a thin layer
  that fits it to what draws the page. [For hype](../../../packages/groutcho/hype/README.md)
  the route is a signal and the outlet and links are hype elements. There are
  layers [for Lit](../../../packages/groutcho/lit/README.md) and
  [for React](../../../packages/groutcho/react/README.md) 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.
