由北化学生建立的一个分享网站,基于 onedrive-vercel-index 构建。
网站主要功能参见原项目文档 中的相关部分。
修改:
-
增加 badage 统计功能
-
增加微信公众号显示功能
-
增加 robot.txt 规定哪些文件可以被搜索引擎检索
-
增加隐藏部分文件功能
-
增加自动获取上游更新的 GitHub-action
-
删除原项目的 FUNDING 文件
-
将 api.config.js 中 clientId 和 clientSecret 的获取方式增加 vervel 环境变量方式
-
gitignore 文件增加 .env 文件
myl7-upstream:
- Play video as audio for background playing on mobile devices spencerwooo/onedrive-vercel-index#471
- Docker build config spencerwooo/onedrive-vercel-index#643 spencerwooo/onedrive-vercel-index#642
- Multiple subtitle format support other than only WebVTT spencerwooo/onedrive-vercel-index#623 with more fine-tune
- Visual defense: Options added to
config/site.config.js
to visually hide some elements in the app. Notice that these elements can still be accessed by other ways. YOU SHOULD NOT RELY ON THEM TO PROTECT YOUR DATA.hideDotPasswordInLists
: Enable it to hide.password
in lists. Notice that.password
can still be opened online manually with its path like other files.
- Fix missing filename urlencoding in multidownload spencerwooo/onedrive-vercel-index#639, which resolves discussion spencerwooo/onedrive-vercel-index#621
- Fix numeric password not working spencerwooo/onedrive-vercel-index#638, which resolves spencerwooo/onedrive-vercel-index#606
- Fix music volume reset to max automatically spencerwooo/onedrive-vercel-index#630, which resolves spencerwooo/onedrive-vercel-index#573
- Fix error report for search result item requests spencerwooo/onedrive-vercel-index#647
- Fix wrong auth url param name of EPUB preview, which resolves spencerwooo/onedrive-vercel-index#659
All modification, if you concern license problem, is licensed under SPDX-License-Identifier: MIT
The following is the original README:
Get started · What's new? · Sponsoring
OneDrive public directory listing, powered by Vercel and Next.js
Showcase, share, preview, and download files inside your OneDrive with onedrive-vercel-index -
- Completely free to host 💸
- Super fast ⚡ and responsive 💦
- Takes less than 15 minutes to setup ⏱️
- Highly customisable ⚒️
🍌 More importantly, we are pretty (●'◡'●)
🚀 Quick start: Getting started.
Please go to our discussion forum for general questions and FAQs, issues are for bug reports and bug reports only. Feature requests may or may not be ignored, as I (@spencerwooo) am the only one maintaining the project, so I only prioritise features that I use.
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 💰
Live demo at Spencer's OneDrive.
👀 File preview | 💠 List / Grid layouts | 🎥 Video and audio |
PDF, EPUB, markdown, code, plain text | For previewing images and documents with thumbnails | mp4, mp3, ..., play online or with IINA, PotPlayer ... with subtitles! |
📄 Office preview | 📝 README.md preview | 📑 Pagination |
docx, pptx, xlsx, ... | Also renders code blocks, images with relative links, ... | For folders with 200 or more items |
🔒 Protected folders | ⏬ Multi-file download | 🔎 Native Search |
Password protected routes and files. Details here | Compress and download multiple files or folders. Details here | Searching through your shared OneDrive files (with some caveats 🥺). Details here |
... and more:
- Streamlined deployment, without having to get your tokens manually anymore!
- Direct raw-file serving and hosting ...
- Full dark mode support, style and website customisations ...
Documentation is hosted at onedrive-vercel-index.spencerwoo.com.
- How can I get started and deploy? - Docs - Getting started.
- How can I configure ... ? - Docs - Custom configs.
- Where is feature ... ?
- I deployed this before, how can I upgrade to the latest version? - Docs - Updating to the latest version
- I was here before 2022, how can I migrate to the new version? - Docs - Migrating from versions before 2022.
- I got a problem during deployment ... - Docs - FAQ
- I didn't find a solution / My problem is unique - Find help in discussion forum.
Yes! Completely free with no backend server what-so-ever. (Well, we use Redis, but that's free to some extent also.)
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 - 微信/支付宝 · Patreon · 爱发电
Your name will appear here if you sponsor or donate 😀