Go to file
2021-12-15 17:01:31 +08:00
components Merge branch 'main' into batchdl 2021-12-14 21:52:02 +08:00
config pagination token returned from api 2021-09-05 13:49:54 +01:00
pages wider file listing on large screens 2021-12-15 17:01:31 +08:00
public update new design demo screenshot 2021-08-30 22:17:21 +01:00
styles configurable font family (google fonts) 2021-08-31 17:56:20 +01:00
utils update download function 2021-11-27 16:31:02 +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 Merge branch 'main' into batchdl 2021-12-14 21:52:02 +08:00
package.json Merge branch 'main' into batchdl 2021-12-14 21:52:02 +08:00
postcss.config.js init repo with basic templates 2021-06-22 13:17:15 +01:00
README.md update readme for temporary dev-hold 2021-11-27 09:00:07 +08:00
tailwind.config.js configurable font family (google fonts) 2021-08-31 17:56:20 +01: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

🩺 Under quarantine. PR, issue response, and development is temporarily on hold.

Features

🚧 This is currently a work in progress.

  • 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
  • Documentation for deployment and FAQs

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