{"id":20618634,"url":"https://github.com/allanchain/pkuholecommunity","last_synced_at":"2025-04-15T11:39:41.099Z","repository":{"id":39414814,"uuid":"259621905","full_name":"AllanChain/PKUHoleCommunity","owner":"AllanChain","description":"P 大树洞网页版社区分支，欢迎大家动手自己实现功能","archived":false,"fork":false,"pushed_at":"2023-10-17T18:35:13.000Z","size":6689,"stargazers_count":74,"open_issues_count":10,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T19:38:41.593Z","etag":null,"topics":["hole","react"],"latest_commit_sha":null,"homepage":"https://pkuholece.gitee.io/stable/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AllanChain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-28T11:48:35.000Z","updated_at":"2025-03-07T02:20:06.000Z","dependencies_parsed_at":"2023-01-19T06:31:27.214Z","dependency_job_id":null,"html_url":"https://github.com/AllanChain/PKUHoleCommunity","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2FPKUHoleCommunity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2FPKUHoleCommunity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2FPKUHoleCommunity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AllanChain%2FPKUHoleCommunity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AllanChain","download_url":"https://codeload.github.com/AllanChain/PKUHoleCommunity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249062331,"owners_count":21206666,"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":["hole","react"],"created_at":"2024-11-16T12:09:03.904Z","updated_at":"2025-04-15T11:39:41.074Z","avatar_url":"https://github.com/AllanChain.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://pkuhelper.pku.edu.cn/hole/static/favicon/256.png\" /\u003e\u003c/p\u003e\n\u003ch1 align=\"center\"\u003ePKU Hole Community\u003c/h1\u003e\n\u003cp align=\"center\"\u003eP 大树洞网页版社区分支\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003csup\u003e（简称“树洞社区版”）\u003c/sup\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pkuholece.gitee.io/stable/\"\u003e\n    \u003cimg alt=\"GitHub tag (latest SemVer release)\" src=\"https://img.shields.io/github/v/tag/AllanChain/PKUHoleCommunity?sort=semver\u0026label=release\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pkuholece.gitee.io/beta/\"\u003e\n    \u003cimg alt=\"GitHub tag (latest SemVer pre-release)\" src=\"https://img.shields.io/github/v/tag/AllanChain/PKUHoleCommunity?sort=semver\u0026include_prereleases\u0026label=pre%20release\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/AllanChain/PKUHoleCommunity/blob/master/LICENSE.txt\"\u003e\n    \u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/AllanChain/PKUHoleCommunity\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/AllanChain/PKUHoleCommunity/graphs/contributors\"\u003e\n    \u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/AllanChain/PKUHoleCommunity\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[树洞网页版](https://github.com/pkuhelper-web/webhole)无疑取得了巨大的成功，占有较大的“市场份额”\n\n贵校有很多动手能力强的同学，也有很多同学有着对网页版树洞的独特想法。这些想法有的是合理的、巧妙的，有的是脑洞太大不切实际的；有的完全可以在客户端完成，有的则需要联系后端。\n\n然而官方并没有很好的处理同学们自己动手和表达想法的渠道。而且有很多呼声较高的功能迟迟不添加（毕竟一个人的精力有限）\n\nP 大树洞网页版社区分支（以下简称“社区版”）的定位是提供一个交流的平台，提供大家动手实现的方案，让大家自己动手实现对树洞网页版的想法。社区版并非试图取代官方版本，更多的是牺牲一部分稳定性来换取好用的功能。如果大家喜欢，乐于贡献代码或想法，社区版会继续维护下去。\n\n## 计划功能列表\n\n见 [project](https://github.com/AllanChain/PKUHoleCommunity/projects/1)\n\n## 更新功能列表\n\n（此列表跟进 beta 版）\n\n### 主要功能\n\n- 屏蔽词\n- 在关注列表中搜索\n- 别名，适用于给神洞等一个名字\n- 关注列表按最新回复排序\n- 可设置默认隐藏图片\n\n### 次要功能\n\n- 从一个洞内通过链接访问另一个洞，返回后记住原状态（即保留刷到的位置以及是否是倒序）\n- 关注列表中缓存更新了的洞会有黄点提示（通常情况下是有新的回复）\n- 侧边栏模式下禁止主时间线的滚动\n- 以文本形式复制树洞时遵从逆序和仅看\n\n### 界面/行为改变\n\n- 顶栏中的应用链接（成绩、不咕）目前可以正常访问，但访问时会回到官方版\n- 和 App 客户端一样受到验证限制，但提供不稳定的自动验证选项\n- 将 CNZZ 统计替换为简单且隐私友好型的 [Microanalytics](https://microanalytics.io/pkuholece.gitee.io)，所有人均可查看（有时访问数会超过月度限制，可以切换到本月视图查看本月前几天的数据）\n\n### 项目管理\n\n- 使用主流的代码风格\n- 配置 GitHub Actions, 利用版本号控制发布\n\n### 其他\n\n- 社区版提供 Beta 测试版本，登录状态与稳定版同步，但是会不稳定，试验性的新功能会优先推送到 [Beta 版](https://pkuholece.gitee.io/beta/)。\n\n## Contributing\n\n有更多的同学喜欢，才有动力继续开发。而且现有的社区版开发者并非 React 土著，十分欢迎有 React 经验的同学共同开发。\n\n社区版欢迎大家提出功能建议，或者参与到社区版的维护和更新中。相比于建议，社区版会优先考虑 PR。提出问题请到 [GitHub Issue](https://github.com/AllanChain/PKUHoleCommunity/issues)，树洞内讨论建议包含“树洞社区版”关键词。希望有能力的同学一起打造树洞社区版。\n\n更多事项见 [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## Note\n\n使用社区版同样应当遵守树洞规范。\n\n这个版本属于“自行实现你的想法”，基于 GPLv3 在 GitHub 开源。而不恰当使用此版本或利用此版本的漏洞对 PKU Helper 造成的不利影响由用户负责。作为社区版本，社区（no warranty）维护版本的安全，同时也欢迎同学实现你的想法。\n\n附 PKU Helper 官方的意思：\n\n\u003e 根据GPL，你有权fork【网页版树洞前端】的代码并进行相应的修改。请注意，你的修改版本必须依然基于GPL授权，并依据此公开源码。\n\u003e\n\u003e 根据树洞规范5.3规定，非官方客户端在PKU Helper团队认定造成不利影响，例如非法攻击服务器、盗取用户个人信息时，我们有权对其进行封禁。\n\n以下为原 README（注：这与访问原树洞网页版的 GitHub 链接不同，因为在[某事件](https://pkuhelper-web.github.io/announce_v3.html)之后，xmcp 做了一些不同寻常的操作）\n\n---\n\nPKU Helper 网页版 P大树洞：[pkuhelper.pku.edu.cn/hole](https://pkuhelper.pku.edu.cn/hole/)\n\n## 浏览器兼容\n\n下表为当前 PKU Helper 网页版的浏览器兼容目标：\n\n| 平台     | Desktop |                            |         | Windows  |      | macOS  | iOS    |                     | Android |                         |\n| -------- | ------- | -------------------------- | ------- | -------- | ---- | ------ | ------ | ------------------- | ------- | ----------------------- |\n| 浏览器   | Chrome  | Chromium\u003cbr /\u003e(国产浏览器) | Firefox | EdgeHTML | IE   | Safari | Safari | 微信\u003cbr /\u003e(WebView) | Chrome  | Chromium\u003cbr /\u003e(WebView) |\n| 优先兼容 | 76+     | 无                         | 最新版  | 无       | 无   | 无     | 12+    | 无                  | 最新版  | 无                      |\n| 兼容     | 56+     | 最新版                     | 56+     | 最新版   | 无   | 10+    | 10+    | 最新版              | 56+     | 最新版                  |\n| 不兼容   | 其他    | 其他                       | 其他    | 其他     | 全部 | 其他   | 其他   | 其他                | 其他    | 其他                    |\n\n\n**优先兼容** 指不应有 bug 和性能问题，可以 Polyfill 的功能尽可能提供，若发现问题会立刻修复。\n\n**兼容** 指不应有恶性 bug 和严重性能问题，若发现问题会在近期修复。\n\n**不兼容** 指在此种浏览器上访问本网站是未定义行为，问题反馈一般会被忽略。\n\n`num+` 指符合版本号 `num` 的最新版本及后续所有版本。`最新版` 以 stable 分支为准。\n\n## 问题反馈\n\n对 PKU Helper 网页版的 bug 反馈请在相应仓库提交 Issue。\n\n欢迎提出功能和 UI 建议，但可能不会被采纳。根据 GPL，你有权自行实现你的想法。\n\n不方便在 GitHub 上说明的问题可以邮件 xmcp at pku dot edu dot cn。邮件内容可能会被公开。\n\n对 PKU Helper 后端服务、客户端、账号、树洞内容的反馈请联系相应人员，或邮件 helper at pku dot edu dot cn。\n\n## License\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.zh-cn.html) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallanchain%2Fpkuholecommunity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallanchain%2Fpkuholecommunity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallanchain%2Fpkuholecommunity/lists"}