rubick/guide/index.html
2023-08-02 16:03:41 +08:00

41 lines
14 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>赞助 | Rubick</title>
<meta name="generator" content="VuePress 1.9.9">
<meta name="description" content="你的开源桌面插件应用">
<link rel="preload" href="/rubick/assets/css/0.styles.a1fe2806.css" as="style"><link rel="preload" href="/rubick/assets/js/app.802a86ab.js" as="script"><link rel="preload" href="/rubick/assets/js/2.733019b2.js" as="script"><link rel="preload" href="/rubick/assets/js/10.f7f1aa99.js" as="script"><link rel="prefetch" href="/rubick/assets/js/11.861f0d8b.js"><link rel="prefetch" href="/rubick/assets/js/12.8083ac2d.js"><link rel="prefetch" href="/rubick/assets/js/3.64801815.js"><link rel="prefetch" href="/rubick/assets/js/4.fc333d27.js"><link rel="prefetch" href="/rubick/assets/js/5.bfef3080.js"><link rel="prefetch" href="/rubick/assets/js/6.2d0a63f8.js"><link rel="prefetch" href="/rubick/assets/js/7.9c9172a7.js"><link rel="prefetch" href="/rubick/assets/js/8.010bfadc.js"><link rel="prefetch" href="/rubick/assets/js/9.3b2c34da.js">
<link rel="stylesheet" href="/rubick/assets/css/0.styles.a1fe2806.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/rubick/" class="home-link router-link-active"><img src="/rubick/images/logo.png" alt="Rubick" class="logo"> <span class="site-name can-hide">Rubick</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/rubick/guide/" aria-current="page" class="nav-link router-link-exact-active router-link-active">
使用文档
</a></div><div class="nav-item"><a href="/rubick/dev/" class="nav-link">
开发者
</a></div> <a href="https://github.com/rubickCenter/rubick" target="_blank" rel="noopener noreferrer" class="repo-link">
Github
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/rubick/guide/" aria-current="page" class="nav-link router-link-exact-active router-link-active">
使用文档
</a></div><div class="nav-item"><a href="/rubick/dev/" class="nav-link">
开发者
</a></div> <a href="https://github.com/rubickCenter/rubick" target="_blank" rel="noopener noreferrer" class="repo-link">
Github
<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav> <ul class="sidebar-links"><li><a href="/rubick/guide/" aria-current="page" class="active sidebar-link">使用文档</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/rubick/guide/#赞助" class="sidebar-link">赞助</a></li><li class="sidebar-sub-header"><a href="/rubick/guide/#前言" class="sidebar-link">前言</a></li><li class="sidebar-sub-header"><a href="/rubick/guide/#下载-rubick" class="sidebar-link">下载 rubick</a></li><li class="sidebar-sub-header"><a href="/rubick/guide/#功能说明" class="sidebar-link">功能说明</a></li></ul></li><li><a href="/rubick/dev/" class="sidebar-link">插件开发</a></li><li><a href="/rubick/super/" class="sidebar-link">特殊服务</a></li><li><a href="/rubick/api/" class="sidebar-link">API</a></li><li><a href="/rubick/run/" class="sidebar-link">贡献 rubick</a></li></ul> </aside> <main class="page"> <div class="theme-default-content content__default"><h2 id="赞助"><a href="#赞助" class="header-anchor">#</a> 赞助</h2> <p><code>rubick</code> 是非盈利项目,开源不容易,如果该项目对你有用的话,可以打赏我们喝杯 coffee ☕️.</p> <img width="200" src="https://pic1.zhimg.com/80/v2-688385687a37e962fe32daf136139feb_720w.png"> <img width="200" src="https://pica.zhimg.com/80/v2-1ba296fd2cece45ee1094ee7c259035c_720w.png"> <h2 id="前言"><a href="#前言" class="header-anchor">#</a> 前言</h2> <p>rubick 之前的插件管理,依托于云服务器存储,我们需要为服务器存储支付一笔不小的开销。
由于项目完全开源,所以几乎无任何收入,所以为了让 rubick 先生存下去,我们再三抉择把插件包管理方式托管到了<code>npm</code> 上。</p> <p>由于 rubick 的插件管理体系是基于 npm 的包管理体系,所以当您需要使用插件的时候,需要手动保证当前电脑已经安装好了<code>node</code>环境。
如果当前电脑已经安装过 <code>node</code>,那么您可以直接下载 <code>rubick</code> 进行使用啦!</p> <p><a href="https://juejin.cn/post/6844903886541553672" target="_blank" rel="noopener noreferrer">macos 下安装 nodejs 方法<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p><a href="https://juejin.cn/post/6892790243687137287" target="_blank" rel="noopener noreferrer">windows 下安装 nodejs 方法<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h2 id="下载-rubick"><a href="#下载-rubick" class="header-anchor">#</a> 下载 rubick</h2> <p><a href="https://github.com/rubickCenter/rubick/releases" target="_blank" rel="noopener noreferrer">rubick 下载安装地址<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>macos 选择 <code>pkg</code> 文件windows 选择 <code>exe</code> 文件Debian/Ubuntu选择<code>deb</code>
安装完成后打开 rubick 即可看到主搜索界面:</p> <p><img src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/26f0fbe2c69246b6a3ed139b0df1ca0b~tplv-k3u1fbpfcp-watermark.image" alt=""></p> <h2 id="功能说明"><a href="#功能说明" class="header-anchor">#</a> 功能说明</h2> <p>接下来详细介绍 rubick 所包含和支持的功能</p> <h3 id="_1-搜索系统应用"><a href="#_1-搜索系统应用" class="header-anchor">#</a> 1. 搜索系统应用</h3> <p>支持拼音和缩写来搜索系统安装应用:</p> <p><img src="https://p6-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ba363e8f60f540e6a5c365c4317c4413~tplv-k3u1fbpfcp-watermark.image" alt=""></p> <h3 id="_2-ui类插件安装"><a href="#_2-ui类插件安装" class="header-anchor">#</a> 2. UI类插件安装</h3> <p>点击搜索框右侧 <code>rubick</code> 图标,进入插件市场,选择所需插件,点击下载按钮即可下载,下载完成后在已安装 tab 下可以找到安装插件。
安装完成后,输入插件呼起命令即可使用对应插件:</p> <p><img src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/7ae45c7ede1f4e3bb7d35ae845e60b64~tplv-k3u1fbpfcp-watermark.image" alt=""></p> <h3 id="_3-系统类插件安装"><a href="#_3-系统类插件安装" class="header-anchor">#</a> 3. 系统类插件安装</h3> <p>系统插件安装方式和UI类一样在插件市场选择<code>系统分类</code>,寻找适合自己的系统插件安装即可。</p> <div class="custom-block danger"><p class="custom-block-title">DANGER</p> <p>系统插件安装成功后,需要重启 <code>rubick</code> 才能生效</p></div> <h3 id="_4-输入框聚焦自动根据剪切板内容匹配插件"><a href="#_4-输入框聚焦自动根据剪切板内容匹配插件" class="header-anchor">#</a> 4. 输入框聚焦自动根据剪切板内容匹配插件</h3> <p><code>rubick</code> 内搜索<code>偏好设置</code>,然后开启<code>自动粘贴</code> 功能,即可匹配剪切板内容自动匹配适合插件进行使用。</p> <p><img src="https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/01ef50fbfa064ba9a88bebe1531eacd4~tplv-k3u1fbpfcp-watermark.image" alt=""></p> <h3 id="内网部署"><a href="#内网部署" class="header-anchor">#</a> 内网部署</h3> <div class="custom-block tip"><p class="custom-block-title">TIP</p> <p>如果把插件发布到公网 <code>npm</code> 如果不符合您的公司安全要求,<code>rubick</code> 支持内网私有源和私有插件库,如果您需要内网部署使用,可以自行配置以下规则。</p></div> <p><code>rubick</code> 依赖 <code>npm</code> 仓库做插件管理,依赖 <code>gitcode</code> 做插件数据存储所以如果要进行内网部署主要需要替换这2个设置。详细设置
<code>插件市场 -&gt; 设置 -&gt; 内网部署设置</code></p> <p><img src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/1319b177fb544017ae10b4a703e8efa6~tplv-k3u1fbpfcp-watermark.image?" alt="image.png"></p> <h4 id="_1-替换-npm-源"><a href="#_1-替换-npm-源" class="header-anchor">#</a> 1. 替换 npm 源</h4> <p>插件发布到私有 <code>npm</code> 源即可。</p> <h4 id="_2-替换-gitcode-源为内网-gitlab-database-url"><a href="#_2-替换-gitcode-源为内网-gitlab-database-url" class="header-anchor">#</a> 2. 替换 <code>gitcode</code> 源为内网 <code>gitlab</code>: database url</h4> <ul><li>clone 下载 rubick 插件库:<a href="https://gitcode.net/rubickcenter/rubick-database" target="_blank" rel="noopener noreferrer">https://gitcode.net/rubickcenter/rubick-database<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li>提交仓库到私有 <code>gitlab</code> 库。</li></ul> <p>替换格式:<code>https://gitlab.xxx.com/api/v4/projects/{projectId}/repository/files/</code> 。因为接口为 <code>gitlab openAPI</code>,所以需要填写仓库 <code>access_token</code></p> <h3 id="更多功能"><a href="#更多功能" class="header-anchor">#</a> 更多功能</h3> <p>如果您还需要更多功能,欢迎来这里给我们提建议:<a href="https://github.com/rubickCenter/rubick/issues" target="_blank" rel="noopener noreferrer">issues<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a>
有价值的想法我们会加入到后期的开发当中。同时也欢迎一起加入共建。</p></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/rubickCenter/rubick/edit/master/guide/README.md" target="_blank" rel="noopener noreferrer">帮助我们改善此页面!</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <!----></footer> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/rubick/dev/">
插件开发
</a>
</span></p></div> </main></div><div class="global-ui"></div></div>
<script src="/rubick/assets/js/app.802a86ab.js" defer></script><script src="/rubick/assets/js/2.733019b2.js" defer></script><script src="/rubick/assets/js/10.f7f1aa99.js" defer></script>
</body>
</html>