{"id":26718891,"url":"https://github.com/bwsix/clhs-nowotify-twitter-bot","last_synced_at":"2025-03-27T17:50:39.245Z","repository":{"id":41876995,"uuid":"466635938","full_name":"BWsix/CLHS-nowotify-twitter-bot","owner":"BWsix","description":"使用 Discord / Line 及時接收壢中官網公告","archived":false,"fork":false,"pushed_at":"2022-04-25T05:28:30.000Z","size":50,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T03:22:51.085Z","etag":null,"topics":["clhs","twitterbot"],"latest_commit_sha":null,"homepage":"https://twitter.com/not_clhs","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BWsix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-06T04:31:36.000Z","updated_at":"2024-04-24T03:22:51.086Z","dependencies_parsed_at":"2022-07-22T05:32:14.891Z","dependency_job_id":null,"html_url":"https://github.com/BWsix/CLHS-nowotify-twitter-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWsix%2FCLHS-nowotify-twitter-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWsix%2FCLHS-nowotify-twitter-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWsix%2FCLHS-nowotify-twitter-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWsix%2FCLHS-nowotify-twitter-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BWsix","download_url":"https://codeload.github.com/BWsix/CLHS-nowotify-twitter-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245898341,"owners_count":20690460,"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":["clhs","twitterbot"],"created_at":"2025-03-27T17:50:38.803Z","updated_at":"2025-03-27T17:50:39.230Z","avatar_url":"https://github.com/BWsix.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLHS nowotify - twitter bot\n\n使用 Discord / Line 及時接收壢中官網公告\n\n**前往[設定頁面][clhs_nowotify]**  \n**前往[CLHS nowotify - client][repo_client]**  \n**前往[CLHS nowotify - server][repo_server]**  \n**前往[CLHS nowotify - twitter bot][repo_twitter_bot]**\n\n## 目錄\n\n- [運作原理](#theory)\n- [特色](#features)\n- [安裝教學](#tutorial)\n- [特別感謝](#credit)\n\n## 運作原理\u003ca id=\"theory\"\u003e\u003c/a\u003e\n\nCLHS nowotify 使用 python 伺服器監聽壢中官網  \n在發現公告內容有更新時，使用 `discord webhook` / `line notify` 將最新公告推送給用戶\n\n因為經費有限，伺服器只在每日早上 7 點到晚上 7 點運作 (歡迎贊助 👍)\n\n### 架構圖\n\n\u003e ![](https://i.imgur.com/QLPAnSu.png)\n\n## 特色\u003ca id=\"features\"\u003e\u003c/a\u003e\n\n### 快速、簡單的安裝\n\n可以在[設定頁面][clhs_nowotify]依照教學登錄資訊(discord / line)後啟用\n\n\u003e 因為 line notify 只能從電腦版網站做設定，如果要使用 line 接收通知請記得使用電腦安裝\n\n### 客製化設定\n\n目前可以設定的項目有 :\n\n- 公告的來源(首頁 / 新生專區)\n- 只接收釘選公告(有紅色 `HOT!` 標籤的)\n- 是否過濾特定公告(有關公務人員 / 標案等)\n\n## 安裝教學\u003ca id=\"tutorial\"\u003e\u003c/a\u003e\n\n(安裝教學也可以在[設定頁面][clhs_nowotify]看到)\n\n**因為 line notify 只能從電腦版網站做設定，如果要使用 line 接收通知請記得使用電腦安裝**\n\n1. 前往並使用 google 帳號登入[CLHS nowotify 設定頁面][clhs_nowotify]\n\n   ![](https://i.imgur.com/ALTdgas.png)\n\n2. 點選 `新增 nowotify`\n\n   ![](https://i.imgur.com/b2ZD4rL.png)\n\n3. 填寫表格\n\n   ![](https://i.imgur.com/ILDPqsf.png)\n\n\u003cdetails\u003e\u003csummary\u003e如何取得Discord webhook url\u003c/summary\u003e\n\n1. 點選 `文字頻道` 旁的 `編輯頻道` 按鈕\n\n   ![](https://i.imgur.com/Owc3iPH.png)\n\n2. 進入 `整合` 頁面\n\n   ![](https://i.imgur.com/lkhlYcB.png)\n\n3. 選擇 `建立 Webhook`  \n   \\*如果已經有該頻道已經有 Webhook，請選擇 `查看 Webhook` -\u003e `新 Webhook`\n\n   ![](https://i.imgur.com/c7DHmRr.png)\n\n4. 點選 `複製 Webhook 網址`\n\n   ![](https://i.imgur.com/1mKbwQL.png)\n\n5. 繼續完成上方的表格就完成設定了!\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003e如何取得Line notify token\u003c/summary\u003e\n\n1. 前往 Line Notify 設定頁面並登入 **(這部分只能在電腦設定)**  \n   https://notify-bot.line.me/my/  \n   \\*首次登入會需要在 Line 輸入驗證碼\n\n   ![](https://i.imgur.com/5Wl97MC.png)\n\n2. 點選 `發行權杖`\n\n   ![](https://i.imgur.com/CRRgOEL.png)\n\n3. 完成設定後點選 `發行`  \n   \\*權杖名稱建議填寫 **CLHS-nowotify**，方便日後辨識\n\n   - 可以選擇 \"透過 1 對 1 聊天接收 LINE Notify 的通知\"，直接從 \"Line Notify 的帳號\" 接收通知  \n     ![](https://i.imgur.com/UmLRfyi.png)\n\n   - 或是選擇一個群組來接收通知  \n     ![](https://i.imgur.com/Ydw6fac.png)\n\n4. 點選複製\n\n   ![](https://i.imgur.com/7GGhfjm.png)\n\n5. 最後一步\n\n   - 如果是選擇 \"透過 1 對 1 聊天接收 LINE Notify 的通知\"，到這邊就完成設定了\n\n   - 如果是選擇 \"使用群組接收通知\"，則需要依照指示將 \"LINE Notify\" 帳號加入群組\n     ![](https://i.imgur.com/CDYEWJ5.png)\n\n\u003c/details\u003e\n\n## 特別感謝\u003ca id=\"credit\"\u003e\u003c/a\u003e\n\n[@storiesbang][@storiesbang]: 系統測試和提供更新方向\n\n以及所有 CLHS nowotify 的用戶，謝謝你們的支持\n\n[clhs_nowotify]: https://bwsix.github.io/CLHS-nowotify/\n[repo_client]: https://github.com/BWsix/CLHS-nowotify\n[repo_server]: https://github.com/BWsix/CLHS-nowotify-server\n[repo_twitter_bot]: https://github.com/BWsix/CLHS-nowotify-twitter-bot\n[@storiesbang]: https://github.com/storiesbang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwsix%2Fclhs-nowotify-twitter-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwsix%2Fclhs-nowotify-twitter-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwsix%2Fclhs-nowotify-twitter-bot/lists"}