sourcehut-go is a set of Go libraries and command line utilities for interacting with SourceHut via the API.
Note: this is a work in progress.
sourcehut-go looks for a configuration file at
the XDG basedir-appropriate location). The simplest configuration is:
You can generate a personal access token in your meta.sr.ht OAuth settings. The file can also be used to specify which upstream instance of sr.ht you want to talk to for each service:
If you just use the canonical sr.ht instance for everything, then you don't need to configure this.