{"id":15058747,"url":"https://github.com/socialflows/actionsflow-trigger-activitypub","last_synced_at":"2026-01-02T16:33:45.631Z","repository":{"id":212656047,"uuid":"732004306","full_name":"socialflows/actionsflow-trigger-activitypub","owner":"socialflows","description":"Actionsflow trigger for ActivityPub","archived":false,"fork":false,"pushed_at":"2023-12-17T17:16:05.000Z","size":295,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T23:48:27.443Z","etag":null,"topics":["actionsflow","activitypub","social","social-media"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/socialflows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-15T11:56:39.000Z","updated_at":"2023-12-17T21:22:53.000Z","dependencies_parsed_at":"2023-12-17T22:19:57.268Z","dependency_job_id":null,"html_url":"https://github.com/socialflows/actionsflow-trigger-activitypub","commit_stats":null,"previous_names":["rg-wood/actionsflow-trigger-activitypub","socialflows/actionsflow-trigger-activitypub"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialflows%2Factionsflow-trigger-activitypub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialflows%2Factionsflow-trigger-activitypub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialflows%2Factionsflow-trigger-activitypub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialflows%2Factionsflow-trigger-activitypub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socialflows","download_url":"https://codeload.github.com/socialflows/actionsflow-trigger-activitypub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243707382,"owners_count":20334619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actionsflow","activitypub","social","social-media"],"created_at":"2024-09-24T22:29:17.081Z","updated_at":"2026-01-02T16:33:45.590Z","avatar_url":"https://github.com/socialflows.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@actionsflow/activitypub-trigger`\n\nThis is an [Actionsflow](https://actionsflow.github.io/) trigger for ActivityPub.\n\n## Install\n\n```bash\nnpm i @actionsflow/trigger-activitypub --save\n```\n\n## Usage\n\n```yaml\non:\n  activitypub:\n    host: example.org\n    user: test\n```\n\n## Options\n\n- `host`, required, hostname of source ActivityPub instance\n- `user`, required, source user account\n\n\u003e You can use [General Config for Actionsflow Trigger](https://actionsflow.github.io/docs/workflow/#ontriggerconfig) for more customization.\n\n## Outputs\n\nThis trigger's outputs will be the following object.\n\nAn outputs example:\n\n```json\n{\n  \"uri\": \"uniqueId\",\n  \"message\": \"hello world title\",\n  \"replyto\": \"optionalUniqueReplyId\"\n}\n```\n\nYou can use the outputs like this:\n\n```yaml\njobs:\n  print:\n    name: Print\n    runs-on: ubuntu-latest\n    steps:\n      - name: Print Post Outputs\n        env:\n          uri: ${{on.activitypub.outputs.uri}}\n          message: ${{on.activitypub.outputs.message}}\n          reply: ${{ on.activitypub.outputs.replyto}}\n        run: |\n          echo uri: $uri\n          echo message: $message\n          echo reply: $reply\n```\n\n## Limitations\n\nPlease note that:\n\n* **Direct replies only.** By design, the trigger will only fire for direct replies from the original account owner.\n* **30 minute Cutoff.** Similarly, the trigger will ignore any posts made within a cutoff period of half-an-hour. Any posts made before `T - 30` will be ignored to prevent accidental spamming.\n* **No media.** We do not currently support media attachments.\n* **No polls.** We do not currently support poll posts.\n* **Public only.** We only support public ActivityPub posts.\n* **English only.** We  currently only support posts using the `en` (English) language code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocialflows%2Factionsflow-trigger-activitypub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocialflows%2Factionsflow-trigger-activitypub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocialflows%2Factionsflow-trigger-activitypub/lists"}