https://github.com/eflkumo/oneportal
Serverless, elegant and powerful OneDrive index program, powered by Cloudflare and Next.js.
https://github.com/eflkumo/oneportal
cloudflare nextjs onedrive serverless
Last synced: about 2 months ago
JSON representation
Serverless, elegant and powerful OneDrive index program, powered by Cloudflare and Next.js.
- Host: GitHub
- URL: https://github.com/eflkumo/oneportal
- Owner: EFLKumo
- License: mit
- Created: 2025-01-17T11:36:42.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-15T08:36:13.000Z (about 2 months ago)
- Last Synced: 2025-03-15T09:22:20.876Z (about 2 months ago)
- Topics: cloudflare, nextjs, onedrive, serverless
- Language: TypeScript
- Homepage: https://opt-demo.eflx.top
- Size: 7.41 MB
- Stars: 46
- Watchers: 1
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
OnePortal
English | įŽäŊ䏿
OneDrive public directory listing forked from onedrive-cf-index-ng, powered by Cloudflare and Next.js
![]()
![]()
![]()
## TL;DR
Showcase, share, preview, and download files inside *your* OneDrive with OnePortal
- Serverless, completely free to host đ¸
- Superfast ⥠and responsive đĻ
- Takes less than 15 minutes to set up âąī¸
- Highly customisable âī¸đ More importantly, we are pretty (â'âĄ'â)
## What's different
Compared with [onedrive-cf-index-ng](https://github.com/lyc8503/onedrive-cf-index-ng):
- đ Proxy downloading through Cloudflare network
- đ Improved file search with Microsoft Graph Search API
* The original version uses OneDrive Search API, which randomly misses files and is basically unusable.
- đ Improve security by:
- set custom AES secret key and client secret in environment variables
- đ Better user interface
- đĒ Edge function caching for faster load times
- đ ī¸ More environment variables
- đ§° Updated dependencies*Special thanks to the original author of od-cf-index-ng [@lyc8503](https://github.com/lyc8503) and author of onedrive-vercel-index [@spencerwooo](https://github.com/spencerwooo) and all contributors.*
## đ Quick start
See [OnePortal Wiki](https://efl.notion.site/18bd8cf246098083b8b7cac7aec58917)!*If you happen to like this project, please give it a star!* :3
## Demo
Live demo at [here](https://opt-demo.eflx.top).

## Features
đ File preview
đ List / Grid layouts
đĨ Video and audio
PDF, EPUB, markdown, code, plain text
For previewing images and documents with thumbnails
mp4, mp3, ..., play online or with IINA, PotPlayer ... with subtitles!
đ Office preview
đ README.md preview
đ Pagination
docx, pptx, xlsx, ...
Also renders code blocks, images with relative links, ...
For folders with 200 or more items
đ Protected folders
âŦ Multi-file download
đ Proxy download
Password protected routes and files. Details here
Compress and download multiple files or folders.
Details here
Download via Cloudflare network (with risk).
Details here
... and more:
- Streamlined deployment, without having to get your tokens manually anymore!
- Direct raw-file serving and hosting ...
- Full dark mode support, style and website customisations ...> **Note**: This project is focused on showcasing and providing a way for others to download files from your OneDrive. Emphasis on **free** and **serverless**. If you have your own server / need WebDAV / use cloud providers other than OneDrive, checkout [alist](https://github.com/alist-org/alist).
## Documentation
Documentation is hosted at [OnePortal Wiki](https://efl.notion.site/18bd8cf246098083b8b7cac7aec58917).
> I didn't find a solution / My problem is unique?
**Please open an issue for help, before that make sure that you have searched for existing/solved issues.**
## License
[MIT](LICENSE)