{"id":13490573,"url":"https://github.com/fedtop/dev-go","last_synced_at":"2025-03-28T06:31:35.898Z","repository":{"id":62468417,"uuid":"558059782","full_name":"fedtop/dev-go","owner":"fedtop","description":"🤖 一个专属于开发者的超级无敌浏览器扩展插件。(A super unbeatable browser extension plugin for developers.)💪","archived":false,"fork":false,"pushed_at":"2023-11-24T10:47:13.000Z","size":839,"stargazers_count":107,"open_issues_count":9,"forks_count":18,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-31T04:34:50.289Z","etag":null,"topics":["chrome-extension","javascript","translation","translator"],"latest_commit_sha":null,"homepage":"https://fedtop.github.io/dev-go-docs","language":"TypeScript","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/fedtop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-10-26T20:25:31.000Z","updated_at":"2024-10-23T10:10:06.000Z","dependencies_parsed_at":"2024-01-16T09:56:23.018Z","dependency_job_id":null,"html_url":"https://github.com/fedtop/dev-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedtop%2Fdev-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedtop%2Fdev-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedtop%2Fdev-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedtop%2Fdev-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedtop","download_url":"https://codeload.github.com/fedtop/dev-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245984569,"owners_count":20704792,"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-extension","javascript","translation","translator"],"created_at":"2024-07-31T19:00:48.783Z","updated_at":"2025-03-28T06:31:34.662Z","avatar_url":"https://github.com/fedtop.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# DevGo\n\n这个项目包含一些提升效率的工具。用来在浏览器中帮助我们完成一些繁杂或者重复的工作，或者提升我们使用浏览器的阅读体验。\n\n下载插件：👉🏻 [Chrome 应用商店的链接](https://chrome.google.com/webstore/detail/devgo/kcofdbjhicjdbmldlcffcijglkifnnjn)\n\n使用文档：👉🏻 [DevGo 使用文档](https://fedtop.github.io/dev-go-docs)\n\n## 贡献者们\n\n[Contributors](https://github.com/wangrongding/dev-go/graphs/contributors) 是 DevGo 的未来。\n\n\u003ca href=\"https://github.com/fedtop/dev-go/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=fedtop/dev-go\" /\u003e\n\u003c/a\u003e\n\n## 所有功能\n\n### Done\n\n- [x] [翻译](#翻译)\n- [x] [优化浏览器中自带的翻译页面](#优化浏览器中自带的翻译页面)\n- [x] [github 添加在线编辑按钮](#github添加在线编辑按钮)\n- [x] [去除外链跳转的提示](#去除外链跳转的提示)\n- [x] [去除外链跳转的提示](#去除外链跳转的提示)\n- [x] [清除用户事件的限制](#清除用户事件的限制)\n\n### Todo\n\n- [ ] P2P 传输文件 -（wip）\n- [ ] 保存页面为 PDF\n- [ ] 保存页面为 MarkDown\n- [ ] 浏览器代理\n- [ ] 图片处理工具\n- [ ] Json 格式化\n- [ ] 视频解析\n- [ ] Mock 数据\n- [ ] 番茄钟\n- [ ] 代办事项提醒\n- [ ] github 回到顶部\n\n欢迎提 Issue 和 PR。共同完善这个插件集合。\n\n## 功能介绍\n\n### 翻译\n\n查单词短句，可以通过快捷键 `Alt+Q`/`Option+Q` 或者点击插件图标打开该窗口。\n\n\u003cimg src='https://assets.fedtop.com/picbed/202212052303602.png' width='700px'\u003e\n\n翻译页面-通过中英文对照的形式阅读，在快速阅读页面的同时，也很好的解决了目前市面上翻译软件对专业词汇翻译不准确的问题。\n\n可以通过快捷键 `Ctrl+Shift+E`/`Command+Shift+E` 快速翻译当前页面。\n\n\u003cimg src='https://assets.fedtop.com/picbed/202212052313001.png' width='700px'\u003e\n\n划词翻译、右键菜单翻译,这两天加上\n\n### 优化浏览器中自带的翻译页面\n\n所有站点过滤掉代码块等不需要翻译的元素，为 github 定制化过滤了不需要翻译的元素\n\n优化浏览器中自带的翻译，标记了一些不该被翻译的元素（比如代码块，github 中一些导航），让浏览器自带的翻译在翻译页面时跳过被标记的标签。\n\n\u003cimg src='https://assets.fedtop.com/picbed/202212052322835.png' width='700px'\u003e\n\n### github 添加在线编辑按钮\n\ngithub 添加在线编辑按钮并且可以使用快捷键 \",\"直接进入。 方便快速使用 `1s` 查看代码，（为什么？因为 1s 比 通过 github 页面中快捷键\"句号\"调出的 github.dev 要快）。\n\n\u003cimg src='https://assets.fedtop.com/picbed/202210280935904.png' width='700px'\u003e\n\n### 去除外链跳转的提示\n\n每次在知乎，掘金，简书...中打开外链，都有一个跳转提示，需要手动点击确定才能跳转，很难受，这里捕获后直接重定向到目标链接。\n\n\u003cimg src='https://assets.fedtop.com/picbed/202211091022789.png' width='700px'\u003e\n\n### 清除用户事件的限制\n\n在一些网站中 copy 文本后常常后面附带一些版权信息等，很烦,清除了网站对用户行为进行了限制（比如右击菜单，选择文本，拷贝，剪切，键盘鼠标事件等）\n\n\u003cimg src='https://assets.fedtop.com/picbed/202212052328159.png' width='700px'\u003e\n\n## 开发\n\n### 运行\n\n首先，运行服务：\n\n```bash\nnpm run dev\n# or\npnpm dev\n```\n\n打开浏览器并加载适当的开发构建。例如，如果你正在为 chrome 浏览器开发，使用 manifest v3，使用:`build/chrome-mv3-dev`。\n\n![](https://assets.fedtop.com/picbed/202210270156535.png)\n\n你可以通过修改 `popup.tsx` 开始编辑弹出窗口。它应该在您进行更改时自动更新。要添加选项页面，只需添加一个 `options.tsx` 文件到项目的根，并导出一个默认的 react 组件。同样，要添加内容页，请添加 `content.ts` 文件到项目根目录，导入一些模块并执行一些逻辑，然后在浏览器上重新加载扩展。\n\n进一步指导 👉🏻[plasmo docs](https://docs.plasmo.com/)\n\n### 打包成 crx 文件\n\n运行以下:\n\n```sh\nnpm run build\n# or\npnpm build\n```\n\n这将为您的扩展创建一个生产包，准备压缩并发布到商店。\n\n### 提交到网上商店\n\n部署 plasmo 扩展最简单的方法是使用内置的[bpp](https://bpp.browser.market) GitHub action 。但是，在使用此操作之前，请确保构建您的扩展并将第一个版本上传到存储中以建立基本凭证。然后，只需遵循 [此设置说明](https://docs.plasmo.com/workflows/submit)，您就可以自动提交了!\n\n## 赞赏\n\n只需要点一个 Star⭐️ 支持我们~\n\n🌸Let's enjoy it!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedtop%2Fdev-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedtop%2Fdev-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedtop%2Fdev-go/lists"}