{"id":31223351,"url":"https://github.com/chitacan/cmmt","last_synced_at":"2025-09-21T22:37:20.915Z","repository":{"id":57201211,"uuid":"240930672","full_name":"chitacan/cmmt","owner":"chitacan","description":"🚞 personal commute log scripts","archived":false,"fork":false,"pushed_at":"2020-03-11T06:08:03.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-29T08:58:34.320Z","etag":null,"topics":["appscript","clasp","ios-shortcut","nfc","oclif","shortcuts-automation"],"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/chitacan.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}},"created_at":"2020-02-16T17:05:21.000Z","updated_at":"2020-03-12T00:24:56.000Z","dependencies_parsed_at":"2022-09-15T11:22:09.366Z","dependency_job_id":null,"html_url":"https://github.com/chitacan/cmmt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chitacan/cmmt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitacan%2Fcmmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitacan%2Fcmmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitacan%2Fcmmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitacan%2Fcmmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chitacan","download_url":"https://codeload.github.com/chitacan/cmmt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chitacan%2Fcmmt/sbom","scorecard":{"id":278219,"data":{"date":"2025-08-11","repo":{"name":"github.com/chitacan/cmmt","commit":"8404a91099de615763150744b5d906253fb2c35a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/7 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"25 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4","Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T15:03:36.075Z","repository_id":57201211,"created_at":"2025-08-17T15:03:36.075Z","updated_at":"2025-08-17T15:03:36.075Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276318961,"owners_count":25621651,"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-09-21T02:00:07.055Z","response_time":72,"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":["appscript","clasp","ios-shortcut","nfc","oclif","shortcuts-automation"],"created_at":"2025-09-21T22:37:15.825Z","updated_at":"2025-09-21T22:37:20.901Z","avatar_url":"https://github.com/chitacan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmmt\n\n출퇴근, 근무 시간을 기록하고 관리하기 위한 스크립트 모음.\n\n## cli client\n\n구글 시트에 기록된 근무시간을 확인합니다.\n\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\n[![Version](https://img.shields.io/npm/v/cmmt.svg)](https://npmjs.org/package/cmmt)\n[![Downloads/week](https://img.shields.io/npm/dw/cmmt.svg)](https://npmjs.org/package/cmmt)\n[![License](https://img.shields.io/npm/l/cmmt.svg)](https://github.com/chitacan/cmmt/blob/master/package.json)\n\n### development\n\n```\n$ npm install\n$ npm link .\n```\n\n### usage\n\n```\n$ npm install -g cmmt\n$ cmmt --help\n$ cmmt\nQuery Sheet... done\n\nDate  Duration (minutes)\n02/17 07:53    473\n02/18 08:28    508\n02/19 07:30    450\n02/20 08:03    483\n02/21 08:15    495\n\nName           Duration\ntotal          40:09\ntotal (+today) 40:09\nleft           -00:09\nleft  (+today) -00:09\n```\n\n### publish\n\n```\n$ npm version (major|minor|patch)\n$ npm publish\n```\n\n## Apps Script\n\n[![clasp](https://img.shields.io/badge/built%20with-clasp-4285f4.svg)](https://github.com/google/clasp)\n\n출근과 퇴근 시각을 지정된 [구글 시트에](https://docs.google.com/spreadsheets/d/1Q7LjtAK8NxF2EoLDKjlXVSx3b0UrmIloRKmkRi-dzyg/edit?usp=sharing) 기록합니다. iOS Shortcuts 앱에서 `clasp` 으로 배포된 Apps Script 에 `HTTP GET` 요청을 보내 실행합니다.\n\n### setup\n\n[clasp](https://github.com/google/clasp/blob/master/docs/run.md#setup-instructions) 을 설치합니다. `clasp` 으로 실행, 배포하기 위해 스크립트 프로젝트를 [gcp](https://cloud.google.com/) 와 [연동합니다.](https://github.com/google/clasp/blob/master/docs/run.md#setup-instructions)\n\n```\n$ clasp login --creds cred.json\n$ clasp create --rootDir scripts --parentId \u003cDRIVE_ID\u003e\n```\n\n### development\n\n```\n$ clasp push\n$ clasp run 'main' -p '[\"CLOCK_IN\", \"김경열\", {\"pad\": \"0211\"}]'\n$ clasp run 'query' -p '[\"김경열\"]'\n$ clasp logs --watch\n```\n\n### deploy\n\n```\n$ clasp deployments\n$ clasp deploy --deploymentId \u003cDEPLOYMENT_ID\u003e\n```\n\n### iOS Shortcut\n\n* [NFC 태그를 준비합니다.](https://www.amazon.com/s?k=nfc)\n* NFC 태그로 실행할 [Clock In \u0026 Out](https://www.icloud.com/shortcuts/05e9e63ffb6145ca9ae28a459e817a62) iOS Shortcut 을 기기에 설치합니다.\n* Shortcuts 앱에서 `NFC` Automation 을 생성합니다.\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/286950/74608614-0902b180-5126-11ea-884b-c91817eaddf9.png\"/\u003e\n\n* NFC 태그가 스캔되었을때 실행할 Shortcut 을 설정합니다.\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/286950/74608650-626ae080-5126-11ea-9081-57d7d35b72ff.png\"/\u003e\n\n## [Timing](https://timingapp.com/)\n\n출근, 퇴근에 걸린 시간을 [Timing](https://web.timingapp.com/) 에 기록합니다. iOS Shortcuts 앱에서 [Timing Web API](https://web.timingapp.com/docs/) 를 호출해서 실행합니다.\n\n* [NFC 태그를 준비합니다.](https://www.amazon.com/s?k=nfc)\n* NFC 태그로 실행할 [Log Timing Task](https://www.icloud.com/shortcuts/8e930ced7fa045a4bc73f587f884ed84) iOS Shortcut 을 기기에 설치합니다.\n* Shortcuts 앱에서 `NFC` Automation 을 생성합니다.\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/286950/74608614-0902b180-5126-11ea-884b-c91817eaddf9.png\"/\u003e\n\n* NFC 태그가 스캔되었을때 실행할 Shortcut 을 설정합니다.\n\u003cimg width=\"250\" src=\"https://user-images.githubusercontent.com/286950/74608654-672f9480-5126-11ea-9c16-1070dccc8609.png\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchitacan%2Fcmmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchitacan%2Fcmmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchitacan%2Fcmmt/lists"}