bentflower@l+0CONWqxChPs9swKv+tb2ahh80CZqN+1p46KncJnbc=.ed25519
I agree that message renderers are a good concrete example that would be useful to someone coming to depject for an SSB project.
The nice thing about the existing examples (the animal noises) is that they work without tying into any other code outside of depject. I don't know if there are any projects outside of the SSB ecosystem that use depject, but I'm sure that Dominic's design was supposed to work outside of SSB.
I think we can have the advantages of both if the worked examples are SSB-inspired rather than directly using any interfaces beyond what's in depject. Maybe include a line like "Secure Scuttlebutt messages actually use a format much like this one" and "some SSB tools use depject code much like this to handle rendering". Maybe a couple of links straight to some relevant code.
Built with git-ssb-web