{"id":19935595,"url":"https://github.com/baozouai/multi-platform-posts-action","last_synced_at":"2025-07-14T15:34:53.736Z","repository":{"id":164678562,"uuid":"640129273","full_name":"baozouai/multi-platform-posts-action","owner":"baozouai","description":"Synchronize recent articles from different platforms to the github homepage, support Juejin, Zhihu, and Segmentfault.","archived":false,"fork":false,"pushed_at":"2023-05-14T04:15:51.000Z","size":3074,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T22:40:49.361Z","etag":null,"topics":["juejin","posts","profile-readme","segmentfault","zhihu"],"latest_commit_sha":null,"homepage":"","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/baozouai.png","metadata":{"files":{"readme":"README _EN.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2023-05-13T04:49:51.000Z","updated_at":"2024-07-09T23:52:49.000Z","dependencies_parsed_at":"2024-03-22T12:34:07.679Z","dependency_job_id":null,"html_url":"https://github.com/baozouai/multi-platform-posts-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/baozouai/multi-platform-posts-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baozouai%2Fmulti-platform-posts-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baozouai%2Fmulti-platform-posts-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baozouai%2Fmulti-platform-posts-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baozouai%2Fmulti-platform-posts-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baozouai","download_url":"https://codeload.github.com/baozouai/multi-platform-posts-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baozouai%2Fmulti-platform-posts-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265312335,"owners_count":23745181,"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":["juejin","posts","profile-readme","segmentfault","zhihu"],"created_at":"2024-11-12T23:20:56.596Z","updated_at":"2025-07-14T15:34:53.369Z","avatar_url":"https://github.com/baozouai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n\u003ch1 align=\"center\"\u003emulti-platform-posts-action\u003c/h1\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  Synchronize recent articles from different platforms to the github homepage, support Juejin, Zhihu, and Segmentfault.\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n![ci][ci-badge]\n\n[ci-badge]: https://github.com/baozouai/multi-platform-posts-action/actions/workflows/ci.yml/badge.svg\n\nEnglish | [中文](./README.md)\n\n\u003c/div\u003e\n\n\n## 💡 Source Of Inspiration\nInspired by 👉 [KunLunXu-CC/juejin-posts-action](https://github.com/KunLunXu-CC/juejin-posts-action) , but found that only generated article links, does not support the number of likes , number of favorites, multi-platform and other functions, so implement one by yourself.\n\n## ✨Features\n\n- Multi-platform, currently supports **Juejin, Zhihu, and Segmentfault** (I had already made Yuque, but found that the interface of Yuque was very strange, and I couldn't get the correct article link, so I temporarily canceled the support of Yuque function)\n  \n- Support generating icons for different platforms![](./assets/juejin.svg) ![](./assets/zhihu.ico) ![](./assets/segmentfault.ico)\n- Support likes 👍🏻\n- Support the number of favorites ⭐ (currently only juejin has it, the interface of Zhihu and Segmentfault is more troublesome, so I won’t do it for the time being)\n ## 🔨 Usage\n\n1. Add flags anywhere in `README`\n\n```markdown\n\u003c!-- multi-platform-posts start --\u003e\nThe list of generated articles will be inserted here\n\u003c!-- multi-platform-posts end --\u003e\n```\n\n2. Get the id of different platforms, fill in the user_id of baozouai/multi-platform-posts-action@main below\n\n   - Juejin：![](./assets/juejin_id.png)\n\n   - Zhihu![](./assets/zhihu_id.png)\n\n   \u003c!--- Yuque ![](./assets/r_id.png)--\u003e\n\n   - segmentfault ![](./assets/segmentfault_id.png)\n\n     \n\n2. Setting github workflow（can refer to my [update_readme.yml](https://github.com/baozouai/baozouai/blob/master/.github/workflows/update_readme.yml))\n\n```yaml\n# workflow name\nname: Update Readme\n\n# Workflow trigger timing, see: https://docs.github.com/zh/actions/using-workflows/triggering-a-workflow\n# The trigger condition is changed to: when the main branch has a push operation || every day at 0:00\non:\n  schedule:\n    - cron: '30 22 * * *'\n  push:\n    branches:\n      - master\n      - feature/zhihu\n      - feature/segmentfault\n\n# jobs, see: https://docs.github.com/zh/actions/using-jobs/using-jobs-in-a-workflow\njobs:\n\n  # Insert nugget list, use baozouai/multi-platform-posts-action to generate post list, see: https://github.com/baozouai/multi-platform-posts-action\n  juejin-posts:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n\n      - name: Append Juejin Posts List 📚\n        uses: baozouai/multi-platform-posts-action@main\n        with:\n          user_id: '3526889034488174' # After getting the id of different platforms above, fill in here\n          platform: juejin # Fill in different platforms here, including juejin, zhihu, segmentfault\n\n      - run: |\n          git pull\n      - name: Push to GitHub\n        uses: EndBug/add-and-commit@v9\n        with:\n          default_author: github_actions\n          message: juejin-posts\n```\n\n4. Trigger workflow and automatically synchronize articles\n\nAfter the above configuration is completed, the action will be triggered after the push, and then the corresponding platform will generate the corresponding icon, time, number of likes, number of favorites, and article links. Examples are as follows：\n\n![](./assets/readme_branch.png)\n\n- Juejin\n\n![](./assets/juejin_example.png)\n\n- Zhihu\n\n![](./assets/zhihu_example.png)\n\n- segmentfault\n\n![](./assets/segmentfault_example.png)\n## 📄 LICENSE\n\nmulti-platform-posts-action is [MIT 协议](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaozouai%2Fmulti-platform-posts-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaozouai%2Fmulti-platform-posts-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaozouai%2Fmulti-platform-posts-action/lists"}