This is onedrive-cf-index's little brother, basically the same, but powered by Next.js and Vercel.
🚧 This is currently a work in progress.
- File preview (PDF, markdown, code, plain text, ...)
- Image preview in gallery mode
- Video and audio preview (mp4, mp3, ...)
- Office documents preview (docx, pptx, xlsx, ...)
-
README.md
preview rendering - File permalink copy and direct file download
- Dark mode
- Protected routes (password protection and authentication) through
.password
files - Pagination for folders with more than 200 items
Please go to our discussion forum for general questions, issues are for bug reports and bug reports only.
Available at: https://drive.spencerwoo.com.
Simplified version for now, will update for detailed documentations in due course.
- Use the button above to deploy the project to Vercel. Vercel will automatically fork and clone the project to your GitHub account.
- Define environment variables inside Vercel:
REFRESH_TOKEN
,ACCESS_TOKEN
,CLIENT_SECRET
. - Finally, change configuration file
config/api.json
andconfig/site.json
according to your configs.
The authentication tokens and variables are the same as what you configured in the onedrive-cf-index
project. Detailed documentations can also be found there (for now). This project is at its early stages, for discussions please, please, please post to the discussion forum.
See: Announcements - Password protected routes is now supported #66.
onedrive-vercel-index ©Spencer Woo. Released under the MIT License.
Authored and maintained by Spencer Woo.
@Portfolio · @Blog · @GitHub