/onedrive-vercel-index

OneDrive public directory listing, powered by Vercel and Next.js

Primary LanguageTypeScriptMIT LicenseMIT

Notice

This is forked from the now archived spencerwooo/onedrive-vercel-index, please refer to the original repo if you wanna self-host it.

Contribution is highly appreciated as I have no prior experience with NextJS. For the moment the only thing I can do is utilizing dependabot to update dependencies and expect them to work flawlessly. Be sure to check pinned issue if you are interested!

TL;DR

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

🚀 Quick start: Getting started.

Demo

Live demo at Spencer's OneDrive Vinfall's Sage Stone.

Features

👀 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 ...

Note: This project is focused on showcasing and providing a way for others to download files from your OneDrive. Emphasis on free and serverless. If you have your own server / need WebDAV / use cloud providers other than OneDrive, checkout alist.

Documentation

Documentation is hosted at ovi.swo.moe.

Server-less (free)?

Yes! Completely free with no backend server what-so-ever. (Well, we use Redis, but that's free to some extent also.)

License

MIT