{"id":20173741,"url":"https://github.com/eidonlon/imitate-one","last_synced_at":"2026-04-08T14:31:32.078Z","repository":{"id":98458129,"uuid":"96033279","full_name":"eidonlon/imitate-One","owner":"eidonlon","description":"用vue＋webpack + node仿制的One[一个 ]app","archived":false,"fork":false,"pushed_at":"2018-10-14T08:56:35.000Z","size":1495,"stargazers_count":210,"open_issues_count":5,"forks_count":46,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-08-21T01:39:28.585Z","etag":null,"topics":["express","html5-application","nodejs","vue-resource","vue2","webpack"],"latest_commit_sha":null,"homepage":"http://ddan.applinzi.com/one#/","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/eidonlon.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}},"created_at":"2017-07-02T15:48:08.000Z","updated_at":"2024-10-11T13:20:29.000Z","dependencies_parsed_at":"2023-03-16T08:30:45.545Z","dependency_job_id":null,"html_url":"https://github.com/eidonlon/imitate-One","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eidonlon/imitate-One","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidonlon%2Fimitate-One","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidonlon%2Fimitate-One/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidonlon%2Fimitate-One/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidonlon%2Fimitate-One/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eidonlon","download_url":"https://codeload.github.com/eidonlon/imitate-One/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidonlon%2Fimitate-One/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31559709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["express","html5-application","nodejs","vue-resource","vue2","webpack"],"created_at":"2024-11-14T01:37:40.477Z","updated_at":"2026-04-08T14:31:32.041Z","avatar_url":"https://github.com/eidonlon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## imitate ONE\n\n简介:这是一个使用vue仿的[ONE.一个]app,纯粹学习而已。\n\n## 声明 更新于2018-10-14。\n## 这基本是一个过期的demo了，因为原本所用到的技术都更新了，所以请参考我隔壁的[最新demo](https://github.com/eidonlon/imitate-beautiful-thing). \n\n## 用到的技术\n\nvue2 + vue-router + vue-resource + webpack + express + Node爬虫\n\n## 后台接口数据\n\n​用express 搭建的后台，除了图文、阅读、音乐页面的列表是读取的本地json文件外，首页以及其他详情数据都是用爬虫爬取得[ONE.一个]网站的数据[注：这里爬取数据只是一个练习，练习而已，并没有非法使用爬来的数据呀 :scared:  ]。\n\n## 关于爬虫\n\n这里只是一个非常简单的爬虫，用的是Node HTTP API的get方法，获取到要爬取的页面，然后使用`cheerio` 进行解析处理获得想要的数据。\n\n## 运行项目\n\n``` bash\n#先克隆项目\ngit clone https://github.com/eidonlon/imitate-One.git\n\n#进入文件夹\ncd imitate-One\n\n#安装依赖\nnpm install\n\n#运行\nnpm run dev\n\n#然后浏览器会自动打开页面，请在chrome下调成手机模式预览\n#另，项目打包[此处只打包了前端的代码，后台并没有一起被打包]\nnpm run build \n```\n\n\n## 效果演示\n\n线上效果请[戳这里](http://ddan.applinzi.com/one#/);(请在chrome下调成手机模式预览)\n\n\n##### 移动端扫描下方二维码\n![二维码](https://github.com/eidonlon/imitate-One/blob/master/static/images/link.png)\n\n## 部分截图\n\n首页\n\n![home](https://github.com/eidonlon/imitate-One/blob/master/static/images/home.jpg)\n\n\n菜单\n\n![menu](https://github.com/eidonlon/imitate-One/blob/master/static/images/menu.jpg)\n\n\n音乐\n\n![music](https://github.com/eidonlon/imitate-One/blob/master/static/images/music.jpg)\n\n\n阅读\n\n![read](https://github.com/eidonlon/imitate-One/blob/master/static/images/read.jpg)\n\n**都看到这里，给个star 吧。**\n\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n\n# build for production and view the bundle analyzer report\nnpm run build --report\n\n# run unit tests\nnpm run unit\n\n# run e2e tests\nnpm run e2e\n\n# run all tests\nnpm test\n```\n\nFor detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidonlon%2Fimitate-one","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feidonlon%2Fimitate-one","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidonlon%2Fimitate-one/lists"}