added docker image. Updated readme

This commit is contained in:
Eddy Hintze 2024-08-04 16:49:41 -04:00
parent 33d78c163e
commit 69393443ff
5 changed files with 13 additions and 3 deletions

View File

@ -38,7 +38,6 @@ build_image:
- docker:dind - docker:dind
only: only:
- main - main
- update
script: script:
- export VERSION=$(grep -m 1 version pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3) - export VERSION=$(grep -m 1 version pyproject.toml | tr -s ' ' | tr -d '"' | tr -d "'" | cut -d' ' -f3)
- export LATEST_IMAGE_TAG=ghcr.io/${GH_REGISTRY_USER}/humblebundle-downloader:latest - export LATEST_IMAGE_TAG=ghcr.io/${GH_REGISTRY_USER}/humblebundle-downloader:latest

View File

@ -4,6 +4,7 @@
## 0.4.2 ## 0.4.2
- Added public docker image - Added public docker image
- New version just to make sure the updated ci/cd pipeline is working, no code changes in this release
## 0.4.1 ## 0.4.1

View File

@ -6,6 +6,6 @@ WORKDIR /app
COPY . . COPY . .
RUN poetry config virtualenvs.create false && poetry install --no-dev RUN poetry config virtualenvs.create false && poetry install --only main
ENTRYPOINT ["hbd"] ENTRYPOINT ["hbd"]

View File

@ -22,9 +22,18 @@ After that it will only download the content that has been updated or is missing
## Install ## Install
### Using PIP
`pip install humblebundle-downloader` `pip install humblebundle-downloader`
### Using docker
Remember to mount your download directory in the container using dockers `-v` argument.
`docker run ghcr.io/xtream1101/humblebundle-downloader -h`
## Instructions ## Instructions
@ -48,6 +57,7 @@ This can be done by getting a browser extension that lets you see or export your
Use the following command to download your Humble Bundle Library: Use the following command to download your Humble Bundle Library:
`hbd --cookie-file cookies.txt --library-path "Downloaded Library" --progress` `hbd --cookie-file cookies.txt --library-path "Downloaded Library" --progress`
_If using the docker image, exclude the `hbd` part of the command_
This directory structure will be used: This directory structure will be used:
`Downloaded Library/Purchase Name/Item Name/downloaded_file.ext` `Downloaded Library/Purchase Name/Item Name/downloaded_file.ext`

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "humblebundle-downloader" name = "humblebundle-downloader"
version = "0.4.1" version = "0.4.2"
description = "Download your Humble Bundle library" description = "Download your Humble Bundle library"
authors = ["Eddy Hintze <eddy@gitx.codes>"] authors = ["Eddy Hintze <eddy@gitx.codes>"]
license = "MIT" license = "MIT"