{"id":25623893,"url":"https://github.com/eflkumo/oneportal","last_synced_at":"2025-03-17T16:13:18.716Z","repository":{"id":275077767,"uuid":"918167997","full_name":"EFLKumo/OnePortal","owner":"EFLKumo","description":"Serverless, elegant and powerful OneDrive index program, powered by Cloudflare and Next.js.","archived":false,"fork":false,"pushed_at":"2025-03-15T08:36:13.000Z","size":7772,"stargazers_count":46,"open_issues_count":1,"forks_count":22,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T09:22:20.876Z","etag":null,"topics":["cloudflare","nextjs","onedrive","serverless"],"latest_commit_sha":null,"homepage":"https://opt-demo.eflx.top","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EFLKumo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-17T11:36:42.000Z","updated_at":"2025-03-15T08:35:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"8abebc0b-f62c-4f6c-898a-8abb0279eb29","html_url":"https://github.com/EFLKumo/OnePortal","commit_stats":null,"previous_names":["eflkumo/oneportal"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFLKumo%2FOnePortal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFLKumo%2FOnePortal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFLKumo%2FOnePortal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFLKumo%2FOnePortal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EFLKumo","download_url":"https://codeload.github.com/EFLKumo/OnePortal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066189,"owners_count":20392406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","nextjs","onedrive","serverless"],"created_at":"2025-02-22T12:16:41.454Z","updated_at":"2025-03-17T16:13:18.710Z","avatar_url":"https://github.com/EFLKumo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./public/header.png\" alt=\"OnePortal\" /\u003e\n  \u003ch2\u003eOnePortal\u003c/h2\u003e\n  English | \u003ca href=\"https://github.com/EFLKumo/OnePortal/blob/main/README_cn.md\"\u003e简体中文\u003c/a\u003e\n  \u003cp\u003e\u003cem\u003eOneDrive public directory listing forked from \u003ca href=\"https://github.com/lyc8503/onedrive-cf-index-ng\"\u003eonedrive-cf-index-ng\u003c/a\u003e, powered by Cloudflare and Next.js\u003c/em\u003e\u003c/p\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/OneDrive-2C68C3?style=flat\u0026logo=microsoft-onedrive\u0026logoColor=white\" alt=\"OneDrive\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Cloudflare-f38020?style=flat\u0026logo=Cloudflare\u0026logoColor=white\" alt=\"Cloudflare\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Next.js-black?style=flat\u0026logo=next.js\u0026logoColor=white\" alt=\"Next.js\" /\u003e\n\u003c/div\u003e\n\n## TL;DR\n\nShowcase, share, preview, and download files inside *your* OneDrive with OnePortal\n\n- Serverless, completely free to host 💸\n- Superfast ⚡ and responsive 💦\n- Takes less than 15 minutes to set up ⏱️\n- Highly customisable ⚒️\n\n🍌 More importantly, we are pretty (●'◡'●)\n\n\n## What's different\nCompared with [onedrive-cf-index-ng](https://github.com/lyc8503/onedrive-cf-index-ng):\n- 🚀 Proxy downloading through Cloudflare network\n- 🔍 Improved file search with Microsoft Graph Search API\n  * The original version uses OneDrive Search API, which randomly misses files and is basically unusable.\n- 🔐 Improve security by:\n  - set custom AES secret key and client secret in environment variables\n- 😋 Better user interface\n- 🍪 Edge function caching for faster load times\n- 🛠️ More environment variables\n- 🧰 Updated dependencies\n\n*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.*\n\n\n## 🚀 Quick start\nSee [OnePortal Wiki](https://efl.notion.site/18bd8cf246098083b8b7cac7aec58917)!\n\n*If you happen to like this project, please give it a star!* :3\n\n## Demo\n\nLive demo at [here](https://opt-demo.eflx.top).\n\n![demo](./public/demo.png)\n\n## Features\n\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\n        👀 File preview\n      \u003c/td\u003e\n      \u003ctd\u003e\n        💠  List / Grid layouts\n      \u003c/td\u003e\n      \u003ctd\u003e\n        🎥 Video and audio\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ePDF, EPUB, markdown, code, plain text\u003c/td\u003e\n      \u003ctd\u003eFor previewing images and documents with thumbnails\u003c/td\u003e\n      \u003ctd\u003emp4, mp3, ..., play online or with IINA, PotPlayer ... with subtitles!\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\n        📄 Office preview\n      \u003c/td\u003e\n      \u003ctd\u003e📝 README.md preview\u003c/td\u003e\n      \u003ctd\u003e📑 Pagination\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003edocx, pptx, xlsx, ...\u003c/td\u003e\n      \u003ctd\u003eAlso renders code blocks, images with relative links, ...\u003c/td\u003e\n      \u003ctd\u003eFor folders with 200 or more items\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e🔒 Protected folders\u003c/td\u003e\n      \u003ctd\u003e⏬ Multi-file download\u003c/td\u003e\n      \u003ctd\u003e🚀 Proxy download\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ePassword protected routes and files. \u003ca href=\"https://efl.notion.site/Protected-folders-18bd8cf2460980abb398e33c593b1b73?pvs=25\"\u003eDetails here\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Compress and download multiple files or folders.\n        \u003ca href=\"https://efl.notion.site/Download-multi-file-18bd8cf2460980fda0a4c6ec7bec3c09?pvs=25\"\u003eDetails here\u003c/a\u003e\n      \u003c/td\u003e\n      \u003ctd\u003e\n        Download via Cloudflare network (with risk).\n        \u003ca href=\"https://efl.notion.site/Proxy-download-18bd8cf24609808ca7b7f625300d6b54?pvs=25\"\u003eDetails here\u003c/a\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n... and more:\n\n- Streamlined deployment, without having to get your tokens manually anymore!\n- Direct raw-file serving and hosting ...\n- Full dark mode support, style and website customisations ...\n\n\u003e **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).\n\n## Documentation\n\nDocumentation is hosted at [OnePortal Wiki](https://efl.notion.site/18bd8cf246098083b8b7cac7aec58917).\n\n\u003e I didn't find a solution / My problem is unique?\n\n**Please open an issue for help, before that make sure that you have searched for existing/solved issues.**\n\n## License\n\n[MIT](LICENSE)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./public/footer.png\"  alt=\"footer\"/\u003e\n  \u003cem\u003emade with ❤️ by \u003ca href=\"https://eflx.top\"\u003eEFL\u003c/a\u003e \u0026 \u003ca href=\"https://lyc8503.net\"\u003elyc8503\u003c/a\u003e \u0026 \u003ca href=\"https://spencerwoo.com\"\u003espencer woo\u003c/a\u003e and contributors\u003c/em\u003e\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feflkumo%2Foneportal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feflkumo%2Foneportal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feflkumo%2Foneportal/lists"}