Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhqh committed Dec 9, 2023
2 parents 5415f4c + 082a8cd commit c40177e
Showing 1 changed file with 46 additions and 2 deletions.
48 changes: 46 additions & 2 deletions README.md
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. 有啥问题随便说,不过我是菜鸡前端,随手写的。

0 comments on commit c40177e

Please sign in to comment.