Publish via Micropub
IndieAuth
Section titled “IndieAuth”- Ensure your site advertises IndieAuth endpoints.
- Run
otso login <micropub-endpoint>
to obtain a token.
Configure endpoint
Section titled “Configure endpoint”Set the token and endpoint in otsorc.yml
:
micropub: endpoint: https://example.com/micropub token: $INDIEAUTH_TOKEN
Publish
Section titled “Publish”otso publish note.md
Otso sends a Micropub create request with content and media. Responses include the canonical URL which becomes the event’s permalink.