Skip to content

Comnir/regah

Repository files navigation

x

Regah - usable, but not there yet - see Basics To-Do list

Regah - Not in a usable state yet

(Will be, one day,) A file sharing service / application.

The plan

 ____________
|            |======= Managment API (add/remove/list shared files)
|   Sharing  |
|    server  |                                                
|____________|======= Serving API (list/fetch shared files)
                       |      /|\                
                       |       |
                      \|/      |
                     _____________
                     |           |
                     |  Sharing  |
                     |   Client  |
                     |___________|
 

Running

  1. The Sharing server and client can be started with the run task:
    gradlew run
  2. An Electron based GUI can be started with:
    gradlew startGui
  3. To allow debugging of Electron main process, start with:
    gradlew startGuiDebug
    And connect with Chrome remte debugging from 'chrome://inspect' page.

Git hooks (Linux/Mac)

A git pre-commit hook is installed when executing 'build' with Gradle.

It can also be 'installed' by executing 'copyPreCommitHook' Gradle task or by running ln -s ../../hooks/pre-commit pre-commit

from .git/hooks folder.

To-Do / Wish list

Basics

  1. Write logs to file
    1. Java side
    2. Electron side
    3. Store all log files in a single folder
  2. Use configuration files: ports, data folder, etc.
  3. Persist data: shared files, progress, etc.

Feature-wise

  1. Improve download preparation: don't re-create download data for files which were previously download
  2. Support downloading from multiple sources which have the same files

About

A file sharing service / application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published