{"id":13617772,"url":"https://github.com/jaywcjlove/oscnews","last_synced_at":"2025-04-07T05:06:21.004Z","repository":{"id":28448944,"uuid":"118409602","full_name":"jaywcjlove/oscnews","owner":"jaywcjlove","description":"Chrome 插件，查看开源中国软件更新资讯，文档导航，GitHub 趋势榜，linux命令索引，浏览历史记录和时钟页面。","archived":false,"fork":false,"pushed_at":"2024-09-03T08:26:13.000Z","size":23493,"stargazers_count":787,"open_issues_count":51,"forks_count":125,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-10-30T00:31:14.292Z","etag":null,"topics":["chrome","chrome-extension","chrome-github","chrome-oscnews","crx","extensions","new-tab","oscnews","react","webpack"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/oscnews/iheapfheanfjcemgneblljhaebonakbg","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/jaywcjlove.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":"https://jaywcjlove.github.io/#/sponsor"}},"created_at":"2018-01-22T05:14:49.000Z","updated_at":"2024-10-29T13:39:04.000Z","dependencies_parsed_at":"2023-01-14T08:50:27.708Z","dependency_job_id":"2ad74a2f-bc79-4c4d-93c1-faa1d8e01721","html_url":"https://github.com/jaywcjlove/oscnews","commit_stats":{"total_commits":238,"total_committers":2,"mean_commits":119.0,"dds":0.008403361344537785,"last_synced_commit":"9cd92dc9ba98247628007b57350b3d8cb71efb07"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Foscnews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Foscnews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Foscnews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Foscnews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaywcjlove","download_url":"https://codeload.github.com/jaywcjlove/oscnews/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595332,"owners_count":20963943,"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":["chrome","chrome-extension","chrome-github","chrome-oscnews","crx","extensions","new-tab","oscnews","react","webpack"],"created_at":"2024-08-01T20:01:47.794Z","updated_at":"2025-04-07T05:06:20.976Z","avatar_url":"https://github.com/jaywcjlove.png","language":"JavaScript","funding_links":["https://jaywcjlove.github.io/#/sponsor"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://www.oschina.net/\"\u003e\n    \u003cimg height=\"240\" src=\"img/oschina.svg?sanitize=true\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n\n这是一个Chrome插件，在新标签页查看开源中国[软件更新资讯](http://www.oschina.net/news/project)，搜索页面、GitHub 趋势榜、linux 命令索引，技术文档导航([web版](http://jaywcjlove.github.io/dev-site/))，浏览历史记录，时钟页面。\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600px\" src=\"./img/newtab.gif\"\u003e \n\u003c/p\u003e\n\n## 商店安装\n\n[Chrome 网上商店](https://chrome.google.com/webstore/detail/oscnews/iheapfheanfjcemgneblljhaebonakbg) 搜索 `oscnews` 安装，或者直接下载 [crx 文件](https://github.com/jaywcjlove/oscnews/releases) 安装，打开 [chrome://extensions](chrome://extensions/) 将 crx 拖拽到扩展列表中安装。\n\n[![](http://jaywcjlove.github.io/sb/download/chrome-web-store.svg)](https://chrome.google.com/webstore/detail/oscnews/iheapfheanfjcemgneblljhaebonakbg)\n\n\n\u003e [开源中国下载 oscnews.crx 文件](https://gitee.com/jaywcjlove/oscnews/releases)  \n\u003e [Github下载 oscnews.crx 文件](https://github.com/jaywcjlove/oscnews/releases) \n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"430px\" src=\"./img/osc-news1.png\"\u003e \n  \u003cimg width=\"430px\" src=\"./img/osc-news2.png\"\u003e \n  \u003cimg width=\"430px\" src=\"./img/osc-news3.png\"\u003e \n  \u003cimg width=\"430px\" src=\"./img/osc-news4.png\"\u003e \n  \u003cimg width=\"430px\" src=\"./img/osc-news5.png\"\u003e \n  \u003cimg width=\"430px\" src=\"./img/osc-news6.png\"\u003e \n  \u003cimg width=\"430px\" src=\"./img/osc-news7.png\"\u003e \n  \u003cimg width=\"430px\" src=\"./img/osc-news8.png\"\u003e \n\u003c/div\u003e\n\n#### 网址导航\n\n- 删除网址：摁住 `alt` 键，出现删除按钮，也可以右键\n\n\u003cimg width=\"430px\" src=\"./img/newtab1.gif\"\u003e \n\n#### 任务清单\n\n\u003cimg width=\"430px\" src=\"./img/newtab2.gif\"\u003e \n\n#### 兼容FireFox\n\n只需要安装 [Chrome Store Foxified ](https://addons.mozilla.org/zh-CN/firefox/addon/chrome-store-foxified/) 扩展，就能直接在 Firefox 里安装 Chrome 扩展，不过，还是需要先登录 https://addons.mozilla.org/ 然后就可以打开 [Chrome 网上商店](https://chrome.google.com/webstore/detail/oscnews/iheapfheanfjcemgneblljhaebonakbg) 里的 oscnews 。点击 ADD TO FIREFOX 后，Chrome Store Foxified 就在后台工作了，最终会在 addons 里提交一个临时扩展，并且安装在你的 Firefox 里。\n\n\u003e [Github下载 oscnews.xpi 文件](https://github.com/jaywcjlove/oscnews/releases) \n\n下载 xpi 文件，将 xpi 文件拖拽到扩展列表中安装。\n\n## 开发模式安装\n\n下载源文件\n\n```bash\ngit clone https://github.com/jaywcjlove/oscnews.git --depth=1 --recurse-submodules\n# 开源中国仓库\ngit clone https://gitee.com/jaywcjlove/oscnews.git --depth=1 --recurse-submodules\n```\n\n安装依赖\n\n```bash\nnpm install \n```\n\n编译源码\n\n```bash\nnpm run build\n```\n\n下载编译之后，在 Chrome 浏览器地址栏输入 [chrome://extensions](chrome://extensions/)  打开插件界面，通过下图方式，将生成的 `oscnews` 目录，导入到插件列表中。\n\n![](./img/osc-extensions.png)\n\n\n应用商店生成 crx 文件\n\n```diff\n- https://clients2.google.com/service/update2/crx?response=redirect\u0026x=id%3D\u003c这里是扩展ID\u003e%26uc\u0026prodversion=32\n+ https://clients2.google.com/service/update2/crx?response=redirect\u0026x=id%3Diheapfheanfjcemgneblljhaebonakbg%26uc\u0026prodversion=32\n```\n\nMac系统下扩展的源码目录\n\n```bash\ncd ~/Library/Application\\ Support/Google/Chrome/Default/Extensions\n```\n\n## TODO\n\n- [x] 浏览历史记录\n  - [x] 浏览历史选择今天、周、全部\n  - [x] 清空历史记录\n- [x] 开发文档导航\n  - [ ] 自定义开发文档导航\n  - [x] 开发文档导航搜索过滤\n  - [x] ~~添加删除文档？~~\n  - [x] 文档分类前端（前端、后端、工具）\n- [x] Linux命令检索，集成 [linux-command](https://github.com/jaywcjlove/linux-command)\n- [x] Github 趋势榜天、周、月统计切换，语言切换\n- [x] 配置存储使用 [chrome.storage](https://developer.chrome.com/apps/storage) 替代\n- [x] 添加搜索引擎页面\n- [x] 开源中国新闻\n  - [x] 宽度拖拽设置\n  - [ ] 下拉翻页\n- [x] 空页面\n  - [ ] 天气日期展示\n  - [x] 农历日期显示\n  - [x] 更换背景色\n  - [x] 添加时钟效果\n- [x] 常用网站导航\n  - [x] 自定义常用网站导航\n- [ ] 书签管理页面\n- [ ] Github\n  - [ ] Github 登录，浏览自己项目\n  - [ ] Github Start 管理\n- [ ] Gitlab 登录，相关功能\n- [ ] 集成 [octotree](https://github.com/buunguyen/octotree) 部分功能\n- [ ] 插件官方网站\n- [ ] 密码管理器\n- [ ] RSS订阅功能\n- [x] 提醒事项\n  - [x] 记录代办事项\n  - [ ] Chrome通知\n- [x] 设置功能\n  - [x] 设置是否替换新标签页显示\n  - [ ] 设置URL是否在新的标签页打开，\n  - [ ] 菜单配置\n  - [ ] 清空历史\n  - [ ] 分享应用到微博\n- [ ] 兼容其它浏览器\n  - [x] 兼容QQ浏览器，已测试下载crx文件安装直接可以用\n  - [ ] 兼容360急速浏览器\n  - [ ] 兼容Firefox浏览器\n\n## License\n\nThe MIT License (MIT)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Foscnews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaywcjlove%2Foscnews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Foscnews/lists"}