Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
coopd
command
Command coopd is the Coop backend server.
|
Command coopd is the Coop backend server. |
|
internal
|
|
|
api
Package api serves Coop's HTTP surface: a parent side behind a session, and a read-mostly child side behind a paired device token.
|
Package api serves Coop's HTTP surface: a parent side behind a session, and a read-mostly child side behind a paired device token. |
|
auth
Package auth handles parent credentials, device tokens, pairing codes, and the scoping rules that decide which children a parent may act on.
|
Package auth handles parent credentials, device tokens, pairing codes, and the scoping rules that decide which children a parent may act on. |
|
cancellation
Package cancellation identifies operations that failed solely because their caller canceled.
|
Package cancellation identifies operations that failed solely because their caller canceled. |
|
cleanup
Package cleanup removes expired operational data on a daily schedule.
|
Package cleanup removes expired operational data on a daily schedule. |
|
config
Package config loads Coop's configuration from an optional TOML file overlaid by environment variables, and validates the result.
|
Package config loads Coop's configuration from an optional TOML file overlaid by environment variables, and validates the result. |
|
crypto
Package crypto seals the secrets Coop stores on a family's behalf: their YouTube API key and any TOTP secrets.
|
Package crypto seals the secrets Coop stores on a family's behalf: their YouTube API key and any TOTP secrets. |
|
domain
Package domain holds the value types shared between policy evaluation and persistence.
|
Package domain holds the value types shared between policy evaluation and persistence. |
|
feed
Package feed assembles what a child sees, composing the cached catalog with the policy engine and recording what was filtered.
|
Package feed assembles what a child sees, composing the cached catalog with the policy engine and recording what was filtered. |
|
ingest
Package ingest keeps the local catalog populated from approved channels.
|
Package ingest keeps the local catalog populated from approved channels. |
|
policy
Package policy decides what a child may see.
|
Package policy decides what a child may see. |
|
push
Package push delivers family notifications through APNs: a child's channel request to the parents who can act on it, and the decision back to the child's devices.
|
Package push delivers family notifications through APNs: a child's channel request to the parents who can act on it, and the decision back to the child's devices. |
|
rank
Package rank orders policy-approved videos from local activity signals.
|
Package rank orders policy-approved videos from local activity signals. |
|
store
Package store holds Coop's Postgres models and migrations.
|
Package store holds Coop's Postgres models and migrations. |
|
telemetry
Package telemetry configures Coop's OpenTelemetry runtime.
|
Package telemetry configures Coop's OpenTelemetry runtime. |
|
version
Package version carries build metadata stamped in by the linker.
|
Package version carries build metadata stamped in by the linker. |
|
webapp
Package webapp serves the embedded Cooper Watch browser client.
|
Package webapp serves the embedded Cooper Watch browser client. |
|
youtube
Package youtube talks to the YouTube Data API and the public channel feeds, with a response cache and a daily spend ledger in front of both.
|
Package youtube talks to the YouTube Data API and the public channel feeds, with a response cache and a daily spend ledger in front of both. |
|
youtubeclient
Package youtubeclient constructs family-scoped YouTube clients.
|
Package youtubeclient constructs family-scoped YouTube clients. |
Click to show internal directories.
Click to hide internal directories.





