{"id":14967736,"url":"https://github.com/cacivy/zhihudaily","last_synced_at":"2025-07-11T11:33:01.543Z","repository":{"id":89576844,"uuid":"63460605","full_name":"Cacivy/zhihudaily","owner":"Cacivy","description":"📰️知乎日报/主题日报/栏目总览","archived":false,"fork":false,"pushed_at":"2020-09-03T23:11:48.000Z","size":15705,"stargazers_count":23,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T10:25:01.511Z","etag":null,"topics":["jade","sass","vuejs"],"latest_commit_sha":null,"homepage":"http://zhihu.cacivy.com/","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/Cacivy.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":"2016-07-16T01:57:05.000Z","updated_at":"2023-07-11T01:01:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2161580e-fcf6-4f07-b3bb-5bca304f3421","html_url":"https://github.com/Cacivy/zhihudaily","commit_stats":{"total_commits":101,"total_committers":3,"mean_commits":"33.666666666666664","dds":0.4158415841584159,"last_synced_commit":"609a20efbe5db4b2839fa82d1673d287357ce77a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cacivy/zhihudaily","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fzhihudaily","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fzhihudaily/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fzhihudaily/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fzhihudaily/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cacivy","download_url":"https://codeload.github.com/Cacivy/zhihudaily/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cacivy%2Fzhihudaily/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264795402,"owners_count":23665231,"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":["jade","sass","vuejs"],"created_at":"2024-09-24T13:38:32.225Z","updated_at":"2025-07-11T11:33:01.520Z","avatar_url":"https://github.com/Cacivy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 知乎日报\n\n### 技术栈\n\n+ vuejs + vue-router + vuex + vue-resource\n+ swiper\n+ jade + sass\n+ normalize.css + animate.css\n\n### Demo\n\n[戳我](http://zhihu.cacivy.com/)\n\n### To Do\n\n- [x] 列表页\n- [x] 文章页面\n- [x] 返回首页\n- [x] 异步加载组件\n- [x] 加载动画\n- [X] 过渡\n- [x] 图片懒加载\n- [x] 轮播图控件\n- [x] 返回首页定位\n- [x] 过往消息缓存\n- [x] 专栏\n- [x] 栏目总览及列表\n- [x] 查看赞\n- [x] v-lazy\n- [x] 查看评论\n- [x] 迁移至[vue2.0](https://github.com/Cacivy/zhihudaily/blob/master/Vue2.0.md)\n\n\n### 目录\n\n```\n.\n├── README.md\n├── build webpack配置\n├── config 配置文件\n├── dist 打包文件夹\n├── index.html 页面入口\n├── node_modules\n├── package.json\n├── src\n\t├── App.vue\n\t├── api\n\t│   ├── api.js 知乎api\n\t│   ├── index.js api接口\n\t│   ├── resource.js VueResource\n\t│   └── server.js node代理\n\t├── assets\n\t│   ├── logo.png\n\t│   ├── screenshots 截图\n\t│   │   ├── detail.gif\n\t│   │   ├── list.gif\n\t│   │   ├── list2.gif\n\t│   │   └── sections.gif\n\t│   └── styles\n\t│       ├── animate.scss 一些css3动画\n\t│       ├── reset.css cssreset\n\t│       ├── root.scss 整体样式\n\t│       └── zhihu.css 知乎文章页的默认样式\n\t├── components\n\t│   ├── NewDetail.vue 文章详情页\n\t│   ├── NewsList.vue 文章列表页\n\t│   ├── SectionList.vue 栏目总览\n\t│   ├── TopicList.vue 主题日报\n\t│   └── general 通用组件\n\t├── filter.js 过滤器\n\t├── main.js js入口\n\t├── router.js 路由\n\t├── utils\n\t│   ├── backtop.js\n\t│   └── lazyload.js 已改为v-lazy\n\t└── vuex\n\t    ├── action.js\n\t    ├── logger.js\n\t    ├── plugins.js\n\t    └── store.js\n├── static 静态资源，如默认加载图片\n└── test karma测试\n```\n\n### Dev\n\n先安装依赖包\n```nodejs\nnpm install\n```\n\n安装node-sass需要使用cnpm\n\n```\nnpm install -g cnpm --registry=https://registry.npm.taobao.org\ncnpm install node-sass\n```\n\n开启代理\n```nodejs\nnpm run server\n```\n\nwebpack-server\n```nodejs\nnpm run dev\n```\n\n[http://localhost:8081](http://localhost:8081)\n\n### License\n\n[MIT](http://opensource.org/licenses/MIT)\n\n\u003e 感谢[izzyleung](https://github.com/izzyleung/ZhihuDailyPurify/wiki/%E7%9F%A5%E4%B9%8E%E6%97%A5%E6%8A%A5-API-%E5%88%86%E6%9E%90)提供的api，以及[yatessss](https://github.com/yatessss/zhihudaily-vue)的图片代理解决方案\n\n\n### Show\n\n![](./src/assets/screenshots/list2.gif)\n\n![](./src/assets/screenshots/sections.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacivy%2Fzhihudaily","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcacivy%2Fzhihudaily","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcacivy%2Fzhihudaily/lists"}