mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
update domains and word breaks
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<div align="center">
|
||||
<img src="./public/header.png" alt="onedrive-vercel-index" />
|
||||
<h3><a href="https://drive.swo.moe">onedrive-vercel-index</a></h3>
|
||||
<p><a href="https://onedrive-vercel-index.spencerwoo.com/docs/getting-started">Get started</a> · <a href="https://onedrive-vercel-index.spencerwoo.com/blog/whats-new">What's new?</a> · <a href="https://onedrive-vercel-index.spencerwoo.com/sponsor">Sponsoring</a></p>
|
||||
<p><a href="https://ovi.swo.moe/docs/getting-started">Get started</a> · <a href="https://ovi.swo.moe/blog/whats-new">What's new?</a> · <a href="https://ovi.swo.moe/sponsor">Sponsoring</a></p>
|
||||
<p><em>OneDrive public directory listing, powered by Vercel and Next.js</em></p>
|
||||
|
||||
<img src="https://img.shields.io/badge/OneDrive-2C68C3?style=flat&logo=microsoft-onedrive&logoColor=white" alt="OneDrive" />
|
||||
<img src="https://img.shields.io/badge/Next.js-black?style=flat&logo=next.js&logoColor=white" alt="Next.js" />
|
||||
<img src="https://img.shields.io/badge/Vercel-black?style=flat&logo=Vercel&logoColor=white" alt="Vercel" />
|
||||
<a href="https://onedrive-vercel-index.spencerwoo.com"><img src="https://img.shields.io/badge/Documentation-black?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABeUlEQVRIie2VwUrDQBCGZ5ZubNmS0Ba9tF6CUqTHpg+g+AhCn8R30DfpM3jRezdHoZJroaBJQ2qgsIEdD7YSsCtJVBTxP87u/t/u7M4swDcLTQNSSseyLFbERCmlPc9LCgF83z/jnE9s294vvk+AJEmesiwbe553awQEQbCXZVnY7/ebjBXa/Ju01jCbzVIA6AwGA7WN1/KT4jg+6vV6TcYYpGlKq9UKiQgAAOr1OnU6HWNKGWPQarWa8/n8GADudwIQ0UJ89QjDEKMoOiEitRm7tm37gnNuPAUiAiJa+VjNNJmIYDgcPiAiAQD4vh9tT1NG5RJdQT8PkFKak/5ZgJTyUgjxPJ1Ob4josArAeMmWZYHrulftdhvX6/X5YrEwPtFKgG63C7ApxEajga7rVvH/BZf8D/hjACJSVRpabj1su+9OgBAiiOM41VqXNtdaw3K5TIUQQT7+rjqllKec84njOAdlAEmSPCqlxqPR6O5DQA70JZ/+t+sFAb2R22dSZ7wAAAAASUVORK5CYII=" alt="Documentation" /></a>
|
||||
<a href="https://ovi.swo.moe"><img src="https://img.shields.io/badge/Documentation-black?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAABeUlEQVRIie2VwUrDQBCGZ5ZubNmS0Ba9tF6CUqTHpg+g+AhCn8R30DfpM3jRezdHoZJroaBJQ2qgsIEdD7YSsCtJVBTxP87u/t/u7M4swDcLTQNSSseyLFbERCmlPc9LCgF83z/jnE9s294vvk+AJEmesiwbe553awQEQbCXZVnY7/ebjBXa/Ju01jCbzVIA6AwGA7WN1/KT4jg+6vV6TcYYpGlKq9UKiQgAAOr1OnU6HWNKGWPQarWa8/n8GADudwIQ0UJ89QjDEKMoOiEitRm7tm37gnNuPAUiAiJa+VjNNJmIYDgcPiAiAQD4vh9tT1NG5RJdQT8PkFKak/5ZgJTyUgjxPJ1Ob4josArAeMmWZYHrulftdhvX6/X5YrEwPtFKgG63C7ApxEajga7rVvH/BZf8D/hjACJSVRpabj1su+9OgBAiiOM41VqXNtdaw3K5TIUQQT7+rjqllKec84njOAdlAEmSPCqlxqPR6O5DQA70JZ/+t+sFAb2R22dSZ7wAAAAASUVORK5CYII=" alt="Documentation" /></a>
|
||||
<a href="https://github.com/spencerwooo/onedrive-vercel-index/discussions"><img src="https://img.shields.io/github/discussions/spencerwooo/onedrive-vercel-index?color=CF2B5B&labelColor=black&logo=github" alt="GitHub Discussions" /></a>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@ Showcase, share, preview, and download files inside *your* OneDrive with onedriv
|
||||
|
||||
## Quick start
|
||||
|
||||
🚀 Quick start: [Getting started](https://onedrive-vercel-index.spencerwoo.com/docs/getting-started).
|
||||
🚀 Quick start: [Getting started](https://ovi.swo.moe/docs/getting-started).
|
||||
|
||||
## Discussion
|
||||
|
||||
@@ -32,7 +32,7 @@ Please go to our [discussion forum](https://github.com/spencerwooo/onedrive-verc
|
||||
|
||||
*If you happen to like this project, please give it a star!* :3
|
||||
|
||||
*If you really, really like this project, please send money! -> [Sponsors 🤑 and donations 💰](https://onedrive-vercel-index.spencerwoo.com/sponsor)*
|
||||
*If you really, really like this project, please send money! -> [Sponsors 🤑 and donations 💰](https://ovi.swo.moe/sponsor)*
|
||||
|
||||
## Demo
|
||||
|
||||
@@ -90,14 +90,14 @@ Live demo at [Spencer's OneDrive](https://drive.swo.moe).
|
||||
<td>🔎 Native Search</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Password protected routes and files. <a href="https://onedrive-vercel-index.spencerwoo.com/docs/features/protected-folders">Details here</a></td>
|
||||
<td>Password protected routes and files. <a href="https://ovi.swo.moe/docs/features/protected-folders">Details here</a></td>
|
||||
<td>
|
||||
Compress and download multiple files or folders.
|
||||
<a href="https://onedrive-vercel-index.spencerwoo.com/docs/features/multi-file-folder-download">Details here</a>
|
||||
<a href="https://ovi.swo.moe/docs/features/multi-file-folder-download">Details here</a>
|
||||
</td>
|
||||
<td>
|
||||
Searching through your shared OneDrive files (with some caveats 🥺).
|
||||
<a href="https://onedrive-vercel-index.spencerwoo.com/docs/features/search-for-files-and-folders">Details here</a>
|
||||
<a href="https://ovi.swo.moe/docs/features/search-for-files-and-folders">Details here</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -111,19 +111,19 @@ Live demo at [Spencer's OneDrive](https://drive.swo.moe).
|
||||
|
||||
## Documentation
|
||||
|
||||
Documentation is hosted at [onedrive-vercel-index.spencerwoo.com](https://onedrive-vercel-index.spencerwoo.com/).
|
||||
Documentation is hosted at [onedrive-vercel-index.spencerwoo.com](https://ovi.swo.moe/).
|
||||
|
||||
- How can I get started and deploy? - [Docs - Getting started](https://onedrive-vercel-index.spencerwoo.com/docs/getting-started).
|
||||
- How can I configure ... ? - [Docs - Custom configs](https://onedrive-vercel-index.spencerwoo.com/docs/custom-configs).
|
||||
- How can I get started and deploy? - [Docs - Getting started](https://ovi.swo.moe/docs/getting-started).
|
||||
- How can I configure ... ? - [Docs - Custom configs](https://ovi.swo.moe/docs/custom-configs).
|
||||
- Where is feature ... ?
|
||||
- [Docs - Password protected folders](https://onedrive-vercel-index.spencerwoo.com/docs/features/protected-folders)
|
||||
- [Docs - Multi-file and folder download](https://onedrive-vercel-index.spencerwoo.com/docs/features/multi-file-folder-download)
|
||||
- [Docs - Hosting files (images) directly](https://onedrive-vercel-index.spencerwoo.com/docs/features/hosting-images-directly)
|
||||
- [Docs - Search for files and folders](https://onedrive-vercel-index.spencerwoo.com/docs/features/search-for-files-and-folders)
|
||||
- [Docs - Load video subtitles](https://onedrive-vercel-index.spencerwoo.com/docs/features/load-video-subtitles)
|
||||
- I deployed this before, how can I upgrade to the latest version? - [Docs - Updating to the latest version](https://onedrive-vercel-index.spencerwoo.com/docs/migration/updating-to-latest-version)
|
||||
- I was here before 2022, how can I migrate to the new version? - [Docs - Migrating from versions before 2022](https://onedrive-vercel-index.spencerwoo.com/docs/migration/if-you-deployed-before-2022).
|
||||
- I got a problem during deployment ... - [Docs - FAQ](https://onedrive-vercel-index.spencerwoo.com/docs/faqs/error-on-deployment)
|
||||
- [Docs - Password protected folders](https://ovi.swo.moe/docs/features/protected-folders)
|
||||
- [Docs - Multi-file and folder download](https://ovi.swo.moe/docs/features/multi-file-folder-download)
|
||||
- [Docs - Hosting files (images) directly](https://ovi.swo.moe/docs/features/hosting-images-directly)
|
||||
- [Docs - Search for files and folders](https://ovi.swo.moe/docs/features/search-for-files-and-folders)
|
||||
- [Docs - Load video subtitles](https://ovi.swo.moe/docs/features/load-video-subtitles)
|
||||
- I deployed this before, how can I upgrade to the latest version? - [Docs - Updating to the latest version](https://ovi.swo.moe/docs/migration/updating-to-latest-version)
|
||||
- I was here before 2022, how can I migrate to the new version? - [Docs - Migrating from versions before 2022](https://ovi.swo.moe/docs/migration/if-you-deployed-before-2022).
|
||||
- I got a problem during deployment ... - [Docs - FAQ](https://ovi.swo.moe/docs/faqs/error-on-deployment)
|
||||
- I didn't find a solution / My problem is unique - [Find help in discussion forum](https://github.com/spencerwooo/onedrive-vercel-index/discussions).
|
||||
|
||||
## Server-*less* (free)?
|
||||
@@ -134,7 +134,7 @@ Yes! Completely free with no backend server what-so-ever. (Well, we use Redis, b
|
||||
|
||||
Open-source is hard! If you happen to like this project and want me to keep going, please consider sponsoring me or providing a single donation! Thanks for all the love and support!
|
||||
|
||||
[🧸 Please donate - 微信/支付宝](https://onedrive-vercel-index.spencerwoo.com/sponsor) · [Patreon](https://www.patreon.com/spencerwoo) · [爱发电](https://afdian.net/@spencerwoo)
|
||||
[🧸 Please donate - 微信/支付宝](https://ovi.swo.moe/sponsor) · [Patreon](https://www.patreon.com/spencerwoo) · [爱发电](https://afdian.net/@spencerwoo)
|
||||
|
||||
### Sponsors
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ export default function CustomEmbedLinkMenu({
|
||||
<Dialog.Description as="p" className="py-2 opacity-80">
|
||||
{t('Change the raw file direct link to a URL ending with the extension of the file.')}{' '}
|
||||
<a
|
||||
href="https://onedrive-vercel-index.spencerwoo.com/docs/features/customise-direct-link"
|
||||
href="https://ovi.swo.moe/docs/features/customise-direct-link"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-blue-400 underline"
|
||||
@@ -84,11 +84,11 @@ export default function CustomEmbedLinkMenu({
|
||||
onChange={e => setName(e.target.value)}
|
||||
/>
|
||||
<h4 className="py-2 text-xs font-medium uppercase tracking-wider">{t('Default')}</h4>
|
||||
<div className="mb-2 overflow-hidden rounded border border-gray-400/20 bg-gray-50 p-1 font-mono dark:bg-gray-800">
|
||||
<div className="mb-2 overflow-hidden break-all rounded border border-gray-400/20 bg-gray-50 p-1 font-mono dark:bg-gray-800">
|
||||
{`${getBaseUrl()}/api/raw/?path=${getReadablePath(path)}${hashedToken ? `&odpt=${hashedToken}` : ''}`}
|
||||
</div>
|
||||
<h4 className="py-2 text-xs font-medium uppercase tracking-wider">{t('Customised')}</h4>
|
||||
<div className="mb-2 overflow-hidden rounded border border-gray-400/20 bg-gray-50 p-1 font-mono dark:bg-gray-800">
|
||||
<div className="mb-2 overflow-hidden break-all rounded border border-gray-400/20 bg-gray-50 p-1 font-mono dark:bg-gray-800">
|
||||
<span>{`${getBaseUrl()}/api/name/`}</span>
|
||||
<span className="underline decoration-blue-400 decoration-wavy">{name}</span>
|
||||
<span>{`/?path=${getReadablePath(path)}${hashedToken ? `&odpt=${hashedToken}` : ''}`}</span>
|
||||
|
||||
@@ -14,7 +14,7 @@ const FourOhFour: React.FC<{ errorMsg: string }> = ({ errorMsg }) => {
|
||||
Oops, that's a <span className="underline decoration-red-500 decoration-wavy">four-oh-four</span>.
|
||||
</Trans>
|
||||
</div>
|
||||
<div className="mb-4 rounded border border-gray-400/20 bg-gray-50 p-2 font-mono text-xs dark:bg-gray-800">
|
||||
<div className="mb-4 overflow-hidden break-all rounded border border-gray-400/20 bg-gray-50 p-2 font-mono text-xs dark:bg-gray-800">
|
||||
{errorMsg}
|
||||
</div>
|
||||
<div className="text-sm">
|
||||
|
||||
Reference in New Issue
Block a user