📀 Unlimited Google Drive Storage by splitting binary files into base64
google-driveunlimited
주요 지표
스타 성장
스타
4.4k
포크
274
주간 성장
—
이슈
25
2k4k
2018년 7월2019년 11월2021년 3월2022년 7월2023년 11월2025년 3월2026년 7월
아티팩트PyPIpip install uds
README
:milky_way: UDS : Unlimited Drive Storage
Store files in Google Docs without counting against your quota.
sorry @ the guys from google internal forums who are looking at this
Development on a web-based JS version has started here.
Note: After June 1st 2021, starting June 1, 2021, Google will count Docs, Sheets, Slides, Drawings, Forms and Jamboard files against the user's storage quota.
Features
Upload files to Google Drive without using storage space
Download any stored files to your computer
Logic
Google Docs take up 0 bytes of quota in your Google Drive
Split up binary files into Google Docs, with base64 encoded text
Size of the encoded file is always larger than the original. Base64 encodes binary data to a ratio of about 4:3.
A single google doc can store about a million characters. This is around 710KB of base64 encoded data.
Some experiments with multi-threading the uploads, but there was no significant performance increase.
Setup & Authentication
Clone the Repository and setup the requirements pip3 install -r requirements.txt
Download the configuration file as 'client_secret.json' to the UDS directory
Run python3 uds.py or ./uds.py for initial set up
UDS Core
Upload
> ./uds.py --push Ubuntu.Desktop.16.04.iso
Ubuntu.Desktop.16.04.iso will required 543 Docs to store.
Created parent folder with ID 1fc6JGpX6vUWiwflL1jBxM1YpuMHFAms8
Successfully Uploaded Ubuntu.Desktop.16.04.iso: [██████████████████████████████] 100%
> ./uds.py --bunch test
test.7z.1 will require 1337 Docs to store.
Created parent folder with ID 1fc6JGpX6vUWiwflL1jBxM1YpuMHFAm12
Successfully Uploaded test.7z.1: [██████████████████████████████] 100%
test.7z.2 will require 1337 Docs to store.
Created parent folder with ID 1fc6JGpX6vUWiwflL1jBxM1YpuQQFAm12
Successfully Uploaded test.7z.2: [██████████████████████████████] 100%
test.7z.3 will require 600 Docs to store.
Created parent folder with ID 1fc6JGpX6vTOiwflL1jBxM1YpuQQFAm12
Successfully Uploaded test.7z.3: [██████████████████████████████] 100%
[Layout]
./uds.py --bunch argument[1] argument[2]
argument[1]: name_in_files, or wildcard "?" without quotes
argument[2]: directory, default is current directory of UDS