├── .github
├── ISSUE_TEMPLATE
│ └── 问题反馈.md
└── workflows
│ └── VuePress.yml
├── .gitignore
├── .yarnrc.yml
├── LICENSE
├── README.md
├── docs
├── .vuepress
│ ├── config.ts
│ ├── configs
│ │ ├── index.ts
│ │ ├── navbar
│ │ │ ├── en.ts
│ │ │ ├── index.ts
│ │ │ └── zh.ts
│ │ └── sidebar
│ │ │ ├── en.ts
│ │ │ ├── index.ts
│ │ │ └── zh.ts
│ ├── public
│ │ └── logo
│ │ │ ├── logo.png
│ │ │ ├── 点击前往指南 黑.svg
│ │ │ └── 点击前往指南.svg
│ └── styles
│ │ └── index.scss
├── README.md
├── development
│ ├── 历史版本.md
│ ├── 开发计划.md
│ ├── 文档开发.md
│ ├── 网页端更新日志.md
│ ├── 脚本更新日志.md
│ └── 通知.md
├── document
│ ├── FAQ
│ │ ├── 常见问题.md
│ │ ├── 错误代码(网页工具).md
│ │ └── 错误代码.md
│ ├── Info
│ │ ├── 秒传格式.md
│ │ └── 脚本说明.md
│ ├── Install
│ │ ├── About.md
│ │ ├── Android.md
│ │ ├── Dev.md
│ │ ├── MacOS.md
│ │ ├── Web.md
│ │ └── Windows.md
│ ├── README.md
│ ├── 秒传链接生成
│ │ ├── PCS-Go 客户端.md
│ │ ├── 一键秒传.md
│ │ ├── 极速生成.md
│ │ └── 秒传生成相关.md
│ └── 预防和谐
│ │ ├── 已知和谐原因.md
│ │ ├── 度盘防和谐.md
│ │ └── 文件和谐.md
├── 作者.md
└── 关于我.md
├── package.json
├── pnpm-lock.yaml
└── yarn.lock
/.github/ISSUE_TEMPLATE/问题反馈.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: 问题反馈
3 | about: 你是否清楚明白此反馈仅针对文档
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | - [ ] 你是否清楚你反馈的问题是针对文档的
11 | - [ ] 你是否清楚脚本出现问题应该反馈给脚本
12 |
--------------------------------------------------------------------------------
/.github/workflows/VuePress.yml:
--------------------------------------------------------------------------------
1 | name: docs
2 |
3 | on:
4 | # 每当 push 到 VuePress 分支时触发部署
5 | push:
6 | branches: [VuePress]
7 | # 手动触发部署
8 | workflow_dispatch:
9 |
10 | jobs:
11 | docs:
12 | runs-on: ubuntu-latest
13 |
14 | steps:
15 | - uses: actions/checkout@v3
16 | with:
17 | # “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
18 | fetch-depth: 0
19 |
20 | - name: Setup pnpm
21 | uses: pnpm/action-setup@v2
22 | with:
23 | # 选择要使用的 pnpm 版本
24 | version: 7
25 | # 使用 pnpm 安装依赖
26 | run_install: true
27 |
28 | - name: Setup Node.js
29 | uses: actions/setup-node@v3
30 | with:
31 | # 选择要使用的 node 版本
32 | node-version: 18
33 | # 缓存 pnpm 依赖
34 | cache: pnpm
35 |
36 | # 运行构建脚本
37 | - name: Build VuePress site
38 | run: pnpm docs:build
39 |
40 | # 查看 workflow 的文档来获取更多信息
41 | # @see https://github.com/crazy-max/ghaction-github-pages
42 | - name: Deploy to GitHub Pages
43 | uses: crazy-max/ghaction-github-pages@v2
44 | with:
45 | # 部署到 gh-pages 分支
46 | target_branch: gh-pages
47 | # 部署目录为 VuePress 的默认输出目录
48 | build_dir: docs/.vuepress/dist
49 | env:
50 | # @see https://docs.github.com/cn/actions/reference/authentication-in-a-workflow#about-the-github_token-secret
51 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | **/.history
2 | node_modules
3 | .temp
4 | .cache
5 | website
6 | dist
7 | .yarn
8 |
--------------------------------------------------------------------------------
/.yarnrc.yml:
--------------------------------------------------------------------------------
1 | nodeLinker: node-modules
2 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Attribution-ShareAlike 4.0 International
2 |
3 | =======================================================================
4 |
5 | Creative Commons Corporation ("Creative Commons") is not a law firm and
6 | does not provide legal services or legal advice. Distribution of
7 | Creative Commons public licenses does not create a lawyer-client or
8 | other relationship. Creative Commons makes its licenses and related
9 | information available on an "as-is" basis. Creative Commons gives no
10 | warranties regarding its licenses, any material licensed under their
11 | terms and conditions, or any related information. Creative Commons
12 | disclaims all liability for damages resulting from their use to the
13 | fullest extent possible.
14 |
15 | Using Creative Commons Public Licenses
16 |
17 | Creative Commons public licenses provide a standard set of terms and
18 | conditions that creators and other rights holders may use to share
19 | original works of authorship and other material subject to copyright
20 | and certain other rights specified in the public license below. The
21 | following considerations are for informational purposes only, are not
22 | exhaustive, and do not form part of our licenses.
23 |
24 | Considerations for licensors: Our public licenses are
25 | intended for use by those authorized to give the public
26 | permission to use material in ways otherwise restricted by
27 | copyright and certain other rights. Our licenses are
28 | irrevocable. Licensors should read and understand the terms
29 | and conditions of the license they choose before applying it.
30 | Licensors should also secure all rights necessary before
31 | applying our licenses so that the public can reuse the
32 | material as expected. Licensors should clearly mark any
33 | material not subject to the license. This includes other CC-
34 | licensed material, or material used under an exception or
35 | limitation to copyright. More considerations for licensors:
36 | wiki.creativecommons.org/Considerations_for_licensors
37 |
38 | Considerations for the public: By using one of our public
39 | licenses, a licensor grants the public permission to use the
40 | licensed material under specified terms and conditions. If
41 | the licensor's permission is not necessary for any reason--for
42 | example, because of any applicable exception or limitation to
43 | copyright--then that use is not regulated by the license. Our
44 | licenses grant only permissions under copyright and certain
45 | other rights that a licensor has authority to grant. Use of
46 | the licensed material may still be restricted for other
47 | reasons, including because others have copyright or other
48 | rights in the material. A licensor may make special requests,
49 | such as asking that all changes be marked or described.
50 | Although not required by our licenses, you are encouraged to
51 | respect those requests where reasonable. More_considerations
52 | for the public:
53 | wiki.creativecommons.org/Considerations_for_licensees
54 |
55 | =======================================================================
56 |
57 | Creative Commons Attribution-ShareAlike 4.0 International Public
58 | License
59 |
60 | By exercising the Licensed Rights (defined below), You accept and agree
61 | to be bound by the terms and conditions of this Creative Commons
62 | Attribution-ShareAlike 4.0 International Public License ("Public
63 | License"). To the extent this Public License may be interpreted as a
64 | contract, You are granted the Licensed Rights in consideration of Your
65 | acceptance of these terms and conditions, and the Licensor grants You
66 | such rights in consideration of benefits the Licensor receives from
67 | making the Licensed Material available under these terms and
68 | conditions.
69 |
70 |
71 | Section 1 -- Definitions.
72 |
73 | a. Adapted Material means material subject to Copyright and Similar
74 | Rights that is derived from or based upon the Licensed Material
75 | and in which the Licensed Material is translated, altered,
76 | arranged, transformed, or otherwise modified in a manner requiring
77 | permission under the Copyright and Similar Rights held by the
78 | Licensor. For purposes of this Public License, where the Licensed
79 | Material is a musical work, performance, or sound recording,
80 | Adapted Material is always produced where the Licensed Material is
81 | synched in timed relation with a moving image.
82 |
83 | b. Adapter's License means the license You apply to Your Copyright
84 | and Similar Rights in Your contributions to Adapted Material in
85 | accordance with the terms and conditions of this Public License.
86 |
87 | c. BY-SA Compatible License means a license listed at
88 | creativecommons.org/compatiblelicenses, approved by Creative
89 | Commons as essentially the equivalent of this Public License.
90 |
91 | d. Copyright and Similar Rights means copyright and/or similar rights
92 | closely related to copyright including, without limitation,
93 | performance, broadcast, sound recording, and Sui Generis Database
94 | Rights, without regard to how the rights are labeled or
95 | categorized. For purposes of this Public License, the rights
96 | specified in Section 2(b)(1)-(2) are not Copyright and Similar
97 | Rights.
98 |
99 | e. Effective Technological Measures means those measures that, in the
100 | absence of proper authority, may not be circumvented under laws
101 | fulfilling obligations under Article 11 of the WIPO Copyright
102 | Treaty adopted on December 20, 1996, and/or similar international
103 | agreements.
104 |
105 | f. Exceptions and Limitations means fair use, fair dealing, and/or
106 | any other exception or limitation to Copyright and Similar Rights
107 | that applies to Your use of the Licensed Material.
108 |
109 | g. License Elements means the license attributes listed in the name
110 | of a Creative Commons Public License. The License Elements of this
111 | Public License are Attribution and ShareAlike.
112 |
113 | h. Licensed Material means the artistic or literary work, database,
114 | or other material to which the Licensor applied this Public
115 | License.
116 |
117 | i. Licensed Rights means the rights granted to You subject to the
118 | terms and conditions of this Public License, which are limited to
119 | all Copyright and Similar Rights that apply to Your use of the
120 | Licensed Material and that the Licensor has authority to license.
121 |
122 | j. Licensor means the individual(s) or entity(ies) granting rights
123 | under this Public License.
124 |
125 | k. Share means to provide material to the public by any means or
126 | process that requires permission under the Licensed Rights, such
127 | as reproduction, public display, public performance, distribution,
128 | dissemination, communication, or importation, and to make material
129 | available to the public including in ways that members of the
130 | public may access the material from a place and at a time
131 | individually chosen by them.
132 |
133 | l. Sui Generis Database Rights means rights other than copyright
134 | resulting from Directive 96/9/EC of the European Parliament and of
135 | the Council of 11 March 1996 on the legal protection of databases,
136 | as amended and/or succeeded, as well as other essentially
137 | equivalent rights anywhere in the world.
138 |
139 | m. You means the individual or entity exercising the Licensed Rights
140 | under this Public License. Your has a corresponding meaning.
141 |
142 |
143 | Section 2 -- Scope.
144 |
145 | a. License grant.
146 |
147 | 1. Subject to the terms and conditions of this Public License,
148 | the Licensor hereby grants You a worldwide, royalty-free,
149 | non-sublicensable, non-exclusive, irrevocable license to
150 | exercise the Licensed Rights in the Licensed Material to:
151 |
152 | a. reproduce and Share the Licensed Material, in whole or
153 | in part; and
154 |
155 | b. produce, reproduce, and Share Adapted Material.
156 |
157 | 2. Exceptions and Limitations. For the avoidance of doubt, where
158 | Exceptions and Limitations apply to Your use, this Public
159 | License does not apply, and You do not need to comply with
160 | its terms and conditions.
161 |
162 | 3. Term. The term of this Public License is specified in Section
163 | 6(a).
164 |
165 | 4. Media and formats; technical modifications allowed. The
166 | Licensor authorizes You to exercise the Licensed Rights in
167 | all media and formats whether now known or hereafter created,
168 | and to make technical modifications necessary to do so. The
169 | Licensor waives and/or agrees not to assert any right or
170 | authority to forbid You from making technical modifications
171 | necessary to exercise the Licensed Rights, including
172 | technical modifications necessary to circumvent Effective
173 | Technological Measures. For purposes of this Public License,
174 | simply making modifications authorized by this Section 2(a)
175 | (4) never produces Adapted Material.
176 |
177 | 5. Downstream recipients.
178 |
179 | a. Offer from the Licensor -- Licensed Material. Every
180 | recipient of the Licensed Material automatically
181 | receives an offer from the Licensor to exercise the
182 | Licensed Rights under the terms and conditions of this
183 | Public License.
184 |
185 | b. Additional offer from the Licensor -- Adapted Material.
186 | Every recipient of Adapted Material from You
187 | automatically receives an offer from the Licensor to
188 | exercise the Licensed Rights in the Adapted Material
189 | under the conditions of the Adapter's License You apply.
190 |
191 | c. No downstream restrictions. You may not offer or impose
192 | any additional or different terms or conditions on, or
193 | apply any Effective Technological Measures to, the
194 | Licensed Material if doing so restricts exercise of the
195 | Licensed Rights by any recipient of the Licensed
196 | Material.
197 |
198 | 6. No endorsement. Nothing in this Public License constitutes or
199 | may be construed as permission to assert or imply that You
200 | are, or that Your use of the Licensed Material is, connected
201 | with, or sponsored, endorsed, or granted official status by,
202 | the Licensor or others designated to receive attribution as
203 | provided in Section 3(a)(1)(A)(i).
204 |
205 | b. Other rights.
206 |
207 | 1. Moral rights, such as the right of integrity, are not
208 | licensed under this Public License, nor are publicity,
209 | privacy, and/or other similar personality rights; however, to
210 | the extent possible, the Licensor waives and/or agrees not to
211 | assert any such rights held by the Licensor to the limited
212 | extent necessary to allow You to exercise the Licensed
213 | Rights, but not otherwise.
214 |
215 | 2. Patent and trademark rights are not licensed under this
216 | Public License.
217 |
218 | 3. To the extent possible, the Licensor waives any right to
219 | collect royalties from You for the exercise of the Licensed
220 | Rights, whether directly or through a collecting society
221 | under any voluntary or waivable statutory or compulsory
222 | licensing scheme. In all other cases the Licensor expressly
223 | reserves any right to collect such royalties.
224 |
225 |
226 | Section 3 -- License Conditions.
227 |
228 | Your exercise of the Licensed Rights is expressly made subject to the
229 | following conditions.
230 |
231 | a. Attribution.
232 |
233 | 1. If You Share the Licensed Material (including in modified
234 | form), You must:
235 |
236 | a. retain the following if it is supplied by the Licensor
237 | with the Licensed Material:
238 |
239 | i. identification of the creator(s) of the Licensed
240 | Material and any others designated to receive
241 | attribution, in any reasonable manner requested by
242 | the Licensor (including by pseudonym if
243 | designated);
244 |
245 | ii. a copyright notice;
246 |
247 | iii. a notice that refers to this Public License;
248 |
249 | iv. a notice that refers to the disclaimer of
250 | warranties;
251 |
252 | v. a URI or hyperlink to the Licensed Material to the
253 | extent reasonably practicable;
254 |
255 | b. indicate if You modified the Licensed Material and
256 | retain an indication of any previous modifications; and
257 |
258 | c. indicate the Licensed Material is licensed under this
259 | Public License, and include the text of, or the URI or
260 | hyperlink to, this Public License.
261 |
262 | 2. You may satisfy the conditions in Section 3(a)(1) in any
263 | reasonable manner based on the medium, means, and context in
264 | which You Share the Licensed Material. For example, it may be
265 | reasonable to satisfy the conditions by providing a URI or
266 | hyperlink to a resource that includes the required
267 | information.
268 |
269 | 3. If requested by the Licensor, You must remove any of the
270 | information required by Section 3(a)(1)(A) to the extent
271 | reasonably practicable.
272 |
273 | b. ShareAlike.
274 |
275 | In addition to the conditions in Section 3(a), if You Share
276 | Adapted Material You produce, the following conditions also apply.
277 |
278 | 1. The Adapter's License You apply must be a Creative Commons
279 | license with the same License Elements, this version or
280 | later, or a BY-SA Compatible License.
281 |
282 | 2. You must include the text of, or the URI or hyperlink to, the
283 | Adapter's License You apply. You may satisfy this condition
284 | in any reasonable manner based on the medium, means, and
285 | context in which You Share Adapted Material.
286 |
287 | 3. You may not offer or impose any additional or different terms
288 | or conditions on, or apply any Effective Technological
289 | Measures to, Adapted Material that restrict exercise of the
290 | rights granted under the Adapter's License You apply.
291 |
292 |
293 | Section 4 -- Sui Generis Database Rights.
294 |
295 | Where the Licensed Rights include Sui Generis Database Rights that
296 | apply to Your use of the Licensed Material:
297 |
298 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right
299 | to extract, reuse, reproduce, and Share all or a substantial
300 | portion of the contents of the database;
301 |
302 | b. if You include all or a substantial portion of the database
303 | contents in a database in which You have Sui Generis Database
304 | Rights, then the database in which You have Sui Generis Database
305 | Rights (but not its individual contents) is Adapted Material,
306 |
307 | including for purposes of Section 3(b); and
308 | c. You must comply with the conditions in Section 3(a) if You Share
309 | all or a substantial portion of the contents of the database.
310 |
311 | For the avoidance of doubt, this Section 4 supplements and does not
312 | replace Your obligations under this Public License where the Licensed
313 | Rights include other Copyright and Similar Rights.
314 |
315 |
316 | Section 5 -- Disclaimer of Warranties and Limitation of Liability.
317 |
318 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
319 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
320 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
321 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
322 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
323 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
324 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
325 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
326 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
327 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
328 |
329 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
330 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
331 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
332 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
333 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
334 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
335 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
336 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
337 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
338 |
339 | c. The disclaimer of warranties and limitation of liability provided
340 | above shall be interpreted in a manner that, to the extent
341 | possible, most closely approximates an absolute disclaimer and
342 | waiver of all liability.
343 |
344 |
345 | Section 6 -- Term and Termination.
346 |
347 | a. This Public License applies for the term of the Copyright and
348 | Similar Rights licensed here. However, if You fail to comply with
349 | this Public License, then Your rights under this Public License
350 | terminate automatically.
351 |
352 | b. Where Your right to use the Licensed Material has terminated under
353 | Section 6(a), it reinstates:
354 |
355 | 1. automatically as of the date the violation is cured, provided
356 | it is cured within 30 days of Your discovery of the
357 | violation; or
358 |
359 | 2. upon express reinstatement by the Licensor.
360 |
361 | For the avoidance of doubt, this Section 6(b) does not affect any
362 | right the Licensor may have to seek remedies for Your violations
363 | of this Public License.
364 |
365 | c. For the avoidance of doubt, the Licensor may also offer the
366 | Licensed Material under separate terms or conditions or stop
367 | distributing the Licensed Material at any time; however, doing so
368 | will not terminate this Public License.
369 |
370 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
371 | License.
372 |
373 |
374 | Section 7 -- Other Terms and Conditions.
375 |
376 | a. The Licensor shall not be bound by any additional or different
377 | terms or conditions communicated by You unless expressly agreed.
378 |
379 | b. Any arrangements, understandings, or agreements regarding the
380 | Licensed Material not stated herein are separate from and
381 | independent of the terms and conditions of this Public License.
382 |
383 |
384 | Section 8 -- Interpretation.
385 |
386 | a. For the avoidance of doubt, this Public License does not, and
387 | shall not be interpreted to, reduce, limit, restrict, or impose
388 | conditions on any use of the Licensed Material that could lawfully
389 | be made without permission under this Public License.
390 |
391 | b. To the extent possible, if any provision of this Public License is
392 | deemed unenforceable, it shall be automatically reformed to the
393 | minimum extent necessary to make it enforceable. If the provision
394 | cannot be reformed, it shall be severed from this Public License
395 | without affecting the enforceability of the remaining terms and
396 | conditions.
397 |
398 | c. No term or condition of this Public License will be waived and no
399 | failure to comply consented to unless expressly agreed to by the
400 | Licensor.
401 |
402 | d. Nothing in this Public License constitutes or may be interpreted
403 | as a limitation upon, or waiver of, any privileges and immunities
404 | that apply to the Licensor or You, including from the legal
405 | processes of any jurisdiction or authority.
406 |
407 |
408 | =======================================================================
409 |
410 | Creative Commons is not a party to its public
411 | licenses. Notwithstanding, Creative Commons may elect to apply one of
412 | its public licenses to material it publishes and in those instances
413 | will be considered the “Licensor.” The text of the Creative Commons
414 | public licenses is dedicated to the public domain under the CC0 Public
415 | Domain Dedication. Except for the limited purpose of indicating that
416 | material is shared under a Creative Commons public license or as
417 | otherwise permitted by the Creative Commons policies published at
418 | creativecommons.org/policies, Creative Commons does not authorize the
419 | use of the trademark "Creative Commons" or any other trademark or logo
420 | of Creative Commons without its prior written consent including,
421 | without limitation, in connection with any unauthorized modifications
422 | to any of its public licenses or any other arrangements,
423 | understandings, or agreements concerning use of licensed material. For
424 | the avoidance of doubt, this paragraph does not form part of the
425 | public licenses.
426 |
427 | Creative Commons may be contacted at creativecommons.org.
428 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 秒传链接提取脚本 - 文档&教程
2 |
3 | 欢迎访问秒传链接提取脚本文档&教程,你可以在这里找到使用秒传链接提取脚本的详细方法
4 |
5 | 文档还在制作过程中,你可以提出更多的文档内容
6 |
7 | 详细文档请前往文档链接:
8 |
9 | 脚本仓库:
10 |
11 | [](https://xtsat.github.io/rapid-upload-userscript-doc/#gh-light-mode-only)
12 | [](https://xtsat.github.io/rapid-upload-userscript-doc/#gh-dark-mode-only)
13 |
--------------------------------------------------------------------------------
/docs/.vuepress/config.ts:
--------------------------------------------------------------------------------
1 | import { navbar, sidebar } from './configs'
2 |
3 | import { defineUserConfig } from 'vuepress'
4 |
5 | import { defaultTheme } from 'vuepress'
6 |
7 | import { searchPlugin } from '@vuepress/plugin-search'
8 |
9 | export default defineUserConfig({
10 | base: '/rapid-upload-userscript-doc/',
11 |
12 | head: [
13 |
14 | [
15 | 'link',
16 | {
17 | rel: 'icon',
18 | type: 'image/png',
19 | sizes: '16x16',
20 | href: `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABBUlEQVR4AZTTJRBUURTH4TtDwXuPdPrgbhHXiksf3CPucRNScHd3d3d3uO9bKeu7b79+fun8Q17CNHyMMUqaiPE4fEyYVjjGNKnNwQ4lpgV8lManEfwfosLHEGPU1N3ZnAv4qlT+NiQ56uPWSjKBrztUSnIaB66sY1vgxgxoMXB5NbsCB9rxcB5fN2M5/16nCFxeS6YTezpzsB1Pu/C2O7/78/99eYBYHXh+gqdHObGIK4GHgevjVIt1AgAnhvE4cGe8euoHbizgYuD2RGgx8O0RpwIPRmsmJDGqcrANd3pLo/qVr03hUlcpfSwf0/vD3JwkPdPK5/zhkOz+/f1FIDv/RcnOAEjywH/DhgADAAAAAElFTkSuQmCC`,
21 | },
22 | ],
23 |
24 | ],
25 |
26 | // site-level locales config
27 | locales: {
28 | '/': {
29 | lang: '简体中文',
30 | title: '秒传链接提取脚本 - 文档&教程',
31 | description: '用于提取和生成百度网盘秒传链接的脚本教程',
32 | },
33 | // '/en/': {
34 | // lang: 'English',
35 | // title: 'rapid-upload-userscript-doc',
36 | // description: 'Script tutorial for extracting and generating second transmission links of Baidudisk',
37 | // },
38 | },
39 |
40 | theme: defaultTheme({
41 | // 在这里进行配置
42 | logo: '/logo/logo.png',
43 |
44 | repo: 'XTsat/rapid-upload-userscript-doc',
45 |
46 | docsBranch: 'VuePress',
47 | docsDir: 'docs',
48 |
49 | // theme-level locales config
50 | locales: {
51 |
52 | // '/en/': {
53 | // // navbar
54 | // navbar: navbar.en,
55 | // selectLanguageName: 'English',
56 | // selectLanguageText: '选择语言',
57 | // selectLanguageAriaLabel: '选择语言',
58 |
59 | // // sidebar
60 | // sidebar: sidebar.en,
61 |
62 | // // page meta
63 | // editLinkText: 'Edit this page on GitHub',
64 | // },
65 |
66 | '/': {
67 | // navbar
68 | navbar: navbar.zh,
69 | selectLanguageName: '简体中文',
70 | selectLanguageText: 'language',
71 | selectLanguageAriaLabel: 'language',
72 |
73 | repoLabel: 'GitHub文档',
74 |
75 | // sidebar
76 | sidebar: sidebar.zh,
77 |
78 | // page meta
79 | editLinkText: '在 GitHub 上编辑此页',
80 | lastUpdatedText: '最后更新时间',
81 | contributorsText: '编辑人',
82 |
83 | // custom containers
84 | tip: '提示',
85 | warning: '注意',
86 | danger: '警告',
87 |
88 | // 404 page
89 | notFound: [
90 | '找不到该页面',
91 | '这里什么都没有',
92 | '我们怎么到这来了?',
93 | '这是一个 404 页面',
94 | '看起来我们进入了错误的链接',
95 | ],
96 | backToHome: '返回首页',
97 |
98 | // a11y
99 | openInNewWindow: '在新窗口打开',
100 | toggleColorMode: '切换夜间模式',
101 | toggleSidebar: '切换侧边栏',
102 | },
103 | },
104 |
105 | }),
106 |
107 | plugins: [
108 | searchPlugin({
109 | // 配置项
110 | locales: {
111 | // '/en/': {
112 | // placeholder: 'Search',
113 | // hotKeys: ['/']
114 | // },
115 | '/': {
116 | placeholder: '搜索文档',
117 | }
118 | },
119 | }),
120 | ],
121 |
122 |
123 | }
124 | )
--------------------------------------------------------------------------------
/docs/.vuepress/configs/index.ts:
--------------------------------------------------------------------------------
1 | export * as navbar from './navbar'
2 | export * as sidebar from './sidebar'
--------------------------------------------------------------------------------
/docs/.vuepress/configs/navbar/en.ts:
--------------------------------------------------------------------------------
1 | import type { NavbarConfig } from '@vuepress/theme-default'
2 |
3 | export const en: NavbarConfig = [
4 | {
5 | text: 'HOME',
6 | link: '/en/'
7 | },
8 | ]
--------------------------------------------------------------------------------
/docs/.vuepress/configs/navbar/index.ts:
--------------------------------------------------------------------------------
1 | export * from './zh'
2 | // export * from './en'
--------------------------------------------------------------------------------
/docs/.vuepress/configs/navbar/zh.ts:
--------------------------------------------------------------------------------
1 | import type { NavbarConfig } from '@vuepress/theme-default'
2 |
3 | export const zh: NavbarConfig = [
4 | {
5 | text: '主页',
6 | link: '/'
7 | },
8 | {
9 | text: '文档',
10 | link: '/document/info/脚本说明.html',
11 | },
12 | {
13 | text: '深入',
14 | link: '/development/脚本更新日志.html',
15 | },
16 | {
17 | text: '作者',
18 | link: '/作者.html',
19 | },
20 | {
21 | text: '关于我',
22 | link: '/关于我.html',
23 | },
24 | ]
--------------------------------------------------------------------------------
/docs/.vuepress/configs/sidebar/en.ts:
--------------------------------------------------------------------------------
1 | import type { SidebarConfig } from '@vuepress/theme-default'
2 |
3 | export const en: SidebarConfig = {
4 | '/en/': [
5 | {
6 | text: 'HOME',
7 | collapsible: false,
8 | children: [
9 | ]
10 | },
11 | ],
12 |
13 | };
--------------------------------------------------------------------------------
/docs/.vuepress/configs/sidebar/index.ts:
--------------------------------------------------------------------------------
1 | export * from './zh'
2 | // export * from './en'
--------------------------------------------------------------------------------
/docs/.vuepress/configs/sidebar/zh.ts:
--------------------------------------------------------------------------------
1 | import type { SidebarConfig } from '@vuepress/theme-default'
2 |
3 | export const zh: SidebarConfig = {
4 | '/document/': [
5 | {
6 | text: '简单介绍',
7 | collapsible: false,
8 | children: [
9 | '/document/Info/脚本说明.html',
10 | '/document/Info/秒传格式.html',
11 | ]
12 | },
13 | {
14 | text: '脚本安装&使用',
15 | collapsible: false,
16 | children: [
17 | '/document/Install/About.html',
18 | '/document/Install/Windows.html',
19 | '/document/Install/Android.html',
20 | '/document/Install/MacOS.html',
21 | '/document/Install/Web.html',
22 | ]
23 | },
24 | {
25 | text: '秒传链接生成',
26 | collapsible: false,
27 | children: [
28 | '/document/秒传链接生成/秒传生成相关.html',
29 | '/document/秒传链接生成/一键秒传.html',
30 | '/document/秒传链接生成/极速生成.html',
31 | // '/document/秒传链接生成/PCS-Go 客户端.html',
32 | ]
33 | },
34 | {
35 | text: '如何预防和谐',
36 | collapsible: false,
37 | children: [
38 | '/document/预防和谐/文件和谐.html',
39 | '/document/预防和谐/已知和谐原因.html',
40 | '/document/预防和谐/度盘防和谐.html',
41 | ]
42 | },
43 | {
44 | text: '常见问题',
45 | collapsible: false,
46 | children: [
47 | '/document/FAQ/常见问题.html',
48 | '/document/FAQ/错误代码.html',
49 | '/document/FAQ/错误代码(网页工具).html',
50 | ]
51 | },
52 | ],
53 |
54 | '/development/': [
55 | {
56 | text: '开发日志',
57 | collapsible: false,
58 | children: [
59 | '/development/脚本更新日志.html',
60 | '/development/历史版本.html',
61 | '/development/开发计划.html',
62 | // '/development/通知.html',
63 | '/development/网页端更新日志.html',
64 | ]
65 | },
66 | {
67 | text: '参与开发',
68 | collapsible: false,
69 | children: [
70 | '/development/文档开发.html',
71 | ]
72 | },
73 |
74 | ],
75 | };
76 |
--------------------------------------------------------------------------------
/docs/.vuepress/public/logo/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/XTsat/rapid-upload-userscript-doc/bd45b41ba1a613b897e79c7122acaef181dfc86d/docs/.vuepress/public/logo/logo.png
--------------------------------------------------------------------------------
/docs/.vuepress/public/logo/点击前往指南 黑.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
--------------------------------------------------------------------------------
/docs/.vuepress/public/logo/点击前往指南.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
39 |
--------------------------------------------------------------------------------
/docs/.vuepress/styles/index.scss:
--------------------------------------------------------------------------------
1 | :root {
2 | // brand colors
3 | --c-brand: #ffa200;
4 | --c-brand-light: #ffbd09;
5 | }
6 |
7 | html.dark {
8 | // brand colors
9 | --c-brand: #ffb90e;
10 | --c-brand-light: #ffd100;
11 |
12 | }
13 |
14 | .link-box {
15 | ol {
16 | display: inherit;
17 |
18 | li {
19 | cursor: pointer;
20 | display: inline-block;
21 | margin: 10px 0;
22 | width: 98%;
23 | font-size: 16px;
24 | border: 1px solid var(--c-border-dark);
25 | border-radius: 5px;
26 | transition: all .3s;
27 | text-align: right;
28 |
29 | a {
30 | display: inline-block;
31 | position: relative;
32 | width: 100%;
33 | height: 100%;
34 | opacity: .8;
35 | padding: 10px 20px;
36 | box-sizing: border-box;
37 | transition: all .3s;
38 |
39 | strong {
40 | position: absolute;
41 | left: 25px;
42 | }
43 |
44 | &:hover {
45 | opacity: 1;
46 | text-decoration: none !important;
47 | }
48 | }
49 |
50 | &:hover {
51 | transform: translate3d(0, -2px, 0);
52 | box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
53 | }
54 | }
55 | }
56 | }
57 |
58 | //Greasy Fork 安装脚本样式
59 | #install-area {
60 | margin-bottom: 1em
61 | }
62 |
63 | #install-area .install-help-link:focus,
64 | #install-area .install-help-link:hover,
65 | #install-area .install-link:focus,
66 | #install-area .install-link:hover {
67 | transition: box-shadow .2s;
68 | box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)
69 | }
70 |
71 | .install-help-link,
72 | .install-link,
73 | .install-link:active,
74 | .install-link:hover,
75 | .install-link:visited {
76 | transition: box-shadow .2s;
77 | display: inline-block;
78 | background-color: #005200;
79 | padding: .5em 1em;
80 | color: #fff;
81 | text-decoration: none
82 | }
83 |
84 | .install-help-link,
85 | .install-help-link:active,
86 | .install-help-link:hover,
87 | .install-help-link:visited {
88 | background-color: #1e971e;
89 | color: #fff
90 | }
91 |
92 | // //油小猴 安装脚本样式
93 | // .install-box[data-v-0d120fa7] {
94 | // margin-top: 20px;
95 | // margin-bottom: 10px;
96 | // display: flex
97 | // }
98 |
99 | // .install-box .install-help-link[data-v-0d120fa7]:focus,
100 | // .install-box .install-help-link[data-v-0d120fa7]:hover,
101 | // .install-box .install-link[data-v-0d120fa7]:focus,
102 | // .install-box .install-link[data-v-0d120fa7]:hover {
103 | // transition: box-shadow .2s;
104 | // box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)
105 | // }
106 |
107 | // .install-help-link[data-v-0d120fa7],
108 | // .install-link[data-v-0d120fa7],
109 | // .install-link[data-v-0d120fa7]:active,
110 | // .install-link[data-v-0d120fa7]:hover,
111 | // .install-link[data-v-0d120fa7]:visited {
112 | // transition: box-shadow .2s;
113 | // display: inline-block;
114 | // background-color: #005200;
115 | // padding: .7rem 1.1rem;
116 | // color: #fff;
117 | // text-decoration: none;
118 | // font-weight: 700
119 | // }
120 |
121 | // .install-help-link[data-v-0d120fa7],
122 | // .install-help-link[data-v-0d120fa7]:active,
123 | // .install-help-link[data-v-0d120fa7]:hover,
124 | // .install-help-link[data-v-0d120fa7]:visited {
125 | // background-color: #1e971e;
126 | // color: #fff
127 | // }
128 |
129 |
130 | // #install-area .install-help-link:focus,
131 | // #install-area .install-help-link:hover,
132 | // #install-area .install-link:focus,
133 | // #install-area .install-link:hover {
134 | // transition: box-shadow .2s;
135 | // box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2), 0 6px 20px 0 rgba(0, 0, 0, .19)
136 | // }
--------------------------------------------------------------------------------
/docs/README.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: 首页
3 | home: true
4 | # heroImage: /logo/
5 | heroText: 秒传链接提取脚本
6 | tagline: 度盘秒传脚本的相关文档
7 | actions:
8 | - text: 安装脚本
9 | link: /document/Install/About.html
10 | type: secondary
11 | - text: 帮助文档
12 | link: /document/Info/脚本说明.html
13 | type: primary
14 | - text: 常见错误代码
15 | link: /document/FAQ/错误代码.html
16 | type: primary
17 | features:
18 | - title: 秒传脚本安装&使用
19 | details: 此文档提供 Win/安卓 平台下的完整安装流程, 适用于无法正常安装和使用脚本的用户
20 | - title: 秒传链接生成
21 | details: 秒传脚本自带生成秒传链接的功能, 此文档用于帮助用户解决相关问题
22 | - title: 一键秒传链接(新)
23 | details: 使秒传能像传统分享链接一样,实现单次点击即可跳转到网盘页面转存
24 | - title: 常见错误代码
25 | details: 适用于解决秒传 生成&分享 过程中遇到问题, 例如 秒传无效 / md5 获取失败 / 文件和谐
26 | - title: 预防文件和谐
27 | details: 文件和谐机制&对策,详细介绍部分和谐原因
28 | - title: 常见问题
29 | details: 帮助你快速找到问题和解决办法
30 | footer: