Compare commits

..

3 Commits

3 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ To run OF-DL in a docker container, follow these steps:
Adjust `$HOME/ofdl` as desired (including in the commands below) if you want the files stored elsewhere. Adjust `$HOME/ofdl` as desired (including in the commands below) if you want the files stored elsewhere.
4. Run the following command to start the docker container: 4. Run the following command to start the docker container:
```bash ```bash
docker run --rm -it -v $HOME/ofdl/data/:/data -v $HOME/ofdl/config/:/config -p 8080:8080 git.ofdl.tools/sim0n00ps/of-dl:latest docker run --rm -it -v $HOME/ofdl/data/:/data -v $HOME/ofdl/config/:/config -p 8080:8080 ghcr.io/sim0n00ps/of-dl:latest
``` ```
If `config.json` and/or `rules.json` don't exist in the `config` directory, files with default values will be created when you run the docker container. If `config.json` and/or `rules.json` don't exist in the `config` directory, files with default values will be created when you run the docker container.
If you have your own Widevine keys, those files should be placed under `$HOME/ofdl/config/cdm/devices/chrome_1610/`. If you have your own Widevine keys, those files should be placed under `$HOME/ofdl/config/cdm/devices/chrome_1610/`.
@ -29,14 +29,14 @@ To run OF-DL in a docker container, follow these steps:
When a new version of OF-DL is released, you can download the latest docker image by executing: When a new version of OF-DL is released, you can download the latest docker image by executing:
```bash ```bash
docker pull git.ofdl.tools/sim0n00ps/of-dl:latest docker pull ghcr.io/sim0n00ps/of-dl:latest
``` ```
You can then run the new version of OF-DL by executing the `docker run` command in the [Running OF-DL](#running-of-dl) section above. You can then run the new version of OF-DL by executing the `docker run` command in the [Running OF-DL](#running-of-dl) section above.
## Building the Docker Image (Optional) ## Building the Docker Image (Optional)
Since official docker images are provided for OF-DL through Gitea (git.ofdl.tools), you do not need to build the docker image yourself. Since official docker images are provided for OF-DL through GitHub Container Registry (ghcr.io), you do not need to build the docker image yourself.
If you would like to build the docker image yourself, however, start by cloning the OF-DL repository and opening a terminal in the root directory of the repository. If you would like to build the docker image yourself, however, start by cloning the OF-DL repository and opening a terminal in the root directory of the repository.
Then, execute the following command while replacing `x.x.x` with the current version of OF-DL: Then, execute the following command while replacing `x.x.x` with the current version of OF-DL:
@ -45,4 +45,4 @@ VERSION="x.x.x" docker build --build-arg VERSION=$VERSION -t of-dl .
``` ```
You can then run a container using the image you just built by executing the `docker run` command in the You can then run a container using the image you just built by executing the `docker run` command in the
[Running OF-DL](#running-of-dl) section above while replacing `git.ofdl.tools/sim0n00ps/of-dl:latest` with `of-dl`. [Running OF-DL](#running-of-dl) section above while replacing `ghcr.io/sim0n00ps/of-dl:latest` with `of-dl`.

View File

@ -27,7 +27,7 @@ sudo apt-get install libicu-dev
- Clone the repo - Clone the repo
```bash ```bash
git clone https://git.ofdl.tools/sim0n00ps/OF-DL.git git clone https://github.com/sim0n00ps/OF-DL.git
cd 'OF-DL' cd 'OF-DL'
``` ```

View File

@ -15,7 +15,7 @@ you will need to specify the path to `ffmpeg.exe` in the config file (see the `F
## Installation ## Installation
1. Navigate to the OF-DL [releases page](https://git.ofdl.tools/sim0n00ps/OF-DL/releases), and download the latest release zip file. The zip file will be named `OFDLVx.x.x.zip` where `x.x.x` is the version number. 1. Navigate to the OF-DL [releases page](https://github.com/sim0n00ps/OF-DL/releases), and download the latest release zip file. The zip file will be named `OFDLVx.x.x.zip` where `x.x.x` is the version number.
2. Unzip the downloaded file. The destination folder can be anywhere on your computer, preferably somewhere where you want to download content to/already have content downloaded. 2. Unzip the downloaded file. The destination folder can be anywhere on your computer, preferably somewhere where you want to download content to/already have content downloaded.
3. Your folder should contain a folder named `cdm` as well as the following files: 3. Your folder should contain a folder named `cdm` as well as the following files:
- OF DL.exe - OF DL.exe