4

There are tons of disk usage analyzer tools: Baobab, WinDirStat, JDiskReport, and many others.
They typically look like this: Baobab

Now, I am looking for a web-based disk usage analyzer. For any remote protocol, for instance FTP, WebDAV, JCR or CMIS. For instance, it would show how space is being used on a remote FTP server (so it is not really "disk" in the hardware sense, more "repository").

My goal is to take the source code and adapt it to my own remote protocol (which is similar to WebDAV in concept, just using a different API syntax).

Requirements:

  • Web-based
  • Open source
  • Shows a nice diagram showing where disk space is used (any shape is OK)
  • Shows "Calculating..." or something similar while processing, as data is expected to be huge
  • Either 100% browser-side (using HTTP requests to query folder from the server) or browser+gateway, the gateway making requests to the actual remote server
  • Preferably written in a modern language like Rails/Play/Node.js/Java. So not DUC which is written in C (and does not look/feel great)
2
  • 1
    Duc author here. Curious why you have bias against C? Duc is written in C for a number of good reasons: portability (runs on *nix, win32, macos, android, etc), performance (will not get any faster then this), lightweight, few dependencies, can be deployed on embedded systems. I agree about the bare bone looks, I'm not a designer. Feel free to style the CSS to your needs, of course.
    – user21767
    Feb 24, 2016 at 14:30
  • @Zevv: Thanks making for this tool, while it is great for most people, my very particular case is that I want to fork the tool and adapt it to another protocol. So for very personal reasons it needs to be in a language that I have fun coding with, and that's why I expressed my requirement as "modern language". Sorry about the critic, I was mostly talking about the image where the blocks do not highlight when the mouse hovers them.
    – Nicolas Raoul
    Feb 25, 2016 at 3:19

1 Answer 1

2

I was currently looking for something similar and found diskover. Not sure if it checks all your recs (is docker container fits your gateway description?), but at least it's the best-looking thing I could find. But I wanted something simple, like treesize with a web ui, and this one has a lot going on, not sure if it'll be easy to adapt.

official page https://shirosaidev.github.io/diskover/

linuxserver.io image https://docs.linuxserver.io/images/docker-diskover

preview article (mentions important prerequisites) https://blog.linuxserver.io/2019/06/28/getting-started-with-diskover-in-docker/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.