Skip to content
Cooperation-orgPublic

About

Templates for apps that compose into one dashboard and work on their own

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

baobab

Apps are not built in this repo. Each app is its own repo, built by its own developers, and follows CONTRACT.md. That gives every app the same LinkedTrust sign-in and web components any instance can show. The nav bar and theme belong to each instance (a dashboard app: workers.vc, VolKit), not to baobab; one app can appear in several instances' nav bars. This repo holds only the contract, two starter templates, the patterns, and the gallery of shared components.

Add something

  1. Repo. A new system: uvx copier copy --trust gh:Cooperation-org/baobab <your-app> (backend template). An app that already exists keeps its code and follows CONTRACT.md section 12.
  2. Sign-in. Register your own LinkedTrust OIDC client (section 1).
  3. Components. Ship static/embed/<slug>.js from your backend (section 2), and add a row to COMPONENTS.md.
  4. Menu. Ask whoever runs each instance you want to appear in to add your app under Apps. A place in that instance's nav bar is a row in its data (a label and a URL), not a change to its code (section 6).

No step needs another team to change their code. Your app links to records in other systems by URL.

Why, in the project owner's words

  • "The top level thing is a single sign-on."
  • "Different backends, including existing open source, making it easy to start a new project that either fits in an existing dashboard system or a new project that has its own dashboard and multiple components."
  • "Web components that are tightly tied to their back end but are malleable in terms of what the user sees."
  • "The configurable nav bar so that a human can have a single view into everything that they want to interact with that might include existing other systems."
  • "An AI agent that has the context of all the different systems." That is amebo.
  • "Unified user experience most important and AI able to help across (readonly when security not there, mostly write tasks chatter things like that)."
  • "We're trying to help people work together better."

GovKit (dash.workers.vc) is the dashboard for workers.vc. It does not change to fit this repo.

Read CONTRACT.md. Shapes that repeat across apps: patterns/. Agents: AGENTS.md. Web components that exist: COMPONENTS.md, running at https://demos.linkedtrust.us/baobab/components/.

Pick one

You are building Pick
A system with its own data and web components (tasks, planning, money) backend
Views into a remote service through its API key or its own OAuth (Mobilize) backend, as a layer over its API (CONTRACT.md section 12)
A dashboard and nav bar for a community outside workers.vc dashboard
uvx copier copy --trust gh:Cooperation-org/baobab my-app

An existing system (Odoo, Taiga, an app not made from these templates) joins by CONTRACT.md section 12.

How they fit

                LinkedTrust sign-in
                        │
     ┌──────────────────┼───────────────────┐
     ▼                  ▼                   ▼
 dashboard app      backend A            existing system
 nav bar, layouts   + its web            (CRM, Taiga)
 arranges ─────────► components          + its web components
 components ──────────────────────────────►
                                   amebo: tools across all of them

A web component talks only to its own backend. Backends do not call each other; records refer to each other by URL, and amebo does work across systems.

Status

scripts/check.sh generates both templates and runs their tests; it passes. VolKit (Raise-the-Voices/volkit) is made from the dashboard template.

Keeping the templates right: MAINTAINING.md.

About

Templates for apps that compose into one dashboard and work on their own

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages