Skip to content

osteele/banyan

Repository files navigation

Banyan

Visualize Dropbox file and directory sizes.

Live version: https://banyan.osteele.com/

Develop

Install

  1. Install yarn.

  2. Install npm and elm packages:

    $ yarn install

Create a Dropbox API Key

  1. Sign into Dropbox.

  2. Create a new app. Select “Dropbox API”, and give it “Full Dropbox” access.

    ![](./docs/dropbox-create-app.png)
    
  3. Add http://localhost:4000/ to the list of Redirect URIs.

  4. Set the DROPBOX_APP_KEY environment variable to the app's API key (highlighted below). If you use direnv, you can copy .envrc.template to .envrc and edit the key into that file.

Run

$ yarn start

Test

$ yarn test        # run the tests once
$ yarn test:watch  # test in watch mode

Lint

$ yarn lint

Acknowledgements

Build with Elm, elm-dropbox, Highcharts, Semantic UI, and Poi.

The Banyan tree image used in this app's Dropbox OAuth page was donated to the Wikimedia Foundation by Pearson Scott Foresman. It is in the public domain.

Highcharts is used under the Creative Commons (CC) Attribution-NonCommercial licence for personal use and demonstrations.

License

MIT