Maybe I can cut that down somewhat, because I already started some of the work: ~arnebab/wispwot - sourcehut hg
This is not yet finished, though. The goal is to have a simple REST server that any instance can use, even between different networks.
Longterm-plan: Expose a REST-service with the following actions:
- PUT an ID with trust values (trustee-ID,trust).
- GET an ID to receive its score.
- GET a list of IDs to check for update of trust and/or content.
- PUT new trust values directly (truster-ID,trustee-ID,trust) for fine-grained trust-control.
- POST a list of IDs you requested without seeing a change.
PUT of changed IDs and POST of lists of unchanged IDs drive the state
of the WoT.