seren-kitchen
The kitchen: a fridge per Seren app, magnets for whoever holds it, and the notes we leave each other. Part of Seren.
pip install seren-kitchen
seren-kitchen # http://127.0.0.1:7431/viewer
seren-kitchen --describe # its identity card, stdlib only
What is on the wall
Fridges. One per app, each in the colour its own Starwright card declares.
The wall starts as the whole family; the yaml adds, drops or recolours. The
freezer shows facts (latest release, build) that whoever knows sets with
POST /api/fridges/{name}/facts; the kitchen looks nothing up itself.
Magnets. One per partner: their picture (a data URL they provide; none ship), the text that starts their session (click the magnet to copy it), and the fridge they are stuck to. A magnet on a fridge is who holds that repo right now. It stays where it was left when the session ends, and remembers where it was before.
Sheets. A sheet is one piece of paper: a title in someone's hand and lines under it that can be ticked. A list is one sheet with many lines; a thought is a sheet with one. Its kind says where it sits:
| kind | sits on | what it is |
|---|---|---|
now |
the door | honey-do now |
list |
the shelf | honey-do list |
person |
the door | a note to the person of the house (house.person names them) |
other |
the door | a note to the partner (house.partner names them) |
self |
the door | a note to self |
art |
the crisper | a picture, a sketch, a link to one |
decision |
the door | options and a pick; unpicked past sour_after_days it goes sour |
Every line ticked, or done, moves a sheet to the leftovers. A pick
finishes a decision. DELETE takes a sheet off the fridge for good.
The API
GET /api/kitchen the wall: fridges, magnets, the sheets on the doors
GET /api/fridges/{name} one fridge opened: door, shelf, crisper, leftovers, magnets
POST /api/fridges/{name}/facts {"release": "5.6.1", "build": "ok"}; null forgets a key
POST /api/fridges/{name}/sheets {"kind", "title", "lines": [], "author", "pin", "options": []}
GET /api/sheets?fridge=&kind=&place=&author=&open=true
GET /api/sheets/{id}
PATCH /api/sheets/{id} title | lines | add_lines | tick | untick | place | x | y | rot | pin | fridge | done | pick
DELETE /api/sheets/{id}
GET /api/magnets
POST /api/magnets {"partner", "starter", "picture"}
POST /api/magnets/{partner}/stick {"fridge": "seren-memory" | null, "x", "y"}
DELETE /api/magnets/{partner}
POST /api/sheets/{id}/reply {"kind", "title", "lines", "author", "line"}: a sheet stuck on a sheet
POST /api/sheets/{id}/art the request body IS the picture (image/png, jpeg, gif or webp; 8 MB at most)
GET /api/art/{file} a sheet's picture, public (an <img> cannot send a bearer)
POST /api/freezer/refresh read GitHub for every fridge now
GET /api/fonts/{name|freezer|hand} the configured font file, public (a stylesheet cannot send a bearer)
Pictures live as files in <state_dir>/art/, one per sheet, and come down with
the sheet. The freezer (github: in the yaml) reads each fridge's latest release
or tag and the last workflow run's conclusion, once an hour unauthenticated; a
token named by github.token_env lifts GitHub's ceiling.
A refusal is a 400 with the reason in plain words. Writes are guarded by the
bearer like the rest of the family; loopback with no token is open, and a wider
bind without one is refused at startup.
Configuration
--config, then $SEREN_KITCHEN_CONFIG, then ~/seren-kitchen/seren-kitchen.yaml.
See seren-kitchen.yaml.sample. The state is one JSON file, kitchen.json, in
state_dir, written whole and atomically; back it up with cp.
Fonts are paths on the box, never shipped: fonts.name (the repo name on the
freezer), fonts.freezer (the facts), fonts.hand (the notes), and
fonts.hands (one hand per author: a sheet signed by that name is drawn in
that font). Unset, the page falls back to system fonts. house.person and
house.partner are the names the page puts on "to the person" and "to the
partner".
Why it is the way it is
DESIGN.md beside this file holds the reasons behind the kitchen's shape:
what each decision was for, so a change can be made knowing what it undoes.
License
AGPL-3.0-or-later.
Metadata
Release files for seren-kitchen 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| seren_kitchen-0.6.1.tar.gz | 75.1 kB | With provenance | Details for seren_kitchen-0.6.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seren_kitchen-0.6.1-py3-none-any.whl | Python 3 | none | any | Details for seren_kitchen-0.6.1-py3-none-any.whl |
Total release size: 138.2 kB
Release files / seren_kitchen-0.6.1.tar.gz
| Download URL | seren_kitchen-0.6.1.tar.gz |
|---|---|
| Size | 75.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bf3d1bce32f6f7e200c329a2dcd3cb368dfc9681ad0ca6b770b9e592867706e
|
|
BLAKE2b-256 checksum How to use checksums |
b2edc98e0db1c7c655991205e272acc2a74a5b81c43f9b446886efebcf76b806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logRelease files / seren_kitchen-0.6.1-py3-none-any.whl
| Download URL | seren_kitchen-0.6.1-py3-none-any.whl |
|---|---|
| Size | 63.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f852e8a0fdba40114352965143452d36fa4eaf33a8dde984ef9624546583a57
|
|
BLAKE2b-256 checksum How to use checksums |
1d137f11fad9d4d2d10483ad563320460ebe095e8f969fd9a9ed76451ffc56d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logSecurity for seren-kitchen 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for seren_kitchen-0.6.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.