{"repo":"YDX-2147483647/bulletin-issues-transferred","free":true,"listed":false,"github":"https://github.com/YDX-2147483647/bulletin-issues-transferred","clone":"git clone https://github.com/YDX-2147483647/bulletin-issues-transferred.git","description":"汇总 BIT 各种网站的通知。（以及钉钉、RSS插件等）","language":"TypeScript","stars":32,"topics":["beijing-institute-of-technology","dingtalk","rss","webvpn"],"license":"MIT","category":"productivity","readme_excerpt":"Bulletin Issues Transferred BulletinIT 旨在汇总 BIT 各种网站的通知。 能干什么？ 日常使用时， deno task update 会在控制台输出类似这样的内容。 以往信息存储在 output/notices.json 中。 - deno task update 更新通知。 - deno task update-proxy 使用代理更新通知。 YDX-2147483647/virtual-BIT-network: BIT WebVPN 登录与转换 (github.com) 需要配置统一身份认证的秘密信息，请参考 config/proxy.secrets.schema.json 。 - deno task update-ding 更新通知，然后向 i 北理群发送新通知。 需要配置钉钉机器人的秘密信息，请参考 config/ding.secrets.schema.json 。 - deno task update-rss 更新通知，并生成 RSS。 - deno task update-server proxy + rss，可用于服务器上的 crontab。 我们已部署了一个，可在 HaoBIT 查看，例如 RSS。 - deno task update-server-ding server + ding，可用于服务器上的 crontab。 星标历史 如何贡献？ 请注意，这个项目报了2021-2022学年的校创及2022年的北京市市创（服务器钱就来源于此），大家在这个仓库的贡献可能会被答辩老师算在我们头上。 您可以通过HaoBIT关于页内提供的渠道联系我们以提供您的建议和意见。 添加别的通知来源 注：如果你不知道怎么提拉取请求（pull request），不妨直接新建议题（issue）。 - 写明名称、网址、同学该如何找到它等等。 这些内容写在 config/sources by selectors.json 中，详细规则见同文件夹的 .schema.json 。 其实也不用太研究那个 JSON Schema，只要看一下现有的 sources by selectors.json ，结合 VS Code 的语法提示，照猫画虎就行了。 - 描述如何从这个来源获取通知。 目前有两类方法： - 先获取通知列表的静态网页，然后用 CSS 选择器从中提取信息。 CSS 选择器写在 config/sources by selectors.json 中。 - 利用学校的 API。 在 src/core/sources/special.ts 中的 raw sources: SourceSpecialInterface[] 里。 移植到别的学校 只需要写新的 config/sources by selectors.json 和 src/core/sources/special.ts 即可。 另外，如果有移植类似HaoBIT的全套网页的想法，请使用该网站关于页内提供的渠道联系我们。 编程 DEVELOPMENT.md 描述了一些思路、细节。另外 deno doc … 可以生成文档。 这合法吗？ - 绝对不涉密 上网不涉密，涉密不上网。 我们只获取无需登录就能访问到的通知。一般人用搜索引擎都能找到这些页面，只是比较麻烦。 - 不侵犯版权 （且不论通知有没有版权）我们只获取通知的标题，并且会给出原链接。 - 基本不会给学校服务器造成压力 如前所述，获取通知不会频繁访问学校网站，一个普通人在学校网上乱点造成的压力可能都比这个项目的大。 ","default_branch":null,"files":null,"tree":[],"storefront":"/r/YDX-2147483647","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/YDX-2147483647/bulletin-issues-transferred/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}