Thread:MilkMC/@comment-25330335-20170806204603/@comment-25330335-20170807230024

You can use git. The ubuntu package is called "git", so you can install it. Then do git clone  That should clone the repository and check out the latest commit (which is what you want). Then you can go ahead and follow the usage guide on the README for how to run the command.

To decompress the mod.jar, I think there is a program called jd-cli someplace.

As for scripting, I would expect a script to do what I said would look like this: repoPath="/path/to/the/git/repo" cd $repoPath ./drinkOverlay /path/to/lotr/assets $repoPath cd Out/ tar -czvf ../drinks.tar.gz. mv ../drinks.tar.gz /path/to/web/accessable/folder
 * 1) !/bin/bash
 * 2) ^^This is important. It tells the shell what
 * 3)   to execute the script with. You don't have to
 * 4)   put an extension on the filename.
 * 1) ^This is a variable^

I highly recommend lighttpd for a web server. Seriously the fastest and easiest experience getting a webserver up and running ever. There are a bunch of guides online too, because it does get a market share. You can tell it where to look for index.html, although you don't even need to have one. Just use the script above and then you should be able to download the file by putting this in your browser: http://yourdomain/drinks.tar.gz