This CLI allows you to easy generate an index file for use with Tinfoil.
This project is based on TinGen by eXhumer & tinfoil_gdrive_generator by BigBrainAFK
- Rust allows to bundle the complete application, no dependency installation required!
- I wanted to get back to rust again and this was a good project to take on!
- credentials.json (you can modify location & name with
--credentialsflag) It can be obtained from here by clicking the Enable Drive API button in there while being signed in with the user account you want to generate credentials for or from Google's Developer Console. - Google Drive Folder IDs to scan and index
- Generate index (full spec support)
- Change index name
- Change output location
- Zlib
- Zstd
- Allow to use Tinfoil encryption (DRM Spec)
- Upload index to own gdrive
- Upload index to team drive
- Share files inside index
- Share folders
- Share uploaded index
- Retry gdrive exceptions