{"id":16234947,"url":"https://github.com/sachin-chaurasiya/hashnode-blog-action","last_synced_at":"2026-03-16T16:40:22.263Z","repository":{"id":208998550,"uuid":"722984059","full_name":"Sachin-chaurasiya/hashnode-blog-action","owner":"Sachin-chaurasiya","description":"GitHub action to fetch and display your latest blog from Hashnode in a visually pleasing manner","archived":false,"fork":false,"pushed_at":"2024-04-29T03:14:17.000Z","size":922,"stargazers_count":8,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-02T02:34:03.005Z","etag":null,"topics":["github-actions","github-api","hashnode-api","hashnode-blog","hashnode-blog-action"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/hashnode-blog-action","language":"TypeScript","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/Sachin-chaurasiya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["Sachin-chaurasiya"]}},"created_at":"2023-11-24T12:05:30.000Z","updated_at":"2024-05-06T04:38:10.850Z","dependencies_parsed_at":"2023-11-24T13:29:20.895Z","dependency_job_id":"f3fb8716-9b97-484d-b478-0783afd285e9","html_url":"https://github.com/Sachin-chaurasiya/hashnode-blog-action","commit_stats":null,"previous_names":["sachin-chaurasiya/hashnode-blog-action"],"tags_count":8,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/Sachin-chaurasiya/hashnode-blog-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin-chaurasiya%2Fhashnode-blog-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin-chaurasiya%2Fhashnode-blog-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin-chaurasiya%2Fhashnode-blog-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin-chaurasiya%2Fhashnode-blog-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sachin-chaurasiya","download_url":"https://codeload.github.com/Sachin-chaurasiya/hashnode-blog-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sachin-chaurasiya%2Fhashnode-blog-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266352592,"owners_count":23915777,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github-actions","github-api","hashnode-api","hashnode-blog","hashnode-blog-action"],"created_at":"2024-10-10T13:18:06.870Z","updated_at":"2026-03-16T16:40:17.176Z","avatar_url":"https://github.com/Sachin-chaurasiya.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Sachin-chaurasiya"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://hashnode.com/\"\u003e\n        \u003cimg src=\"https://cdn.svarun.dev/common/hashnode/icon.png\" width=\"150px\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eHashnode Blog GitHub Action - \u003ci\u003eLatest \u003ca href=\"https://gql.hashnode.com/\"\u003eHashnode Public API\u003c/a\u003e Support\u003c/i\u003e\u003c/h1\u003e\n\u003cp align=\"center\"\u003eGitHub action to fetch and display your latest blog from Hashnode in a visually pleasing manner\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/actions/typescript-action/actions/workflows/linter.yml/badge.svg\" alt=\"GitHub Super-Linter\"\u003e\n  \u003cimg src=\"https://github.com/actions/typescript-action/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"\u003e\n  \u003cimg src=\"https://github.com/actions/typescript-action/actions/workflows/check-dist.yml/badge.svg\" alt=\"Check dist/\"\u003e\n  \u003cimg src=\"https://github.com/actions/typescript-action/actions/workflows/codeql-analysis.yml/badge.svg\" alt=\"CodeQL\"\u003e\n\u003c/p\u003e\n\n## ⚙️ Configuration\n\n|           Option            |                        Description                         |   Default   | Required |\n| :-------------------------: | :--------------------------------------------------------: | :---------: | :------: |\n| `HASHNODE_PUBLICATION_NAME` | Your hashnode publication name, Example: blog.hashnode.dev |    null     |   true   |\n|        `POST_COUNT`         |                   Number of posts count                    |      6      |  false   |\n|          `FORMAT`           |         Output format (table, list, card, stacked)         |   `table`   |  false   |\n|           `FILE`            |                Filename to save the output                 | `README.md` |  false   |\n|           `DEBUG`           |                         Debug mode                         |    false    |  false   |\n\n## 🚀 Usage\n\n### Step 1: Include the following content in your `README.md` or any file for display\n\n```markdown\n## My Latest Blog Posts 👇\n\n\u003c!-- HASHNODE_BLOG:START --\u003e\n\u003c!-- HASHNODE_BLOG:END --\u003e\n```\n\n### Step 2: Configure The Workflow\n\n```yaml\nname: 'Hashnode Blogs'\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 0 * * *' # Runs Every Day\n\njobs:\n  update_blogs:\n    name: 'Hashnode Latest Blogs'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Fetch Repository Contents'\n        uses: actions/checkout@main\n\n      - name: 'Hashnode Blog Action'\n        uses: 'Sachin-chaurasiya/hashnode-blog-action@main'\n        with:\n          HASHNODE_PUBLICATION_NAME: 'blog.hashnode.dev'\n          POST_COUNT: 6\n          FORMAT: 'list'\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## 🚀 Live Example : [Sachin-chaurasiya/Sachin-chaurasiya](https://github.com/Sachin-chaurasiya/Sachin-chaurasiya?tab=readme-ov-file#recent-blog-posts-%EF%B8%8F)\n\n### Table\n\n![Table View](https://github.com/Sachin-chaurasiya/hashnode-blog-action/assets/59080942/413bac2d-6dfc-49a0-ac01-9286a8aeebf3)\n\n### List\n\n![List View](https://github.com/Sachin-chaurasiya/hashnode-blog-action/assets/59080942/844b3e39-1d37-48d0-87af-82756e42c483)\n\n### Card\n\n![Card View](https://github.com/Sachin-chaurasiya/hashnode-blog-action/assets/59080942/8bcbbfed-e08b-4cf9-b1c8-d71d405ab084)\n\n### Stacked\n\n![image](https://github.com/Sachin-chaurasiya/hashnode-blog-action/assets/59080942/d1b45bda-6cdb-4614-8d8a-cdf47a3efc36)\n\n## Local Development\n\n### Step1 : Fork and clone the repository\n\n```shell\ngit clone https://github.com/\u003cyour-name\u003e/hashnode-blog-action.git\n\ncd hashnode-blog-action\n```\n\n### Step2: Install the dependencies\n\n```shell\nnpm install\n```\n\n### Step3: Make your changes\n\n### Step4: Adding tests (if applicable)\nAdd unit test for your changes [__tests__](https://github.com/Sachin-chaurasiya/hashnode-blog-action/tree/main/__tests__)\n\n### Step5: Run the checks and package your changes\n\n\u003e The below command will\n\n- Format your code\n- Lint your code\n- Run the unit tests and coverage\n- And Finally bundle everything\n\n```shell\nnpm run all\n```\n### Step6: Raise a PR for your contribution\n\n```shell\ngit add .\ngit commit -m \"meaningful commit message\"\ngit push \u003cbranch_name\u003e\n```\n\n## 🛡️ License\n\nHashnode blog action is licensed under the MIT License - see the\n[LICENSE](https://github.com/Sachin-chaurasiya/hashnode-blog-action/blob/main/LICENSE)\nfile for details.\n\n## Contributors\n\nWe ❤️ all contributions, big and small! Check out our\n[CONTRIBUTING](./CONTRIBUTING.md) guide to get started and let us know how we\ncan help.\n\nDon't want to miss anything? Give the project a ⭐ 🚀\n\nA HUGE THANK YOU to all our supporters!\n\n## Stargazers\n\n[![Stargazers of hashnode-blog-action](http://reporoster.com/stars/Sachin-chaurasiya/hashnode-blog-action)](https://github.com/Sachin-chaurasiya/hashnode-blog-action/stargazers)\n\n## Contributors\n\n\u003ca href=\"https://github.com/Sachin-chaurasiya/hashnode-blog-action/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=Sachin-chaurasiya/hashnode-blog-action\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin-chaurasiya%2Fhashnode-blog-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsachin-chaurasiya%2Fhashnode-blog-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsachin-chaurasiya%2Fhashnode-blog-action/lists"}