{"id":25655212,"url":"https://github.com/cyio/cnbeta-pwa","last_synced_at":"2026-06-12T22:31:57.566Z","repository":{"id":54626014,"uuid":"114746834","full_name":"cyio/cnbeta-pwa","owner":"cyio","description":"Cnbeta 资讯轻快版","archived":false,"fork":false,"pushed_at":"2024-02-03T12:07:02.000Z","size":2276,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T21:22:58.811Z","etag":null,"topics":["cnbeta","leancloud","pwa"],"latest_commit_sha":null,"homepage":"https://cnbeta.oaker.bid/","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/cyio.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}},"created_at":"2017-12-19T09:40:28.000Z","updated_at":"2024-08-19T01:18:34.000Z","dependencies_parsed_at":"2024-02-03T13:24:14.567Z","dependency_job_id":"4b68ef6e-6a79-437f-9c23-c12a9483a820","html_url":"https://github.com/cyio/cnbeta-pwa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cyio/cnbeta-pwa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyio%2Fcnbeta-pwa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyio%2Fcnbeta-pwa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyio%2Fcnbeta-pwa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyio%2Fcnbeta-pwa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyio","download_url":"https://codeload.github.com/cyio/cnbeta-pwa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyio%2Fcnbeta-pwa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34265491,"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-12T02:00:06.859Z","response_time":109,"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":["cnbeta","leancloud","pwa"],"created_at":"2025-02-23T21:20:20.409Z","updated_at":"2026-06-12T22:31:57.537Z","avatar_url":"https://github.com/cyio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cnbeta-pwa\n\n线上访问：[Cnbeta Lite](https://cnbeta.oaker.bid/)\n\n## 说明\n\n* 后端 api 从 [移动版_cnBeta.COM](http://m.cnbeta.com/wap) 爬取数据\n* 前端由[vuejs-templates/pwa](https://github.com/vuejs-templates/pwa) 创建，基于这个目录结构改造支持 leancloud 部署\n\n提供接口：\n- `/api/cnbeta` 列表\n- `/api/cnbeta/:id` 详情\n- `/api/proxy` 反向代理\n\n原理：\n- DOM 解析使用 cheerio\n- 图片防盗链: 中转请求指定 referrer\n- 反向代理，修改 CORS header\n\n## 开发\n\n安装依赖，在项目根目录下 \n```sh\nyarn\n```\n\n本地开发启动后端\n```sh\nlean up\n```\n或者不使用 leancloud\n```sh\nyarn dev\n```\n启动前端\n```sh\nyarn dev:web\n```\n\n## 部署\n```sh\nlean deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyio%2Fcnbeta-pwa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyio%2Fcnbeta-pwa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyio%2Fcnbeta-pwa/lists"}