{"id":21305029,"url":"https://github.com/maximilianmairinger/clocktrainer","last_synced_at":"2025-03-15T19:26:46.672Z","repository":{"id":72157414,"uuid":"556393387","full_name":"maximilianMairinger/clockTrainer","owner":"maximilianMairinger","description":"Train to read arbitrary clocks fast.","archived":false,"fork":false,"pushed_at":"2022-11-15T02:35:20.000Z","size":390,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-22T08:42:48.144Z","etag":null,"topics":["clock","trainer"],"latest_commit_sha":null,"homepage":"https://clocktrainer.maximilian.mairinger.com","language":"TypeScript","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/maximilianMairinger.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":"2022-10-23T18:52:25.000Z","updated_at":"2022-10-23T18:52:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4c1a913-1f77-45f2-9f38-f26462d22194","html_url":"https://github.com/maximilianMairinger/clockTrainer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilianMairinger%2FclockTrainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilianMairinger%2FclockTrainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilianMairinger%2FclockTrainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximilianMairinger%2FclockTrainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximilianMairinger","download_url":"https://codeload.github.com/maximilianMairinger/clockTrainer/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243779692,"owners_count":20346752,"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":["clock","trainer"],"created_at":"2024-11-21T16:16:40.172Z","updated_at":"2025-03-15T19:26:46.666Z","avatar_url":"https://github.com/maximilianMairinger.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clock trainer\n\nTrain to read arbitrary clocks fast.\n\n## Contribute\n\nThe frontend / client is referred as app. The backend as server.\n\n### Development env\n\n#### Develop app\n\nThe source of the app can be found in `/app` and the serviceWorker's in `/serviceWorker`.\n\n```\n $ npm run devApp\n```\n\nBuilds the app on save \u0026 spins up a live (notifies client to reload on change) repl server, whose source can be found in `/replServer/src`.\n\n#### Develop server\n\nSource found in `/server/src`.\n\n```\n $ npm run devServer\n```\n\nBuilds the server \u0026 replApp on save. The source of the replApp can be found under `/replApp`. No live reloading available, since its the prod server.\n\n#### Develop server \u0026 app\n\n```\n $ npm run dev\n```\n\nWatches production server \u0026 app and builds them on save. No live reloading avalible, since its the prod server.\n\n### Deploy\n\n#### Build scripts\n\nBuild everything for production\n\n```\n $ npm run build\n```\n\n#### Start\n\nStart the server with default options\n\n```\n $ npm start\n```\n\nSince this is a [npm-run-script](https://docs.npmjs.com/cli/run-script), cli options must be escaped in order to distinguish them from npm options. Simply prefix all options with **one** `--` like so: \n\n```\n $ npm start --  --port 1234 --outageReciliance strong\n```\n\n##### CLI options\n\nHere is a list of all recognised cli options:\n\n\u003e TODO","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximilianmairinger%2Fclocktrainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximilianmairinger%2Fclocktrainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximilianmairinger%2Fclocktrainer/lists"}