Skip to content
 
 

Repository files navigation

Chiheisen-Vercel-Index

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!

  1. Fork the repo Chiheisen-Vercel-Index
  2. Change userPrincipleName in site.config.js to your Microsoft account email address
  3. Change baseDirectory in site.config.js to a folder under your OneDrive root directory
  4. Optional - Check if you need to change api.config.js
  5. Import to Vercel and add a PostgreSQL database (Vercel Postgres or any PostgreSQL provider), which provides DATABASE_URL env var
  6. Trigger a redeploy, and profit! 🎉
  7. The deployed Chiheisen-Vercel-Index will guide you through an authorisation process, and store the required tokens in the PostgreSQL database

📚 For more detailed information, follow our Deployment Guide


💬 Discussion

Please go to our discussion forum for general questions and FAQs. Issues are for 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!

If you really, really like this project, please send money! -> Sponsors 🤑 and donations 💰


🎮 Demo

Live demo at Chiheisen Lovers.

demo


✨ Features

Feature Description
👀 File Preview PDF, EPUB, markdown, code, plain text
💠 List/Grid Layouts For previewing images and documents with thumbnails
🎥 Media Playback mp4, mp3, with subtitles support
📄 Office Preview docx, pptx, xlsx support
📝 README Preview Renders code blocks, images with relative links
📑 Pagination For folders with 200+ items
🔒 Protected Folders Password protected routes and files
Multi-file Download Compress and download multiple files/folders
🔎 Native Search Search through shared OneDrive files

Additional Features

  • 🚀 Streamlined deployment, without manual token management
  • 📤 Direct raw-file serving and hosting
  • 🌙 Full dark mode support
  • 🎨 Extensive style and website customizations

Note: This project focuses on showcasing and providing a way for others to download files from your OneDrive. Emphasis on free and serverless. If you need WebDAV or use other cloud providers, check out alist.

💰 Sponsors and Donations

Open-source is hard! If you enjoy this project and want to support its development, please consider sponsoring or donating!

🧸 Support the Project - 地獄の火の悪魔


📄 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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages