Skip to content
cholateioPublic

About

Save GitHub repos you scroll past into your own private repo; analyzed by your own Claude subscription

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

66 Commits

Folders and files

Repository files navigation

RepoBox

English | 繁體中文

滑 Threads、X 看到不錯的 GitHub 專案,按一下分享就收進你自己的私人 repo。幾分鐘後,你自己的 Claude 訂閱會讀完那個專案,寫好白話介紹、使用門檻、技術摘要和一張架構圖。

閱讀頁:架構圖會一筆一筆畫出來,點圖放大後可以看元件之間怎麼連

  • 收得快:手機分享選單或電腦書籤列,一下就收進來,不用開別的 App。
  • 看得懂:「這是什麼」用白話寫,附一個實際例子;「使用門檻」列出平台、要準備什麼、要不要錢。
  • 看得到架構:每個專案都有一張架構圖,點節點就看它連到哪些元件。
  • 資料是你的:結果是 Markdown 加 SVG,存在你自己的私人 repo,GitHub、Obsidian、VS Code 都能直接讀。

收藏頁:貼連結的框、分類索引和一句話介紹的卡片 手機版收藏頁

分析結果是繁體中文。

它怎麼運作

手機分享 / 書籤 ──► 你的收藏網頁 ──► 私人 repo 的 inbox/
                                         │
                       GitHub Actions + 你的 Claude 訂閱
                                         │
                     library/ 寫進介紹、使用門檻、架構圖 ──► 收藏網頁的書庫

沒有伺服器、沒有資料庫,也沒有共用網站。網頁是你 fork 出來的 GitHub Pages,分析跑在你自己的 GitHub Actions。

安裝

需要:GitHub 帳號、Claude 訂閱 (其他家應該也行),以及裝好 Claude Code 的電腦(產生 token 用)。全程在 GitHub 網頁上點,只有第 2 步要在終端機打一行指令。

1. 架收藏網頁

  1. Fork 本 repo,到 fork 的 Actions 分頁按啟用。
  2. Settings → Pages → Source 選 GitHub Actions,再到 Actions → pages → Run workflow 跑一次。

網頁會在 https://<帳號>.github.io/repobox/。

2. 建收藏 repo

  1. 打開 repobox-library-template,按 Use this template → Create a new repository,名稱填 repobox-library,選 Private。
  2. 在裝了 Claude Code 的終端機執行 claude setup-token,登入後會印出一串 token。到 repobox-library 的 Settings → Secrets and variables → Actions → New repository secret,名稱填 CLAUDE_CODE_OAUTH_TOKEN,貼上 token。

PS. 要換成其他模型廠商也行,我想概念是一樣的,讓訂閱模型可以跑在你那份 repo action 中

3. 每台手機/電腦裝置進入第一步的網頁設定一次

  1. GitHub 頭像 Settings → Developer settings → Personal access token → Fine-grained tokens 建一把 token:只選私人的 repobox-library,權限只開 Contents: Read and write。
  2. 打開收藏網頁的設定,填上 <帳號>/repobox-library 和這把 token。
  3. Android 把網頁加到主畫面,分享選單就有 RepoBox;電腦把網頁上的書籤按鈕拖到書籤列。

隱私與安全

  • token 只存在你自己裝置的瀏覽器,只會送到 api.github.com。網頁不載入任何第三方程式碼。
  • 只分析公開 repo。Claude 讀的是陌生人的程式碼,所以當成不可信資料處理:它沒有 shell、只能寫一個暫存資料夾,產出要經過另一個不跑 Claude 的 job 重新檢查才會寫進你的 repo。
  • 收藏庫呼叫的分析流程釘在固定版本(commit SHA),本 repo 之後的改動不會自動跑進你的收藏庫。想自己改流程,就 fork 後把 .github/workflows/repobox.yml 的 uses: 換成你的 repo 和 SHA。
  • 架構圖在顯示前會再過一次白名單,有問題的圖只顯示提示,不會被執行。
  • 建議幫收藏網頁綁一個自訂子網域:同一個 <帳號>.github.io 底下的其他網站讀得到這個網頁存的 token。

授權

MIT。架構圖由 arch-blueprint 繪製。

About

Save GitHub repos you scroll past into your own private repo; analyzed by your own Claude subscription

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages