Git Product home page Git Product logo

onedrive-vercel-index's Introduction

onedrive-vercel-index

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

Next.js Next.js Vercel GitHub Discussions

This is onedrive-cf-index's little brother, basically the same, but powered by Next.js and Vercel.

Features

🚧 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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.