Open ashaychangwani opened 1 year ago
I haven't opened a PR yet
Easier to discuss code under PR. They cost nothing, just fire away.
Could you tell me how I can compile the same code into a way that I can use it with my media-stack
In the project dir do docker build . -t custom-joal
, then use that as you image in docker(-compose).
Noted, I've opened the PR!
How can I unminify the JS scripts so I can add an option to configure the ratio on the config screen?
The UI project is hosted at : https://github.com/anthonyraymond/joal-ui
Hello @ashaychangwani thanks for contributing to the project š. You'll find some advice below to help you sort that out. Before you dive in, note that the current version is going to be replaced with a fully rewritten one (won't happen in 2023 IMO, maybe in 2024). I'm trying to rethink the whole project from the ground up and i'm also switching to golang. It's far from being done, i'm doing that on my spare time and i don't have much these days š .
Anyway, here is what you need:
yarn build
or npm run build
will build those files. New files will have a different name. Delete existing and replace with the new ones).
Please follow the following while implementing :
Side note: if you want to try your code without having to build every time:
yarn start
or npm run start
, (if i remember well it support hot reloading)server.port
value in server config file src/main/java/resources/application.properties
during your tests
Hi!
Joal is absolutely perfect for my use case, except that it has got me close to getting banned a couple of times, when I forget to take the torrent off and it keeps uploading. Even setting a speed of 1mbps over a span of 3 days can rack up over 200gb of upload, which is suspicious to say the least.
For that, I've added a ratio limit of 1.0. I'm aware that this has already been addressed in the past in #38, but since I needed a temporary fix, I decided to write something myself here: https://github.com/ashaychangwani/joal-ratio/tree/addRatioLimit
I haven't opened a PR yet, because I'm not sure the code is up to your standards, however I just want to use this as a starting point and iterate to make it more functional and cleaner, as well as improving the test coverage.
Could you tell me how I can compile the same code into a way that I can use it with my media-stack?
I'm currently using the following docker-compose script to run Joal: