{"id":13708556,"url":"https://github.com/shuuji3/twins-notification","last_synced_at":"2025-04-12T11:20:40.303Z","repository":{"id":54090866,"uuid":"241716989","full_name":"shuuji3/twins-notification","owner":"shuuji3","description":"📡 筑波大学の Twins の掲示を通知するプログラム","archived":false,"fork":false,"pushed_at":"2021-03-09T14:04:34.000Z","size":184,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T07:54:19.725Z","etag":null,"topics":["slack","tsukuba","twins"],"latest_commit_sha":null,"homepage":"https://twins.tsukuba.ac.jp/","language":"TypeScript","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/shuuji3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-19T20:19:49.000Z","updated_at":"2023-03-19T08:09:26.000Z","dependencies_parsed_at":"2022-08-13T06:40:27.901Z","dependency_job_id":null,"html_url":"https://github.com/shuuji3/twins-notification","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuuji3%2Ftwins-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuuji3%2Ftwins-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuuji3%2Ftwins-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuuji3%2Ftwins-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuuji3","download_url":"https://codeload.github.com/shuuji3/twins-notification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248558124,"owners_count":21124223,"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":["slack","tsukuba","twins"],"created_at":"2024-08-02T23:00:26.971Z","updated_at":"2025-04-12T11:20:40.278Z","avatar_url":"https://github.com/shuuji3.png","language":"TypeScript","funding_links":[],"categories":["公式サービス関連"],"sub_categories":["TWINS"],"readme":"# 📡 twins-notification\n\n筑波大学の[Twins](https://twins.tsukuba.ac.jp/)の掲示板のお知らせを通知してくれるプログラムです。Twinsの掲示板を確認するのが大変な人のために作りました。\n\n## スクリーンショット\n\n![Slack通知のスクリーンショット](screenshot.png)\n\n💻 Slackへの通知例\n\n## 使い方\n\n1. `.env.example`を`.env`にコピーする。\n1. `.env`に必要な情報を入力する。\n1. `twins-notification.config.yaml`を自分好みに設定する。\n\n### Node.jsを使用する場合\n\n1. `yarn install`を実行する(初回のみ)。\n1. `yarn start`を実行する。\n1. Slackに通知が来るはずです。\n\n### コンテナを使用する場合\n\n```shell\nmake build\nmake run\n```\n\n### KubernetesクラスタにCronJobとしてデプロイする場合\n\n```shell\nmake build\nmake push\nmake deploy\n```\n\n## 現在の制限事項\n\n- WebhookのpayloadがSlackに適した形式にしか対応していません。\n  - Slackの通知で満足してしまいそうなので、他の通知方法に対応するかどうかは未定です。RSSで出力したり、メールで1週間のお知らせを通知できたら嬉しいかも？\n- 通知範囲の指定方法が、「現在から指定日数前」以外に存在しません。\n- お知らせ一覧に書かれた情報しか通知してくれません。\n  - Twinsには各お知らせに対するPermalinkが存在しないため、お知らせの詳細がわかりません。([issue #1](https://github.com/shuuji3/twins-notification/issues/1))\n- エラーハンドリングをちゃんとしていません。\n\n## ライセンス\n\n[GNU General Public License v3.0](./LICENSE)\n\n## 関連リポジトリ\n\n- [shuuji3/userscript-twins-insert-article-url-button: 📋 筑波大学のtwinsに「個別のお知らせページを開くボタン」と「他人と共有できるURLをコピーするボタン」を追加するスクリプト](https://github.com/shuuji3/userscript-twins-insert-article-url-button)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuuji3%2Ftwins-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuuji3%2Ftwins-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuuji3%2Ftwins-notification/lists"}