展示HN:停止“+1”垃圾信息:自动过滤GitHub评论噪音

2作者: freakynit7 个月前原帖
GitHub 上流行项目的问题常常被“+1”、“我也是”等无用评论淹没,这使得真正的讨论难以追踪。这是一个简单的 Google Apps 脚本(参考自 <a href="https://github.com/cline/cline/discussions/581#discussioncomment-12290734">https://github.com/cline/cline/discussions/581#discussioncomment-12290734</a>),它会扫描你的 Gmail 收件箱,查找这些“嘈杂”评论触发的邮件,并自动将其删除。 此外,脚本下方附有一个浏览器控制台脚本,用于淡化或隐藏这些评论,以便于问题讨论。 --- 请查看此线程中的垃圾评论情况:<a href="https://github.com/cline/cline/discussions/581">https://github.com/cline/cline/discussions/581</a>
查看原文
<a href="https:&#x2F;&#x2F;gist.github.com&#x2F;freakynit&#x2F;1f472c92e01f7e77287c727c6df0436c" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;freakynit&#x2F;1f472c92e01f7e77287c727c6d...</a><p>GitHub issues for popular projects are often flooded with &quot;+1”, &quot;Me too”, and other unhelpful comments, making real discussions hard to track. This is a simple Google Apps Script (taking reference from <a href="https:&#x2F;&#x2F;github.com&#x2F;cline&#x2F;cline&#x2F;discussions&#x2F;581#discussioncomment-12290734">https:&#x2F;&#x2F;github.com&#x2F;cline&#x2F;cline&#x2F;discussions&#x2F;581#discussioncom...</a>), which scans your Gmail inbox for emails triggered by these &quot;noisy” comments and automatically trashes them.<p>Also accompanying (as comment below the script) is browser console script to dim or hide these comments from issue discussions.<p>---<p>See the spam condition on this thread: <a href="https:&#x2F;&#x2F;github.com&#x2F;cline&#x2F;cline&#x2F;discussions&#x2F;581">https:&#x2F;&#x2F;github.com&#x2F;cline&#x2F;cline&#x2F;discussions&#x2F;581</a>