# Experiments with POSSE

DevFeed: [Experiments with POSSE](<https://devfeed.tech/articles/experiments-with-posse-40501.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/shortform/2024-05-12-2028/>)

Published: 2024-05-13T03:28:54Z

Content type: opinion

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mastodon](<https://devfeed.tech/topics/mastodon.md>), [Hugo](<https://devfeed.tech/topics/hugo.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [Netlify](<https://devfeed.tech/topics/netlify.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [GitHub API](<https://devfeed.tech/topics/github-api.md>), [static-site-generator](<https://devfeed.tech/topics/static-site-generator.md>), [Python](<https://devfeed.tech/topics/python.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [github](<https://devfeed.tech/tags/github.md>), [github-action](<https://devfeed.tech/tags/github-action.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [hugo](<https://devfeed.tech/tags/hugo.md>), [indieweb](<https://devfeed.tech/tags/indieweb.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [mastodon](<https://devfeed.tech/tags/mastodon.md>), [netlify](<https://devfeed.tech/tags/netlify.md>), [posse](<https://devfeed.tech/tags/posse.md>), [python](<https://devfeed.tech/tags/python.md>), [shortform](<https://devfeed.tech/tags/shortform.md>)

## AI overview

The author describes an experiment that automates POSSE syndication by converting Hugo shortform posts into Mastodon threads. Netlify triggers a serverless function, which uses the GitHub API to start a GitHub Actions workflow; a Python script parses Markdown, publishes the thread through Mastodon.py, and records URL mappings in the repository.

## Source excerpt

POSSE stands for Publish (on your) Own Site, Syndicate Elsewhere. I first heard about it from Cory Doctorow. I'm experimenting with automation to convert posts tagged shortform into Mastodon threads (I'm mathstodon.xyz/@j2kun). I'm using Hugo as a static site generator, with the source a (private) GitHub repository, and Netlify for deployments. After a deployment, Netlify calls a serverless function that hits the GitHub API with a POST request to trigger a GitHub action workflow.