{"id":15757492,"url":"https://github.com/cbrgm/bluesky-github-action","last_synced_at":"2025-03-13T17:34:28.488Z","repository":{"id":231603017,"uuid":"782142032","full_name":"cbrgm/bluesky-github-action","owner":"cbrgm","description":"Send posts to Bluesky Social from GitHub Actions","archived":false,"fork":false,"pushed_at":"2025-03-04T16:06:49.000Z","size":47,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T19:16:31.919Z","etag":null,"topics":["bluesky","bluesky-app","github","github-actions","post","status"],"latest_commit_sha":null,"homepage":"https://bsky.social","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbrgm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"chrisbargmann"}},"created_at":"2024-04-04T18:05:00.000Z","updated_at":"2025-03-04T16:06:52.000Z","dependencies_parsed_at":"2024-04-04T21:27:42.790Z","dependency_job_id":"33b928e5-0548-48af-9859-9da4e6697bed","html_url":"https://github.com/cbrgm/bluesky-github-action","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":0.5714285714285714,"last_synced_commit":"b04c5503e20d47e9d54380520c313c21695bf457"},"previous_names":["cbrgm/bluesky-github-action"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fbluesky-github-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fbluesky-github-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fbluesky-github-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbrgm%2Fbluesky-github-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbrgm","download_url":"https://codeload.github.com/cbrgm/bluesky-github-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243448342,"owners_count":20292591,"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":["bluesky","bluesky-app","github","github-actions","post","status"],"created_at":"2024-10-04T09:21:37.462Z","updated_at":"2025-03-13T17:34:28.159Z","avatar_url":"https://github.com/cbrgm.png","language":"Go","readme":"# Bluesky Send GitHub Action\n\n\u003cimg\n  src=\"https://upload.wikimedia.org/wikipedia/commons/7/7a/Bluesky_Logo.svg\"\n  width=\"120px\"\n  align=\"right\"\n/\u003e\n\n**Use this action to send a post from a GitHub Actions workflow to Bluesky.**\n\n[![GitHub release](https://img.shields.io/github/release/cbrgm/bluesky-github-action.svg)](https://github.com/cbrgm/bluesky-github-action)\n[![Go Report Card](https://goreportcard.com/badge/github.com/cbrgm/bluesky-github-action)](https://goreportcard.com/report/github.com/cbrgm/bluesky-github-action)\n[![go-lint-test](https://github.com/cbrgm/bluesky-github-action/actions/workflows/go-lint-test.yml/badge.svg)](https://github.com/cbrgm/bluesky-github-action/actions/workflows/go-lint-test.yml)\n[![go-binaries](https://github.com/cbrgm/bluesky-github-action/actions/workflows/go-binaries.yml/badge.svg)](https://github.com/cbrgm/bluesky-github-action/actions/workflows/go-binaries.yml)\n[![container](https://github.com/cbrgm/bluesky-github-action/actions/workflows/container.yml/badge.svg)](https://github.com/cbrgm/bluesky-github-action/actions/workflows/container.yml)\n\n## Inputs\n\n- `handle`: **Required** - Your Bluesky user handle for authentication. It's recommended to use secrets to protect your handle.\n- `password`: **Required** - Your password for authentication with Bluesky. It's recommended to use secrets to protect your password.\n- `text`: **Required** - The content of the post to be sent to Bluesky.\n\n- `pds-url`: Optional - The URL of the Bluesky PDS (Personal Data Server).\n- `lang`: Optional - A comma-separated list of ISO 639 language codes for the post. Helps in categorizing the post by language.\n- `log-level`: Optional - Specifies the logging level (`debug`, `info`, `warn`, `error`). Defaults to `info`.\n\n## Container Usage\n\nThis action can be executed independently from workflows within a container. To do so, use the following command:\n\n```\npodman run --rm -it ghcr.io/cbrgm/bluesky-github-action:v1 --help\n```\n\n## Workflow Usage\n\nFirst, ensure you have your Bluesky handle, and password. Set the following repository secrets:\n\n* `BLUESKY_HANDLE` - Your Bluesky handle. (Example: `username.bsky.social`)\n* `BLUESKY_PASSWORD` - Your password for authentication with Bluesky.\n\nYou can create a new App Password at [https://bsky.app/settings/app-passwords](https://bsky.app/settings/app-passwords).\n\nOptional:\n\n* `BLUESKY_PDS_URL` - Your Bluesky PDS (Personal Data Server) URL, e.g., `https://pds.blueskyweb.xyz` (Defaults to `https://blsky.social`)\n\nUse the following step in your GitHub Actions Workflow:\n\n```yaml\n- name: Send post to Bluesky\n  id: bluesky_post\n  uses: cbrgm/bluesky-github-action@v1\n  with:\n    handle: ${{ secrets.BLUESKY_HANDLE }} # Your handle (example: username.bsky.social)\n    password: ${{ secrets.BLUESKY_PASSWORD }} # Your password\n    text: \"Hello from GitHub Actions!\" # The content of the post\n```\n\nMultiline post:\n\n```yaml\n- name: Send multiline post to Bluesky\n  id: bluesky_post_multiline\n  uses: cbrgm/bluesky-github-action@v1\n  with:\n    handle: ${{ secrets.BLUESKY_HANDLE }} # Your handle (example: username.bsky.social)\n    password: ${{ secrets.BLUESKY_PASSWORD }} # Your password\n    text: |\n      This is a multiline post sent from GitHub Actions.\n      This example demonstrates how to include multiple lines in the `text` input.\n```\n\n## High-Level Functionality\n\n```mermaid\nsequenceDiagram\n    participant GA as GitHub Actions\n    participant GHA as Bluesky GitHub Action\n    participant BP as Bluesky PDS\n\n    GA-\u003e\u003eGHA: Starts Bluesky GitHub Action\n    GHA-\u003e\u003eBP: Sends authentication request\n    BP--\u003e\u003eGHA: Returns session token\n    GHA-\u003e\u003eBP: Submits post using session token\n    BP--\u003e\u003eGHA: Confirms post submission\n    GHA-\u003e\u003eGA: Action completes, returns result\n```\n\n## Contributing \u0026 License\n\n* **Contributions Welcome!**: Interested in improving or adding features? Check our [Contributing Guide](https://github.com/cbrgm/bluesky-github-action/blob/main/CONTRIBUTING.md) for instructions on submitting changes and setting up development environment.\n* **Open-Source \u0026 Free**: Developed in my spare time, available for free under [Apache 2.0 License](https://github.com/cbrgm/bluesky-github-action/blob/main/LICENSE). License details your rights and obligations.\n* **Your Involvement Matters**: Code contributions, suggestions, feedback crucial for improvement and success. Let's maintain it as a useful resource for all 🌍.\n","funding_links":["https://ko-fi.com/chrisbargmann"],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrgm%2Fbluesky-github-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbrgm%2Fbluesky-github-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbrgm%2Fbluesky-github-action/lists"}