2023-04-29 20:24:50 +07:00
2023-04-27 15:02:13 +07:00
2023-04-26 23:06:01 +07:00
2023-04-28 00:37:34 +07:00
2023-04-29 20:24:50 +07:00
2023-04-27 15:02:13 +07:00
2023-04-21 21:07:19 +07:00
2023-04-27 15:02:13 +07:00
2023-04-21 21:07:19 +07:00
2023-04-21 21:07:19 +07:00
2023-04-28 00:37:06 +07:00
2023-04-21 21:07:19 +07:00
2023-04-29 10:00:48 +07:00
2023-04-21 21:07:19 +07:00
2023-04-21 21:07:19 +07:00
2023-04-28 00:37:06 +07:00

// LOGO OR BANNER GOES HERE

Status

Currently still in development, but main features are already working as intended. Preview and download files are not working because of Vercel's limit for serverless function. Working on a workaround for this.

You can check the demo here.

What is this?

gudora-index is an indexer for Google Drive, it's a simple project that I made to index my files in Google Drive.
It's aim to simplify the process of sharing files using Google Drive, and also implements some features that I think is useful for sharing files.

This project are HEAVILY INSPIRED by onedrive-vercel-index by SpencerWooo.

Why?

I know there already some Google Drive indexer out there, but all of them are using Cloudflare worker.
I've tried to use it, but the speed isn't that great for me.
Currently I'm using SpencerWooo's onedrive index, and it's working perfectly for me from usage perspective and speed.

But, if I compare the price between these two services, Google Drive still cheaper than Onedrive.
For 100GB plan, Google Drive is IDR 269.000 / ~$18 USD annually, and Onedrive is IDR 319.000 / ~$21 USD annually.
For free plan, Google Drive offering 15GB of storage, and Onedrive offering 5GB of storage.

I know there are a lot of people selling cheap edu account for Google Drive and Onedrive, but most of the time those account doesn't last long, especially Google Drive account. So I want to do it legit without buying cheap edu account or anything similar this time.

Features

  • Share files without any hassle
  • Preview files before downloading
  • Render readme file inside the folder
  • Protect your folder with password
  • Search for files easily
  • Direct view or download files
    • Can be used for hosting assets for your website

How to use

Prerequisites

  • Google Drive account
  • Google Drive API key
  • Vercel account

Setup

  1. Fork gudora-index/mbaharip repository
  2. Open Setup page and follow the instructions
  3. Change the site.config.js to your liking
  4. Deploy your forked repository to Vercel
  5. Open your Vercel project, and go to Settings > Environment Variables
  6. Add ENCRYPTION_KEY, JWT_KEY, and NEXT_PUBLIC_DOMAIN environment variables
  7. Redeploy your project
  8. Done!

Credits


Known Issues

  • Fetching files from Google Drive API take too much time, it triggers 504 Error on Vercel.
  • Can't download big files, because of Vercel's 10MB limit for serverless function.

TODO

  • Navigate through folders
  • File preview
    • Audio
    • Code
    • Default
    • Image
    • Markdown
    • 3D Model
    • Office files (Word, Excel, PowerPoint)
    • PDF
    • Text
    • Video
  • Search for files
  • Direct view the files
  • Download files
  • Render Readme file
  • Password protection
    • Create token hash for sharing protected files that valid for x hours
    • Implement time limit for token
  • Pretty path URL (Not possible, since Google Drive allowing multiple files with same name)
S
Description
Google Drive index built with Next.js for easier sharing files to public.
Readme AGPL-3.0
3.1 MiB
Languages
TypeScript 96.3%
CSS 3.6%