Skip to content

About

Golang script to evaluate the size of each directory in your Google Drive account

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

Drive Tree

Drive tree is a desktop application that allows you to browse your Google Drive files and view the size of each directory.

Demo

Features

  • One command: sign in, scan and browse, all from your browser.
  • Sign-in is automatic: approve access on the Google page and you're redirected back to the app, no codes to copy.
  • No files are written to disk: your token and file data live in memory only and are gone when you close the app.
  • Browse folders sorted by size, with the share of each item in its folder, a name filter and sortable columns.
  • Statistics: space by file type and your largest files.
  • Shows your Google storage quota, and lets you rescan or sign out at any time.

How to use

go run drive-tree.go

Binaries available here.

Your browser opens on the Google sign-in page. Google may warn you that the app isn't verified yet: choose Advanced, then continue.

Demo

Press the confirm button to grant read-only access to your files metadata.

Demo

You're sent back to the app, which scans your Drive and shows the results when done.

Flags:

  • -no-browser: don't open the browser, just print the link.
  • -addr: address to listen on (default 127.0.0.1:8080). The port must stay 8080, it's the one registered for the Google sign-in redirect.

Docker

docker build -t my-drive-tree-app .
docker run -it --rm -p 8080:8080 --name my-running-app my-drive-tree-app

Docker can't open the browser for you: open the link printed on the screen.

About

Golang script to evaluate the size of each directory in your Google Drive account

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages