{"id":11963173,"url":"https://github.com/whlin1115/react-native-cnodejs","last_synced_at":"2025-10-15T15:31:03.301Z","repository":{"id":246770411,"uuid":"102811607","full_name":"whlin1115/react-native-cnodejs","owner":"whlin1115","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-17T09:18:26.000Z","size":16187,"stargazers_count":120,"open_issues_count":3,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-30T12:04:59.905Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/whlin1115.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":"2017-09-08T03:10:51.000Z","updated_at":"2023-08-05T13:56:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b17f937a-143c-4701-84d3-85ff319c423e","html_url":"https://github.com/whlin1115/react-native-cnodejs","commit_stats":null,"previous_names":["linwh1115/react-native-cnodejs","whlin1115/react-native-cnodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whlin1115/react-native-cnodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whlin1115%2Freact-native-cnodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whlin1115%2Freact-native-cnodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whlin1115%2Freact-native-cnodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whlin1115%2Freact-native-cnodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whlin1115","download_url":"https://codeload.github.com/whlin1115/react-native-cnodejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whlin1115%2Freact-native-cnodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014755,"owners_count":26085593,"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-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2024-07-02T00:21:25.379Z","updated_at":"2025-10-15T15:31:02.553Z","avatar_url":"https://github.com/whlin1115.png","language":"JavaScript","funding_links":[],"categories":["Awesome-CNode"],"sub_categories":["React Native"],"readme":"# react-native 实现cnodejs客户端\n\n首页和详情页UI参考 https://github.com/shinygang/Vue-cnodejs\n\nAPI由 https://cnodejs.org/api 提供\n\n在官方提供的API之外，增加搜索入口和个人资料入口。\n\n# 如何运行\n\n\u003cpre\u003e\u003ccode\u003e npm install 或者 yarn \u003c/code\u003e\u003c/pre\u003e\n\u003cpre\u003e\u003ccode\u003e react-native start \u003c/code\u003e\u003c/pre\u003e\n\u003cpre\u003e\u003ccode\u003e react-native run-android 或者 react-native run-ios\u003c/code\u003e\u003c/pre\u003e\n\n如果还没有安装 react-native 那么先  npm i react-native-cli -g\n如果遇到无法启动问题，先尝试将 node 版本切换到8.1.0（推荐使用nvm安装）\n如果npm安装有提示问题，那么尝试使用 yarn 安装\n\n# 主要功能\n\ntoken登录、退出；\n查看、发布、编辑主题；\n点赞评论、回复主题、收藏主题；\n搜索、添加好友、实时聊天；\n查看资料、查看收藏的主题、回复的主题；\n\n# 更新\n\n17-9-25:\n集成聊天，实现搜索好友，处理申请，实时聊天；\n\n17-9-26:\n\u003cpre\u003e修复安卓搜索框显示不全问题  \n修复安卓tabbar的icon不能显示问题  \n新增对评论进行回复  \n优化FlatList显示逻辑  \n修复搜索记录不能及时更新问题  \n修复android首页发布话题按钮不显示问题   \n修复点赞、收藏图标点击后不显示问题  \u003c/pre\u003e\n\n# 说明\n\n这个项目之间断断续续花了差不多12天时间，之前有一点react基础，因此做react-native上手就稍微快了。\n\n基本就是一边看文档一边做，不懂的Google，所以这个项目可能有些地方写的不好，有时间想到了改进下项目，但是期间学习到了很多知识。\n\n比较复杂的功能还需要时间学习。\n\n这只是一个练手的项目，希望大家多多交流\n\n# 部分演示\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/chat.gif\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/home.gif\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/search.gif\" width=\"50%\" height=\"50%\"\u003e\n\n# 部分截图\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/511504842345_.pic_hd.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/521504842419_.pic_hd.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/531504842468_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/541504842490_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/551504842567_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/561504842591_.pic_hd.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/571504842628_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/571504842628_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/581504842670_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/591504844116_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/621504844256_.pic.jpg\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/WX20170925-171924%402x.png\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/WX20170925-171942%402x.png\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/WX20170925-171950%402x.png\" width=\"50%\" height=\"50%\"\u003e\n\n\u003cimg src=\"https://github.com/linwh1115/react-native-cnodejs/blob/master/src/screenshot/WX20170925-173126%402x.png\" width=\"50%\" height=\"50%\"\u003e\n\n# 等待修复问题\n\n- [ ] 上拉加载更多数据的时候，在android由于加载数据时间比较久，导致不能点击item，只有等待loading结束后才能正常点击（猜测是FlatList的问题，待观察）。\n- [ ] android端，点击主页上的tab，反应慢的问题（Android貌似都会比ios慢半拍 = = ）。\n- [ ] 文章图片显示问题，可能需要换个解析html的框架。\n- [x] android如果图片设置 position:'absolute'，不能显示问题，比如新建文章按钮。\n- [x] android如果图片是点击后才显示的，不显示问题，比如点赞和收藏按钮。\n\n# 待完善的功能\n\n- [ ] 实现扫码登录\n- [ ] 首页UI调整区分 首页和招聘板块\n- [x] 详情页面内容显示优化\n- [x] 添加回复评论\n- [ ] 话题发布优化\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhlin1115%2Freact-native-cnodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhlin1115%2Freact-native-cnodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhlin1115%2Freact-native-cnodejs/lists"}