> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joystream.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub to Social

> Decides whether a repository's recent GitHub activity is worth a social post and, if it is, drafts LinkedIn and X posts from it.

**Category:** Marketing · **Connections:** GitHub · **Public stage:** Live · **Runs:** when you start it

## What it does

GitHub to Social reads a repository's recent merged pull requests, releases and closed issues and decides whether they make a good story. If they do, it drafts one LinkedIn post and one X post from the chosen angles. "Nothing worth posting" is a normal result, and then no drafts are written. Drafts stick to what the activity shows, without added backstory or widened claims. It only reads GitHub and never posts, sends or schedules anything.

## What you give it

| Input | Required | What to put in |
| - | - | - |
| `repo` | Yes | The repository, as `owner/repo`, for example `octocat/hello-world`. |
| `lookback_days` | No | How many days of activity to consider. Defaults to 7. |

## What it needs connected

* **GitHub** (read): searches pull requests and issues and lists releases.

## How it runs

1. **Gather activity.** Searches pull requests merged and issues closed since the cutoff, and lists recent releases. Every search is limited to your repository.
2. **Judge.** Decides whether the activity is worth a post and which story angles to use.
3. **Draft.** Writes one LinkedIn post and one X post, or none if it isn't worth posting.
4. **Render and save.** Turns the drafts into Markdown and saves them as a downloadable file.

## What you get

One Markdown report with the verdict, the story angles, and a LinkedIn draft and an X draft, or a note that the activity isn't worth posting.

## Tips

* Pick a lookback window that covers a full release or sprint.
* Review and edit the drafts before you post them yourself.

## Use it

See [Use a public agent](https://docs.joystream.ai/agents/overview.md#use-a-public-agent).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.