🕵️ My Spy Code(你的專屬加密摩斯)
+不是國際通用摩斯,而是自訂「My Spy Code」。可加密:中文、英文、數字、特殊符號、表情符號。
+規則:先把文字轉成 UTF-8(可處理所有字元),每個 16 進位位元再轉成自訂摩斯碼;以 / 分隔每個位元組。
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..0a110d7 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,39 @@ +name: Deploy static site to GitHub Pages + +on: + push: + branches: + - main + - master + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Configure Pages + uses: actions/configure-pages@v5 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: . + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/README.md b/README.md index 7ae76b0..a2fc8da 100644 --- a/README.md +++ b/README.md @@ -1 +1,15 @@ -# - \ No newline at end of file +# My Spy Code + +這個專案是可直接部署到 GitHub Pages 的靜態網站。 + +## 預設頁面 +- `index.html`(由 `客戶.html` 同步而來) + +## 啟用 GitHub Pages +1. 將此 repo push 到 GitHub(建議 repo 名稱:`ferzzzzzz-tools`)。 +2. 到 **Settings → Pages**,Source 選 **GitHub Actions**。 +3. push 到 `main` 或 `master` 後,`.github/workflows/pages.yml` 會自動部署。 + +## 預期網址 +- 若帳號為 `<你的 GitHub 帳號>` 且 repo 名稱為 `ferzzzzzz-tools`,網址會是: + - `https://<你的 GitHub 帳號>.github.io/ferzzzzzz-tools/` diff --git a/index.html b/index.html new file mode 100644 index 0000000..dfa9956 --- /dev/null +++ b/index.html @@ -0,0 +1,332 @@ + + +
+ + +不是國際通用摩斯,而是自訂「My Spy Code」。可加密:中文、英文、數字、特殊符號、表情符號。
+規則:先把文字轉成 UTF-8(可處理所有字元),每個 16 進位位元再轉成自訂摩斯碼;以 / 分隔每個位元組。
不是國際通用摩斯,而是自訂「My Spy Code」。可加密:中文、英文、數字、特殊符號、表情符號。
+規則:先把文字轉成 UTF-8(可處理所有字元),每個 16 進位位元再轉成自訂摩斯碼;以 / 分隔每個位元組。