Skip to content

agentio/publish

Repository files navigation

publish

This little tool publishes posts from my Hugo website to Sifa by creating "publication" records for each.

It's got some hard-coded stuff in it (site name, repo, etc), and you won't find any auth... instead it uses slink to create the records using environment variables that I set with the HOSTUSER script.

Here's how it currently looks when I run it:

$ publish hugo ../site/content
2026/04/09 12:04:09 INFO POST https://inkcap.us-east.host.bsky.network/xrpc/com.atproto.repo.putRecord
2026/04/09 12:04:09 INFO authorization: Bearer eyJ0eX...
2026/04/09 12:04:09 INFO 200 (186 bytes)
2026/04/09 12:04:09 &{Cid:bafyreihdr3dviu5xnrqpwebsz2x5wjebxivmqejz2uwbfmgve4jpselwdu Commit:<nil> Uri:at://did:plc:ahr5yhciwadehhwm7fotyfju/id.sifa.profile.publication/3lwzo2ioc2222 ValidationStatus:0x29ed192c31c0}
... lots of similar messages ...
2026/04/09 12:04:17 INFO POST https://inkcap.us-east.host.bsky.network/xrpc/com.atproto.repo.putRecord
2026/04/09 12:04:17 INFO authorization: Bearer eyJ0eX...
2026/04/09 12:04:17 INFO 200 (186 bytes)
2026/04/09 12:04:17 &{Cid:bafyreiaubw74jddnh3gsh6zbec5yhvucrrulofnh6ea3c34mghrcvgofri Commit:<nil> Uri:at://did:plc:ahr5yhciwadehhwm7fotyfju/id.sifa.profile.publication/3mhysreac2222 ValidationStatus:0x29ed18eea8f0}

About

Publish posts from my Hugo web site to Sifa.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors