Another OneDrive public directory listing on Docker / Cloudflare Workers, forked from onedrive-vercel-index.
  • TypeScript 85.6%
  • CSS 10.6%
  • JavaScript 3.5%
  • Dockerfile 0.3%
Find a file
2025-10-24 19:45:10 +08:00
config Update api.config.js 2024-11-11 17:09:53 +08:00
public fix #23: add mpv-android link 2024-08-22 13:06:20 +08:00
src Try Fix Build 2025-10-19 02:00:35 +10:30
.dockerignore add docker deploy support 2024-01-26 17:15:24 +08:00
.gitignore add docker deploy support 2024-01-26 17:15:24 +08:00
.node-version Create .node-version 2025-08-16 13:04:47 +08:00
.npmrc update react, nextjs and friends 2022-10-08 14:47:39 +08:00
Dockerfile fix #47: docker run fail 2025-05-27 22:18:59 +08:00
LICENSE create license 2021-06-30 12:01:13 +01:00
next-env.d.ts npm update, audit, and next@12, closes #188 2021-12-14 19:30:45 +08:00
next.config.js WIP: It works on my machine! remove i18n, adapt to edge runtime(axios & WebAPIs) 2023-10-10 17:32:13 +08:00
package.json chore(deps): re-generate pnpm lock 2025-09-21 22:38:54 +08:00
pnpm-lock.yaml chore(deps): re-generate pnpm lock 2025-09-21 22:38:54 +08:00
postcss.config.js init repo with basic templates 2021-06-22 13:17:15 +01:00
README.md update links 2024-06-30 11:31:17 +08:00
renovate.json ci: update renovate 2023-01-26 15:43:13 +08:00
tailwind.config.js WIP: It works on my machine! remove i18n, adapt to edge runtime(axios & WebAPIs) 2023-10-10 17:32:13 +08:00
tsconfig.json update deps including useSWR 1.0 2022-02-02 16:43:17 +08:00

onedrive-cf-index-ng

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