{"id":33001956,"url":"https://github.com/Gwokhov/chronus","last_synced_at":"2025-11-16T07:00:52.681Z","repository":{"id":39105233,"uuid":"177734189","full_name":"gwokhov/chronus","owner":"gwokhov","description":"🕐 一款能帮助管理生活目标的微信小程序","archived":false,"fork":false,"pushed_at":"2020-03-14T06:24:21.000Z","size":531,"stargazers_count":245,"open_issues_count":2,"forks_count":63,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-06T23:55:09.922Z","etag":null,"topics":["cloud-storage","echarts","weapp","weixin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gwokhov.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":"2019-03-26T07:14:27.000Z","updated_at":"2025-09-22T10:44:09.000Z","dependencies_parsed_at":"2022-08-01T07:59:00.105Z","dependency_job_id":null,"html_url":"https://github.com/gwokhov/chronus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gwokhov/chronus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwokhov%2Fchronus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwokhov%2Fchronus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwokhov%2Fchronus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwokhov%2Fchronus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gwokhov","download_url":"https://codeload.github.com/gwokhov/chronus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwokhov%2Fchronus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284672648,"owners_count":27044736,"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-11-16T02:00:05.974Z","response_time":65,"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":["cloud-storage","echarts","weapp","weixin"],"created_at":"2025-11-13T14:00:24.545Z","updated_at":"2025-11-16T07:00:52.672Z","avatar_url":"https://github.com/gwokhov.png","language":"JavaScript","funding_links":[],"categories":["Demo"],"sub_categories":["数据接口有问题"],"readme":"# Chronus\n\n## 介绍 / Why \"Chronus\"\n\n\u003e Chronos is the personification of time in pre-Socratic philosophy and later literature.\n\n🕐Chronus 是一款能帮助你管理生活目标的微信小程序。通过 Chronus，你可以轻而易举地对目标进行管理，并且结合计时器能够清楚地去记录你在实现目标过程中的每一条记录。同时他拥有良好的交互体验提供直观的数据分析，帮助你观察目标的进度。\n\n该项目为小程序原生环境开发，并且利用云开发能力（云函数、数据库）作为数据持久化方案，首页的可视化 Pie 使用了[ECharts](https://github.com/ecomfe/echarts-for-weixin)图表。\n\n若你对云开发感兴趣的话，该实践项目可能对你有帮助。\n\n## 体验 Chronus\n\n![小程序码](https://raw.githubusercontent.com/Gwokhov/chronus/master/pictures/QR.jpg)\n\n## 截图\n\n![预览图](https://raw.githubusercontent.com/Gwokhov/chronus/master/pictures/preview.jpg)\n\n## 导入项目\n\n1. 在微信开发工具中导入该项目文件夹。\n2. **确保你开通了云开发功能**。\n3. 在微信开发工具中将全部云函数上传并部署。\n4. **在 `/miniprogram/config.js` 中输入你的云开发环境id。**\n5. 在云开发数据库中创建 `users`、`goals`、`goal-records`  三个集合。\n6. 在 `goal-records` 中添加 `goalId` 为唯一索引，在 `users `中添加 `_openid` 为唯一索引。\n\n## 项目结构说明\n\n```\n├───cloudfunctions   //云函数存放目录\n│   ├───addGoalRecord   //添加目标记录\n│   ├───addUser   //创建用户\n│   ├───createGoal   //创建目标\n│   ├───editGoalTitle   //修改目标标题\n│   ├───getGoalData   //获取单个目标信息\n│   ├───getGoalList   //获取全部目标\n│   ├───login   //注册openid\n│   └───removeGoal   //删除单个目标\n└───miniprogram   //小程序存放目录\n    ├───components   //组件存放目录\n    │   ├───loading   //加载组件\n    │   ├───modal   //输入框组件\n    │   ├───tag   //标签组件\n    │   └───tips   //提示组件\n    │       └───images\n    ├───config   //静态配置\n    ├───images   //图片资源\n    │   ├───detail\n    │   ├───home\n    │   └───timer\n    ├───libs   //引用库\n    │   └───ec-canvas\n    ├───models\n    ├───pages   //页面存放\n    │   ├───detail\n    │   ├───home\n    │   ├───summary\n    │   └───timer\n    └───utils   //工具函数\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGwokhov%2Fchronus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGwokhov%2Fchronus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGwokhov%2Fchronus/lists"}