/onedrive

Another OneDrive public directory listing on Docker / Cloudflare Workers, forked from onedrive-vercel-index.

Primary LanguageTypeScriptMIT LicenseMIT

onedrive-cf-index-ng

OneDrive public directory listing forked from onedrive-vercel-index, powered by Cloudflare and Next.js

OneDrive Cloudflare Next.js Documentation

What's different

  • Now it can be deployed on Cloudflare Pages for free!
  • Also support Docker Deployment now!
  • No more dependency on Upstash / 3rd-party service
  • Maybe some future maintenance or improvements from me (@lyc8503)

Special thanks to the original author of this project @spencerwooo and all contributors

TL;DR

Showcase, share, preview, and download files inside your OneDrive with onedrive-cf-index-ng -

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

If you happen to like this project, please give it a star! :3

Demo

Live demo at lyc8503's Fileshare.

demo

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 GitHub Wiki.

Server-less (free)?

Yes! Completely free with no backend server what-so-ever.

License

MIT

Some TODOs

  • Documentation migration
  • Local/Docker deployment support
  • Some TODOs left in the code
  • More tests
made with ❤️ by lyc8503 & spencer woo