{"id":19880988,"url":"https://github.com/ckaznable/subptt","last_synced_at":"2025-09-18T19:33:01.280Z","repository":{"id":186657606,"uuid":"657597058","full_name":"ckaznable/SubPtt","owner":"ckaznable","description":"簡易PTT文章訂閱器","archived":false,"fork":false,"pushed_at":"2025-06-07T08:22:41.000Z","size":205,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T12:03:38.230Z","etag":null,"topics":["ptt"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ckaznable.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-23T12:09:52.000Z","updated_at":"2024-11-14T11:17:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"acb11ff0-1123-4137-8082-307fe2b0bf77","html_url":"https://github.com/ckaznable/SubPtt","commit_stats":null,"previous_names":["ckaznable/subptt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ckaznable/SubPtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznable%2FSubPtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznable%2FSubPtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznable%2FSubPtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznable%2FSubPtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckaznable","download_url":"https://codeload.github.com/ckaznable/SubPtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckaznable%2FSubPtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275820544,"owners_count":25534815,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ptt"],"created_at":"2024-11-12T17:12:57.471Z","updated_at":"2025-09-18T19:33:00.914Z","avatar_url":"https://github.com/ckaznable.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 簡易PTT文章訂閱器\n\n## 使用方法\n\n1. fork這個repo\n\n2. 從master建立一個`runner`分支\n\n3. 然後去repo設定裡的`Secrets and variables` \u003e `Actions`\n\n4. 在Repository secrets的地方輸入以下這些變數跟值\n\n`USERNAME` ptt 帳號\n\n`PASSWORD` ptt 密碼\n\n`TG_BOT_CHAT_ID` telegram 聊天室id\n\n`TG_BOT_TOKEN` telegram bot token\n\n`OVPN_USERNAME` 跟 `OVPN_PASSWORD` 是VPN需要的帳號密碼\n\n`WORKS` 是你要訂閱的版跟文章關鍵字組合 如下面範例 可以多個\n\u003e \\[[\"steam\", \"特價\"], [\"steam\", \"限免\"]\\]\n\n## VPN\n\n從github過去的流量都是外國流量 不知道為什麼ptt那邊會擋的樣子 所以需要VPN\n\n如果是使用nordvpn的人可以跳過 如果是其他vpn的使用者可能要替換一下.github/workflows/client.ovpn 不然可能會沒辦法跑\n\n## 結語\n\n上面步驟都完成的話 理論上每四小時會爬一次 然後把新的文章送到telegram\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckaznable%2Fsubptt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckaznable%2Fsubptt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckaznable%2Fsubptt/lists"}