Drive tree is a desktop application that allows you to browse your Google Drive files and view the size of each directory.
The tool is composed of two main parts:
- scraper: it purpose is to get your files metadata from Google Drive.
- web: it purpose is to show the files tree in a web browser.
go run drive-tree.go scraper
go run drive-tree.go web
Binaries available here.
Run:
go run drive-tree.go scraper
Your browser will be opened with the following warning (accept the warning since the application is not approved by Google yet):
Press the confirm button on the right to grant permission to the application
Once authenticated copy the authentication code
Paste the authentication code in the terminal
The application will now be running.
Once finished, run:
go run drive-tree.go web
To view the results in the browser.
docker build -t my-drive-tree-app .
docker run -it --rm -v $(pwd):/drive-tree -p 8080:8080 --name my-running-app my-drive-tree-app
$ drive-tree scraper
$ drive-tree web
Note: note that Docker is not able to open the browser for you. Follow the instructions on the screen to open the browser.
After scraper option run:
git checkout fyne
go run drive-tree.go gui