Koinony

How it works

One small model carries everything: who people are, which groups they belong to, what they may do, and whatever else your organization keeps.

Collections, fields and relations

Everything is an entry in a collection. People and Groups are built in; you add your own, such as events, classes or a list of useful sites. Each collection has fields: text, lists with colours, tags, links, dates where any part may be left out, weekly meeting times, addresses in parts, pictures, and relations to other collections.

Membership is a relation between People and Groups that carries the role, the dates and the order. So "everyone in this department, including its teams" or "people who lead a team" are ordinary filters, not special code.

Fields can be computed (an age from a birthday), validated ("at most 60 characters for the children's edition"), or looked up from another collection (pick a room, and its address comes with it).

Views

A view is a saved way of looking at data, and it may draw on several collections at once: a small-group directory with each group's leaders and meeting times, a phone list for one area, a home page of app tiles. Views have sections inside sections, filters, search, and layouts: table, cards, tiles, tree, calendar, or your own template and CSS. A view can be public, for signed-in people, or for certain roles, and it never shows anyone more than they may see.

Access, like cloud IAM

Groups that set things once

Settings made on a group apply to the groups below unless one overrides them: the roles each team offers, who may be a direct member (nobody, for a group that only holds other groups), field defaults, invitation templates. Each group shows where every setting comes from.

Invitations are flows

A flow asks for what it needs (a name, a birthday, a passkey, a social sign-in), checks everything first, and only then does its steps: join a group with a role, fill in fields, start another flow, tell a connected system. Joining a group is one step among many. The Invite button on a group starts a ready-made "Join this group" flow.

Connected systems and open edges

From one server to many

A small organization runs one Node.js process and one MongoDB in Docker Compose, behind its existing reverse proxy. App processes keep no state of their own (sessions, challenges and caches live in the database), so a large one adds processes behind a load balancer, and MongoDB grows with replica sets for availability and sharding for size. Each collection has its own indexes and can let old entries expire, so sessions, challenges and old logs clean themselves up. Secrets are sealed with keys from the environment, so a database dump alone reveals nothing.