-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
1 changed file
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,46 @@ | ||
# Raw2Repo | ||
快捷切换代码托管平台(GitHub、Gitee、GitCode、GitLab)的raw页面到repo页面的插件 | ||
<div align="center"> | ||
<h1>Raw2Repo</h1> | ||
<h2>By Rick</h2> | ||
<img width="160" src="https://blog.rick.icu/Raw2Repo.png" alt="logo"> | ||
</div> | ||
|
||
|
||
|
||
## 📖快捷切换代码托管平台(GitHub、Gitee、GitCode、GitLab)的raw页面到repo页面的插件 | ||
|
||
## ✨Features | ||
|
||
### 功能: | ||
|
||
- ✅单击 Raw2Repo 插件按钮,即可跳转到相应的代码仓库页面。 | ||
- ✅支持 **GitHub**、**Gitee**、**GitCode** 和 **GitLab**。 | ||
- ✅GitHub、Gitee 可以展示相关仓库信息 | ||
|
||
## 效果: | ||
|
||
| <img src="https://pic.rick.icu/i/2023/12/09/657412632a2aa.png" alt="Github" style="zoom: 15%;" /> | <img src="https://pic.rick.icu/i/2023/12/09/657412d64c6cb.png" alt="Gitlab" style="zoom:15%;" /> | | ||
| ------------------------------------------------------------ | ------------------------------------------------------------ | | ||
| <img src="https://pic.rick.icu/i/2023/12/09/6574131619d8c.png" alt="Gitlab" style="zoom:15%;" /> | <img src="https://pic.rick.icu/i/2023/12/09/6574134a2272f.png" alt="image-20231209151205127" style="zoom:15%;" /> | | ||
|
||
### TODO | ||
|
||
- 提供更多仓库信息 | ||
- 提供更多跳转选项 | ||
|
||
## 🧩**插件用法:** | ||
|
||
1. 下载[**Releases**](https://github.com/rickhqh/Raw2Repo/releases)插件压缩包zip,然后解压 | ||
2. 打开chorme扩展程序 **chrome://extensions/**页面,点击**加载已解压的扩展程序**。 [**详细教程**](https://support.google.com/chrome/a/answer/2714278?hl=zh-Hans) | ||
3. 浏览到任何支持的代码文件的 **raw** 页面。 | ||
4. 单击 **GO**,即可立即切换到相应代码仓库的文件。 | ||
|
||
## 💡F&Q | ||
|
||
1. 最近配置新**vps**和surge 找了很多脚本,**Raw**页面要查看**Repo**很烦,就写了这个插件。。 | ||
|
||
2. 其实本来是想写油猴脚本 (写好了 [Raw2Repo 油猴](https://greasyfork.org/zh-CN/scripts/481684-raw2repo)),github , gitee沙盒很烦,我不会呀。。 | ||
|
||
> Blocked opening 'https://raw.githubusercontent.com' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set. | ||
3. 有啥问题随便说,不过我是菜鸡前端,随手写的。 | ||
|