No description
Find a file
2021-12-20 20:55:12 +08:00
components fix an issue where entering password triggers reload 2021-12-20 20:55:12 +08:00
config load all icons with tree-shaking 2021-12-20 17:10:29 +08:00
pages load all icons with tree-shaking 2021-12-20 17:10:29 +08:00
public update new design demo screenshot 2021-08-30 22:17:21 +01:00
styles link accent color and 404 page 2021-12-18 11:00:08 +08:00
utils multiple file download with progress bar and percentage 2021-12-17 23:16:18 +08:00
.eslintrc Initial commit from Create Next App 2021-06-22 12:58:37 +01:00
.gitignore Initial commit from Create Next App 2021-06-22 12:58:37 +01: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 add support for pdf previews with pdf.js 2021-06-25 00:42:46 +01:00
package-lock.json add nprogress and custom google fonts for sans/mono 2021-12-18 12:59:40 +08:00
package.json add nprogress and custom google fonts for sans/mono 2021-12-18 12:59:40 +08:00
postcss.config.js init repo with basic templates 2021-06-22 13:17:15 +01:00
README.md remove all shadows 2021-12-17 14:35:24 +08:00
tailwind.config.js add nprogress and custom google fonts for sans/mono 2021-12-18 12:59:40 +08:00
tsconfig.json preview ms office files 2021-06-29 16:20:35 +01:00

onedrive-vercel-index

onedrive-vercel-index

Yet another-another OneDrive index, powered by Vercel and Next.js

Next.js Next.js Vercel GitHub Discussions

Features

  • File preview (PDF, EPUB, 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
  • In browser folder download and multiple file download

Discussion

Please go to our discussion forum for general questions, issues are for bug reports and bug reports only.

Demo

Available at: https://drive.spencerwoo.com.

demo

Deployment

Simplified version for now, will update for detailed documentations in due course.

Deploy with Vercel

  • 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 and config/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.

Protected routes

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