{"id":24930437,"url":"https://github.com/h1rono/blog-notify","last_synced_at":"2025-07-24T00:05:17.912Z","repository":{"id":186283511,"uuid":"607064337","full_name":"H1rono/blog-notify","owner":"H1rono","description":"crowi → traQ Webhook with GAS","archived":false,"fork":false,"pushed_at":"2025-07-20T22:51:03.000Z","size":414,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T00:23:56.908Z","etag":null,"topics":["clasp","traq","traq-bot","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/H1rono.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-27T08:32:50.000Z","updated_at":"2025-07-20T22:51:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7c8df09-d35f-4edb-aee4-df2bc3ef9012","html_url":"https://github.com/H1rono/blog-notify","commit_stats":null,"previous_names":["h1rono/blog-notify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/H1rono/blog-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H1rono%2Fblog-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H1rono%2Fblog-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H1rono%2Fblog-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H1rono%2Fblog-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/H1rono","download_url":"https://codeload.github.com/H1rono/blog-notify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H1rono%2Fblog-notify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266770501,"owners_count":23981575,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["clasp","traq","traq-bot","typescript"],"created_at":"2025-02-02T13:54:30.812Z","updated_at":"2025-07-24T00:05:17.888Z","avatar_url":"https://github.com/H1rono.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blog-notify\n\n[![clasp](https://img.shields.io/badge/built%20with-clasp-4285f4.svg)](https://github.com/google/clasp)\n[![Node.js CI](https://github.com/H1rono/blog-notify/actions/workflows/node.yml/badge.svg)](https://github.com/H1rono/blog-notify/actions/workflows/node.yml)\n\ncrowi → traQ Webhook with GAS\n\n## 機能\n\n1. [traP Wiki](https://github.com/traPtitech/crowi)のブログリレーページを読む\n2. ページの内容を解析して通知メッセージを作成\n3. traQ webhookで通知を投稿\n\n## Development\n\n[npm](https://www.npmjs.com/)と[clasp](https://github.com/google/clasp)に依存\n\n```bash\n$ export YOUR_GAS_SCRIPT_ID= # GASプロジェクトのID\n$ git clone https://github.com/H1rono/blog-notify.git\n$ cd blog-notify\n$ npm i\n$ npm run login  # 最初の一度のみ\n$ npm run clone -- \"${YOUR_GAS_SCRIPT_ID}\"\n$ rm main.js     # ローカルではTypeScriptを使用するため削除\n```\n\n## GASのプロパティ設定\n\nkey | value\n:-- | :--\n`CROWI_HOST` | Wikiのサーバーのhostname\n`CROWI_PAGE_PATH` | ブログリレーページのパス\n`CROWI_ACCESS_TOKEN` | WikiのAPIアクセストークン\n`TRAQ_HOST` | traQのサーバーのhostname\n`TRAQ_CHANNEL_ID` | 通知を投稿するチャンネルのID\n`TRAQ_LOG_CHANNEL_ID` | 実行ログを流すチャンネルのID\n`TRAQ_BURI_CHANNEL_PATH` | ブログリレー運営チャンネルのパス(`#`始まり)\n`TRAQ_REVIEW_CHANNEL_PATH` | ブログの添削・相談用チャンネルのパス(`#`始まり)\n`WEBHOOK_SECRET` | Webhookシークレット\n`WEBHOOK_ID` | Webhook ID\n`TAG` | ブログリレーで使用するタグ\n`TITLE` | ブログリレーのタイトル\n`START_DATE` | ブログリレー開始日\n`TRIGGER_SET_HOURS` | リマインドする時間(時)\n`TRIGGER_SET_MINUTES` | リマインドする時間(分)\n\n## このリポジトリに関するブログ記事\n\n- [ブログリレーを支えるリマインダー | 東京工業大学デジタル創作同好会traP](https://trap.jp/post/1992/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1rono%2Fblog-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh1rono%2Fblog-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1rono%2Fblog-notify/lists"}