An open API service indexing awesome lists of open source software.

https://github.com/xob0t/gp-file-hide

Disguise any file as media to upload it to Google Photos
https://github.com/xob0t/gp-file-hide

file-storage google-photos

Last synced: 8 months ago
JSON representation

Disguise any file as media to upload it to Google Photos

Awesome Lists containing this project

README

          

## Why?
Google Photos allows only media uploads.
You'd find this useful if you want to:
* Store not supported files
* Hide your media from Google, this way you can even store it encrypted

### hide_as_media.py
This script generates a media (with random color!), then appends your file's bytes to it.
The original file's filename is also saved within, so you can rename the output if you need to.
The output file structure is:
1. Media
2. Separator string
3. Filename length
4. Filename
5. Target file

## Important!
If you upload such file in "Storage saver" quality, any info that was appended to it by this script will be stripped and lost!
Same will happen if you convert it later by changing the global storage quiality.

### undo.py
Restores the file as it was before running `hide_as_media.py`.
Done by searching for the separator, and exctracting info if it was found.