From 8c3415f481ab1f5e4fb3bdc71919448cfac1e5a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=9F=E8=B0=83=E8=B0=83?= <398188662@qq.com> Date: Mon, 30 Mar 2026 23:12:24 +0800 Subject: [PATCH] Wire RSS feed into docs and CI --- .github/workflows/ci.yml | 60 +++------------------------------------- README-ja.md | 2 +- README-ko.md | 2 +- README-zh.md | 2 +- README.md | 2 +- command-line-apps-zh.md | 2 +- idoc.yml | 11 ++++++-- 7 files changed, 18 insertions(+), 63 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6bb2c430..2c86b5fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,8 @@ jobs: - run: npm install - run: npm run build - run: npm run create:ast + - run: npm run feed + - run: cp -rp feed/*.xml dist - name: Deploy uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4 @@ -64,6 +66,8 @@ jobs: npm i awesome-mac@${{steps.create_tag.outputs.versionNumber}} # dist/awesome-mac.json # dist/awesome-mac.zh.json + # dist/awesome-mac.ja.json + # dist/awesome-mac.ko.json ``` ## Docker @@ -84,46 +88,6 @@ jobs: http://localhost:9881/ ``` - # - name: Create Release - # uses: ncipollo/release-action@v1 - # if: steps.create_tag.outputs.successful - # with: - # name: ${{ steps.create_tag.outputs.version }} - # tag: ${{ steps.create_tag.outputs.version }} - # token: ${{ secrets.GITHUB_TOKEN }} - # body: | - # [![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) [![](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/awesome-mac@${{steps.create_tag.outputs.versionNumber}}/file/README.md) [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/awesome-mac?logo=docker)](https://hub.docker.com/r/wcjiang/awesome-mac) - - # Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/awesome-mac/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html - - # Comparing Changes: ${{ steps.changelog.outputs.compareurl }} - - # ${{ steps.changelog.outputs.changelog }} - - # ```bash - # npm i awesome-mac@${{steps.create_tag.outputs.versionNumber}} - # # dist/awesome-mac.json - # # dist/awesome-mac.zh.json - # ``` - - # ## Docker - - # ```bash - # docker pull wcjiang/awesome-mac:${{steps.changelog.outputs.version}} - # ``` - - # ```bash - # docker run --name awesome-mac --rm -d -p 9881:3000 wcjiang/awesome-mac:${{steps.changelog.outputs.version}} - # # Or - # docker run --name awesome-mac -itd -p 9881:3000 wcjiang/awesome-mac:${{steps.changelog.outputs.version}} - # ``` - - # Visit the following URL in your browser - - # ```bash - # http://localhost:9881/ - # ``` - - run: npm publish --access public --provenance continue-on-error: true @@ -156,19 +120,3 @@ jobs: env: DOCKER_USER: ${{ secrets.DOCKER_USER }} - # Create Docker Image in GitHub - # - name: Login to GitHub registry - # run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin - - # - name: Build docker image - # run: docker build -t ghcr.io/jaywcjlove/awesome-mac:latest . - - # - name: Publish to GitHub registry - # run: docker push ghcr.io/jaywcjlove/awesome-mac:latest - - # - name: Tag docker image (beta) and publish to GitHub registry - # if: steps.create_tag.outputs.successful - # run: | - # echo "version: v${{ steps.changelog.outputs.version }}" - # docker tag ghcr.io/jaywcjlove/awesome-mac:latest ghcr.io/jaywcjlove/awesome-mac:${{steps.changelog.outputs.version}} - # docker push ghcr.io/jaywcjlove/awesome-mac:${{steps.changelog.outputs.version}} \ No newline at end of file diff --git a/README-ja.md b/README-ja.md index df180498..5397ddc0 100644 --- a/README-ja.md +++ b/README-ja.md @@ -47,7 +47,7 @@ Awesome Mac **凡例** -[English](README.md) | [中文](README-zh.md) | [한국어](README-ko.md) | [素晴らしいコマンドラインアプリ](./command-line-apps-ja.md) | [素晴らしいSwift macOSアプリ](https://github.com/jaywcjlove/awesome-swift-macos-apps) +[English](README.md) | [中文](README-zh.md) | [한국어](README-ko.md) | [RSS](./feed/feed-ja.md) | [素晴らしいコマンドラインアプリ](./command-line-apps-ja.md) | [素晴らしいSwift macOSアプリ](https://github.com/jaywcjlove/awesome-swift-macos-apps) ![Open-Source Software][OSS Icon] は**オープンソース**を意味します。アイコンをクリックするとリポジトリを確認できます。\ ![Freeware][Freeware Icon] は**無料**で使用可能、または**無料**の個人ライセンスを意味します。\ diff --git a/README-ko.md b/README-ko.md index 693f3736..de64225a 100644 --- a/README-ko.md +++ b/README-ko.md @@ -47,7 +47,7 @@ Awesome Mac **설명** -[English](./README.md) | [中文](./README-zh.md) | [日本語](./README-ja.md) | [멋진 명령줄 앱 모음](./command-line-apps-ko.md) | [멋진 Swift macOS 앱 모음](https://github.com/jaywcjlove/awesome-swift-macos-apps) +[English](./README.md) | [中文](./README-zh.md) | [日本語](./README-ja.md) | [RSS](./feed/feed-ko.md) | [멋진 명령줄 앱 모음](./command-line-apps-ko.md) | [멋진 Swift macOS 앱 모음](https://github.com/jaywcjlove/awesome-swift-macos-apps) ![Open-Source Software][OSS Icon] 은 **오픈 소스**를 의미합니다. 아이콘을 클릭하면 해당 항목의 저장소를 볼 수 있습니다.\ ![Freeware][Freeware Icon] 은 **무료**로 사용 가능하거나 **무료** 개인 라이선스를 의미합니다.\ diff --git a/README-zh.md b/README-zh.md index 70276906..45d0b80a 100755 --- a/README-zh.md +++ b/README-zh.md @@ -51,7 +51,7 @@ Awesome Mac **说明** -[English](README.md) | [한국어](./README-ko.md) | [日本語](README-ja.md) | [优秀的命令行应用精选](./command-line-apps-zh.md) | [优秀的 Swift macOS 应用精选](https://github.com/jaywcjlove/awesome-swift-macos-apps) +[English](README.md) | [한국어](./README-ko.md) | [日本語](README-ja.md) | [RSS](./feed/feed-zh.md) | [优秀的命令行应用精选](./command-line-apps-zh.md) | [优秀的 Swift macOS 应用精选](https://github.com/jaywcjlove/awesome-swift-macos-apps) ![Open-Source Software][OSS Icon] 表示 **开源软件** ,点击进入 **开源** 仓库;\ ![Freeware][Freeware Icon] 表示 **免费** 使用,或者个人 **免费** ;\ diff --git a/README.md b/README.md index e560e012..e906653c 100755 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ If you have any suggestions, ideas, or discover excellent software, feel free to **Explanation** -[中文](README-zh.md) | [한국어](README-ko.md) | [日本語](README-ja.md) | [Awesome Command Line Apps](./command-line-apps.md) | [Awesome Swift macOS Apps](https://github.com/jaywcjlove/awesome-swift-macos-apps) +[中文](README-zh.md) | [한국어](README-ko.md) | [日本語](README-ja.md) | [RSS](./feed/feed.md) | [Awesome Command Line Apps](./command-line-apps.md) | [Awesome Swift macOS Apps](https://github.com/jaywcjlove/awesome-swift-macos-apps) ![Open-Source Software][OSS Icon] means **open source**. click the icon to see the item's repository;\ ![Freeware][Freeware Icon] means **free** to use, or **free** personal license;\ diff --git a/command-line-apps-zh.md b/command-line-apps-zh.md index 09ef77dd..869904f9 100644 --- a/command-line-apps-zh.md +++ b/command-line-apps-zh.md @@ -36,7 +36,7 @@ [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/wcjiang/awesome-mac?logo=docker)](https://hub.docker.com/r/wcjiang/awesome-mac) [![English List](https://jaywcjlove.github.io/sb/lang/english.svg)](./command-line-apps.md) [![Japanese List](https://jaywcjlove.github.io/sb/lang/japanese.svg)](./command-line-apps-ja.md) -[![Korean List](https://jaywcjlove.github.io/sb/lang/english.svg)](./command-line-apps-ko.md) +[![Korean List](https://jaywcjlove.github.io/sb/lang/korean.svg)](./command-line-apps-ko.md) 一份精心挑选的有用命令行应用列表 diff --git a/idoc.yml b/idoc.yml index 7643aa2d..5c4fcd15 100644 --- a/idoc.yml +++ b/idoc.yml @@ -10,12 +10,15 @@ dir: ./doc menus: Home: index.html - Recommended: + Top Picks: url: https://github.com/jaywcjlove/awesome-mac/issues target: __blank - Link failure Report: + Report: url: https://github.com/jaywcjlove/awesome-mac/issues target: __blank + RSS: + url: feed/feed.html + target: __blank sideEffectFiles: - README-zh.md @@ -28,6 +31,10 @@ sideEffectFiles: - command-line-apps-zh.md - command-line-apps-ko.md - command-line-apps-ja.md + - feed/feed.md + - feed/feed-zh.md + - feed/feed-ja.md + - feed/feed-ko.md footer: | This work is licensed under a Creative Commons Attribution 4.0 International License.