onedrive/README.md

48 lines
2.7 KiB
Markdown
Raw Normal View History

<div align="center">
<image src="./public/onedrive-vercel-index.png" alt="onedrive-vercel-index" width="160px" />
<h3><a href="http://onedrive-vercel-index.vercel.app/">onedrive-vercel-index</a></h3>
<em>Yet another-another OneDrive index, powered by Vercel and Next.js</em>
</div>
2021-06-22 11:58:37 +00:00
---
2021-06-22 11:58:37 +00:00
This is [onedrive-cf-index](https://github.com/spencerwooo/onedrive-cf-index)'s little brother, basically the same, but powered by Next.js and Vercel.
2021-06-22 11:58:37 +00:00
## Features
2021-06-22 11:58:37 +00:00
- A TOTAL REFACTOR!
2021-07-02 13:39:59 +00:00
- Much more easier to deploy and manage.
- Many more upcoming...
2021-06-22 11:58:37 +00:00
2021-07-02 13:39:59 +00:00
## Discussion
Please go to our discussion forum for general questions, **issues are for bug reports and bug reports only.**
[![GitHub Discussions](https://img.shields.io/github/discussions/spencerwooo/onedrive-vercel-index?color=0364B9&labelColor=24292F&logo=github&style=flat-square)](https://github.com/spencerwooo/onedrive-vercel-index/discussions)
## Demo
2021-06-22 11:58:37 +00:00
Available at: <http://onedrive-vercel-index.vercel.app>.
2021-06-22 11:58:37 +00:00
2021-07-02 13:39:59 +00:00
![demo](public/demo.png)
## Deployment
> Simplified version for now, will update for detailed documentations in due course.
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fspencerwooo%2Fonedrive-vercel-index&env=REFRESH_TOKEN,ACCESS_TOKEN,CLIENT_SECRET&envDescription=Required%20API%20tokens%20for%20this%20project.&project-name=onedrive-vercel-index&repo-name=onedrive-vercel-index&demo-title=onedrive-vercel-index&demo-description=Probably%20the%20best%20looking%20OneDrive%20Index%20around!%20Powered%20by%20Vercel%20and%20Next.js.&demo-url=http%3A%2F%2Fonedrive-vercel-index.vercel.app&demo-image=https%3A%2F%2Fraw.githubusercontent.com%2Fspencerwooo%2Fonedrive-vercel-index%2Fmain%2Fpublic%2Fdemo.png)
- 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`](config/api.json) and [`config/site.json`](config/site.json) according to your configs.
The authentication tokens and variables are the same as what you configured in the [`onedrive-cf-index`](https://github.com/spencerwooo/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](https://github.com/spencerwooo/onedrive-vercel-index/discussions).
---
2021-06-22 11:58:37 +00:00
**onedrive-vercel-index** ©Spencer Woo. Released under the MIT License.
2021-06-22 11:58:37 +00:00
Authored and maintained by Spencer Woo.
2021-06-22 11:58:37 +00:00
> [@Portfolio](https://spencerwoo.com/) · [@Blog](https://blog.spencerwoo.com/) · [@GitHub](https://github.com/spencerwooo)