{"id":23901517,"url":"https://github.com/junya737/auto-gen-activity-record","last_synced_at":"2026-06-17T22:31:20.912Z","repository":{"id":236914765,"uuid":"793408213","full_name":"junya737/auto-gen-activity-record","owner":"junya737","description":"コロナ禍にサークル活動をするうえで義務付けられていた，活動報告書の作成を自動化するコードである．","archived":false,"fork":false,"pushed_at":"2024-10-20T09:49:35.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T10:19:23.273Z","etag":null,"topics":["automation","covid-19","googleappsscript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junya737.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-04-29T07:01:27.000Z","updated_at":"2024-10-20T09:49:39.000Z","dependencies_parsed_at":"2024-04-29T08:29:43.246Z","dependency_job_id":"ba9a2609-b8ca-491e-8ef6-246b75b895ad","html_url":"https://github.com/junya737/auto-gen-activity-record","commit_stats":null,"previous_names":["junya737/auto-gen-activity-record"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/junya737/auto-gen-activity-record","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junya737%2Fauto-gen-activity-record","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junya737%2Fauto-gen-activity-record/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junya737%2Fauto-gen-activity-record/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junya737%2Fauto-gen-activity-record/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junya737","download_url":"https://codeload.github.com/junya737/auto-gen-activity-record/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junya737%2Fauto-gen-activity-record/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34468766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["automation","covid-19","googleappsscript"],"created_at":"2025-01-04T21:39:16.155Z","updated_at":"2026-06-17T22:31:20.895Z","avatar_url":"https://github.com/junya737.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# コロナ禍のためのサークル活動報告書自動生成コード\n \n コロナ禍にサークル活動をするうえで義務付けられていた，活動報告書の作成を自動化するコードである．\n\n## 作成の経緯と目的\n\n 私の所属していた大学では，コロナ禍にサークル活動をするために，活動場所（通称BOX）への入退室時に，その時間，名前，学生番号，当日の体温を活動報告書に記入し，保管しておくことが求められていた．\n これは，部員にコロナ感染者が出たときに，保管しておいた活動報告書から濃厚接触者を特定し，すみやかに自宅待機をさせることができるためである．\n 活動報告書の作成は交代制で回していたが，面倒で作成をサボるものや，忘れるものが後を立たなかった．\n そして，コロナ感染者が出てから慌てて過去の記録をさかのぼって活動報告書を作成するということが日常茶飯事であった．\n そのため，私はこの面倒な活動報告書の作成を[Google App Scripts](https://www.google.com/script/start/)(GAS)で自動化することにした．\n 以上がこのコードを作成した経緯と目的である．\n\n## 仕組み\n 1. 入退室の際に，部員にはGoogle Formに必要な情報を入力してもらう．\n 入力内容はスプレッドシートに記録される．\n 2. スプレッドシートのタイムスタンプから，その日に入退室した部員を特定する.\n 3. 毎日夜の23:59分にスクリプトのトリガーを設定し，その日に入退室した部員の情報を抽出，テンプレートから活動報告書を作成する．\n 4. 活動報告書を保管場所のディレクトリに格納\n\n\n\u003cfigure\u003e\n  \u003cimg src=\"image.jpeg\" alt=\"image\"\u003e\n  \u003ccenter\u003e\n  \u003cfigcaption\u003eイメージ図\u003c/figcaption\u003e\n\u003c/figure\u003e\n\n## 使用技術\n- Google App Scripts(GAS)\n- JaveScript\n- Google Spread Sheets\n- Google Form\n\n## 実行方法\n1. 大学から提供された活動報告書テンプレートをGoogle Drive上に保存し，そのスプレッドシートIDをプログラムに書く．\n2. Google Formの回答を保存しているGoogle SheetsのスプレッドシートIDもプログラムに書く．\n3. main.gsをGASにコピペし，main.gsのAutomationにトリガーを設定すれば，毎日活動報告書を作成してくれる．\n\n## 連絡先\n何かご要件，ご要望があれば以下まで．\n\njunyaihira[@]gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunya737%2Fauto-gen-activity-record","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunya737%2Fauto-gen-activity-record","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunya737%2Fauto-gen-activity-record/lists"}