Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time


Get started ยท What's new? ยท Sponsoring

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

OneDrive Next.js Vercel Documentation GitHub Discussions


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.


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 ๐Ÿ“ 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 is hosted at

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

Sponsors and donations

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 ยท ็ˆฑๅ‘็”ต



made with โค๏ธ by spencer woo