2025年10月2日 星期四

GitHub 上面清不掉的未讀訊息

看到 GitHub notification 消不掉的問題 才知道發生什麼事情。

本來是 GitHub 官方應該要處理的問題,我又不想安裝 GitHub CLI 來用,不如來順便練習一下 Vibe coding 好了,於是弄了一個 https://ghno.sylee.org/,程式碼放在 https://github.com/fourdollars/go-playground/tree/main/github-notifications-oauth 上面。

伺服器只是處理 OAuth 重導,跟透過使用者傳來的 Token 呼叫 GitHub API 而已,利用 https://github.com/settings/applications/new 註冊一個 OAuth app 來用,清空的感覺真好。

沒有留言: