I’m not sure what is required here, since this is already implemented (that’s what pijul log
does, for example, and the code for that is rather short). Together with pijul channel
to list the channels, this could even be implemented in an external script, so I’ll close for now.
Feel free to reopen if this is still an issue.
see also: Zulip