Skip to content

OneDrive public directory listing, powered by Vercel and Next.js. Based on SpencerWoo's OneDrive-Vercel-Index

License

Notifications You must be signed in to change notification settings

DarkReaperBoy/Chiheisen-Vercel-Index

 
 

Repository files navigation

Chiheisen-Vercel-Index

Get started · What's new? · Sponsoring

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

OneDrive Next.js Vercel Documentation Chiheisen Union

TL;DR

Showcase, share, preview, and download files inside your OneDrive with Chiheisen-Vercel-Index -

  • Completely free to host 💸
  • Super fast ⚡ and responsive 💦
  • Takes less than 15 minutes to setup ⏱️
  • Highly customisable ⚒️

🍌 More importantly, we are pretty (●'◡'●)

Getting Started!

  • Fork the repo Chiheisen-Vercel-Index.
  • Change userPrincipleName in site.config.js to your Microsoft account email address.
  • Change baseDirectory in site.config.js to a folder under your OneDrive root directory.
  • Optional - Check if you need to change api.config.js.
  • Import to Vercel and add an Upstash integration, which imports REDIS_URL env var to Vercel.
  • Trigger a redeploy, and profit. 🎉
  • The deployed Chiheisen-Vercel-Index will guide you through an authorisation process, and store the required tokens in the Redis database. That's all there is to do!
  • For more information follow Click Here

Discussion

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 (@hellfiredevil) 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 💰

Demo

Live demo at Chiheisen Lovers.

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

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 - 地獄の火の悪魔

License

MIT

Made with ❤️ by Chiheisen Based On OneDrive-Vercel-Index

Credits

About

OneDrive public directory listing, powered by Vercel and Next.js. Based on SpencerWoo's OneDrive-Vercel-Index

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.0%
  • CSS 10.1%
  • JavaScript 3.9%