{"id":15542521,"url":"https://github.com/robdel12/ghost-digest","last_synced_at":"2026-01-26T01:32:21.120Z","repository":{"id":252584043,"uuid":"840857292","full_name":"Robdel12/ghost-digest","owner":"Robdel12","description":"GitHub Action to generate daily or weekly digests for Ghost blogs","archived":false,"fork":false,"pushed_at":"2024-08-11T07:09:19.000Z","size":482,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T05:11:37.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Robdel12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-10T22:46:10.000Z","updated_at":"2024-08-11T07:07:54.000Z","dependencies_parsed_at":"2024-10-31T00:12:11.393Z","dependency_job_id":"a8027a91-b9c0-43d2-952a-1cb8a3f2fd88","html_url":"https://github.com/Robdel12/ghost-digest","commit_stats":null,"previous_names":["robdel12/ghost-digest"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Robdel12/ghost-digest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robdel12%2Fghost-digest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robdel12%2Fghost-digest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robdel12%2Fghost-digest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robdel12%2Fghost-digest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Robdel12","download_url":"https://codeload.github.com/Robdel12/ghost-digest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Robdel12%2Fghost-digest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28763934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"ssl_error","status_checked_at":"2026-01-26T00:37:25.959Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-02T12:23:16.471Z","updated_at":"2026-01-26T01:32:21.105Z","avatar_url":"https://github.com/Robdel12.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ghost Digest Generator GitHub Action\n\n## Overview\n\nThis GitHub Action generates daily or weekly digests for a Ghost blog. It fetches posts from the\nGhost Admin API, filters them based on the specified period, and creates a new digest post with\ncustomizable tags and title. The action also supports debug logging and allows for timezone\ncustomization.\n\n## Inputs\n\n- **`url`**: *(Required)* URL of the Ghost blog.\n- **`period`**: *(Required)* Digest period. Choose between `daily` or `weekly`. Defaults to `daily`.\n- **`debug`**: *(Optional)* Enable debug logging. Defaults to `false`.\n- **`tags`**: *(Optional)* Comma-separated list of tags for the digest post. Defaults to `Digest`.\n- **`title`**: *(Optional)* Title of the digest post. Defaults to `{{period}} Digest`.\n- **`timezone`**: *(Optional)* Timezone to use for date calculations. Defaults to `America/Chicago`.\n\n## Environment Variable\n\n- **`GHOST_API_KEY`**: *(Required)* Admin API key from your Ghost Admin integrations section\n\n## Outputs\n\n- **`result`**: The result of the digest generation, including the slug of the created post.\n\n## Usage\n\n### Example Workflow\n\n```yaml\nname: Daily Digest\n\non:\n  schedule:\n    - cron: '0 4 * * *' # Runs at 4 AM UTC, which is 11 PM CDT\n  workflow_dispatch: # Allows manual triggering of the workflow\n\njobs:\n  generate-digest:\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v3\n\n      - name: Generate Digest\n        uses: robdel12/ghost-digest@v1.0.0\n        with:\n          url: 'https://example-url.com'\n          period: daily\n          debug: true\n          tags: Digest,Daily\n          title: 'Daily Digest'\n          timezone: America/New_York\n        env:\n          GHOST_API_KEY: ${{ secrets.GHOST_API_KEY }}\n```\n\n## Development\n\nTo test and develop this action locally, you can run it with Node.js. Make sure you have all\ndependencies installed:\n\n```bash\nnpm install\nnode index.js\n```\n\nMake sure to set the necessary environment variables for local testing, such as `GHOST_API_KEY`.\n\n## License\n\nThis action is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobdel12%2Fghost-digest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobdel12%2Fghost-digest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobdel12%2Fghost-digest/lists"}