diff --git a/README.md b/README.md index a3557d8..442f044 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,25 @@ PrivTracker allows to share torrent files just with your friends, nobody else. Unlike public trackers, it shares peers only within a group which is using the same Announce URL. It really works like a private tracker, but can be generated with one click of a button. + +--- +### Build +```bash +# Clone this repository. +$ git clone https://github.com/meehow/privtracker.git + +# cd into the directory +$ cd privtracker + +# Run go build +$ go build +``` +### Usage +```bash +# Runs on port 1337 and redirects to privtracker.com by default. +$ ./privtracker +``` +```bash +# Export PORT and DOMAIN variables to use custom values. +$ export PORT=12345 DOMAIN=customprivtracker.com; ./privtracker +``` \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 147438f..b29fdec 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,22 +7,26 @@
https://privtracker.com/{{room}}/announce
https://{{hostname}}/{{room}}/announce
https://privtracker.com/{{room}}/announce
https://{{hostname}}/{{room}}/announce