Skip to content

Aims to be an Electron implementation of jDiskReport.

Notifications You must be signed in to change notification settings

beporter/ediskreport

Repository files navigation

eDiskReport

Aims to be an Electron implementation of jDiskReport.

Requirements

Example:

$ sudo port install yarn  # Also installs Node.

Development

First run

$ git clone git@github.com:beporter/ediskreport.git
$ cd ediskreport/
$ yarn install

Active development

$ yarn start  # (Will launch the electron app locally.)

# In a separate terminal window:
$ yarn watch  # (Will watch for file saves and rebuild the app automatically.)

Once both are running, edit and save code, then Cmd+R to reload the app in the Electron window.

Code Signing

@TODO

Building a Release

@TODO

Working Notes

Build GUI as if it was a browser app.

Create a node app that has a restful or rpc api, and then build the web app that makes calls to that "server" app.

Redux for managing global data store, preact for rendering minimal changes based on that store.

Try using Tauri to take advantage of a Rust core bundled with an html/css/js frontend GUI.

$ cd ediskreport/ediskreport
$ cargo tauri dev

Need to decide how to take ls results and turn it into structured data.

@TODO

  • Get a single hardcoded path "submission" to return ls data.
  • Render the current path and a pie chart of directory contents.
    • Limit number of entries in chart to x (10-20), group remaining small files into a single wedge named "others".
  • Get test infrastructure set up.
  • Code signing.
  • Building a release-able package per-platform.
  • CI/build integration?

References

Sample Apps

License

© 2022 Brian Porter. All rights reserved.