Skip to content

mahbubmaruf178/one-index

Repository files navigation

OneIndex

Image This project allows you to create an index for your OneDrive,Gdrive,Pcloud.. etc files using Cloudflare Workers. With this index, you can download files using Cloudflare's reverse proxy, open files with an Android app, and enjoy resume download support.

Installation

How to deploy a site with GitHub

  • Fork this repository to your GitHub account.
  • Edit oneindexconf.ts file.

{ name: "onedrive",// any name you want path: "onedrive", //must be unique type: "onedrive", // onedrive, gdrive, pcloud, etc config: { redirect_url: "your redirect url here", ClientID: "your_client_id_here", ClientSecret: "your_client_secret_here", RefreshToken: "your_refresh_token_here", }, },

  • Set up a new project on Cloudflare Pages.
  • Log in to the Cloudflare dashboard and select your account in Account Home > Pages.
  • Select Create a new Project and the Connect Git option.
  • Select the git project you want to deploy and click Begin setup
  • Use the following build settings:
  • Framework preset: Astro
  • Build command: npm run build
  • Build output directory: dist
  • Click the Save and Deploy button.

Features

  • Download files with Cloudflare reverse proxy.
  • Open files with Android app and in windows PotPlayer.(for video files)
  • Resume download supported.
  • multi drive supported.

Upcoming Features

We have some exciting features in the pipeline:

  1. Search for files.
  2. Admin authentication for added security and control.

Screenshots

Image Image

Contributing

Contributions are welcome! Feel free to open issues and pull requests to help improve this project.

License

This project is licensed under the MIT License.


Disclaimer: This project is not affiliated with Microsoft or OneDrive. Please use it responsibly and in compliance with the terms of service of the services you are using.