├── .github └── workflows │ └── docker-image.yml ├── Dockerfile ├── README.md ├── Ubooquity .jar ├── Ubooquity.jar └── startup.sh /.github/workflows/docker-image.yml: -------------------------------------------------------------------------------- 1 | name: ubooquity_auto_build 2 | 3 | on: 4 | push: 5 | branches: [ main ] 6 | pull_request: 7 | branches: [ main ] 8 | 9 | env: 10 | APP_NAME: ubooquity 11 | DOCKERHUB_REPO: dezhao/ubooquity 12 | 13 | jobs: 14 | main: 15 | # 在 Ubuntu 上运行 16 | runs-on: ubuntu-latest 17 | steps: 18 | # git checkout 代码 19 | - name: Checkout 20 | uses: actions/checkout@v2 21 | # 设置 QEMU, 后面 docker buildx 依赖此. 22 | - name: Set up QEMU 23 | uses: docker/setup-qemu-action@v1 24 | # 设置 Docker buildx, 方便构建 Multi platform 镜像 25 | - name: Set up Docker Buildx 26 | uses: docker/setup-buildx-action@v1 27 | # 登录 docker hub 28 | - name: Login to DockerHub 29 | uses: docker/login-action@v1 30 | with: 31 | # GitHub Repo => Settings => Secrets 增加 docker hub 登录密钥信息 32 | # DOCKERHUB_USERNAME 是 docker hub 账号名. 33 | # DOCKERHUB_TOKEN: docker hub => Account Setting => Security 创建. 34 | username: ${{ secrets.DOCKER_USERNAME }} 35 | password: ${{ secrets.DOCKER_PASSWORD }} 36 | # 通过 git 命令获取当前 tag 信息, 存入环境变量 APP_VERSION 37 | - name: Generate App Version 38 | run: echo APP_VERSION=`git describe --tags --always` >> $GITHUB_ENV 39 | # 构建 Docker 并推送到 Docker hub 40 | - name: Build and push 41 | id: docker_build 42 | uses: docker/build-push-action@v2 43 | with: 44 | # 是否 docker push 45 | push: true 46 | # 生成多平台镜像, see https://github.com/docker-library/bashbrew/blob/v0.1.1/architecture/oci-platform.go 47 | platforms: | 48 | linux/amd64 49 | linux/arm/v6 50 | linux/arm/v7 51 | linux/arm64/v8 52 | # docker build arg, 注入 APP_NAME/APP_VERSION 53 | build-args: | 54 | APP_NAME=${{ env.APP_NAME }} 55 | APP_VERSION=${{ env.APP_VERSION }} 56 | # 生成两个 docker tag: ${APP_VERSION} 和 latest 57 | tags: | 58 | ${{ env.DOCKERHUB_REPO }}:latest 59 | ${{ env.DOCKERHUB_REPO }}:2.1.2 60 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:latest 2 | RUN \ 3 | apk add --no-cache \ 4 | openjdk8-jre-base && \ 5 | mkdir -p \ 6 | /books \ 7 | /comics \ 8 | /config \ 9 | /files \ 10 | /app/ubooquity && \ 11 | echo "**** cleanup ****" && \ 12 | rm -rf \ 13 | /tmp/* 14 | COPY Ubooquity.jar /app/ubooquity 15 | COPY startup.sh / 16 | RUN chmod +x /startup.sh 17 | EXPOSE 2202 2203 18 | VOLUME /books /comics /config /files 19 | ENTRYPOINT ["/startup.sh"] -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ubooquity_cn 2 | 3 | ## 简介 4 | 5 | 这是漫画小说服务器ubooquity的汉化版本,你可以将该软件部署在你的nas上面,用以管理你的漫画和小说,支持cbz zip cbr rar epub mobi等常见格式,原版软件为英文版,由本人汉化并打包制作docker版本,并且编写了dockerfile,主要是解决在各种nas上面的权限问题,docker版支持armv6\armv7\arm64\x86平台,并且汉化有手机客户端,手机客户端可在软件的关于选项卡下载,原作者已停止更新。 6 | 7 | [](https://hub.docker.com/r/dezhao/ubooquity/) 8 | 9 | [⏬ 下载源码](https://github.com/uparrows/ubooquity_cn/releases/latest) |[📄 教程](http://yuanfangblog.xyz/technology/236.html) | 10 | [📄 视频教程](https://www.bilibili.com/video/BV1S5411w7Rr) | 11 | 12 | ## 截图 13 | ![1](https://user-images.githubusercontent.com/38988286/119952549-b7ef9780-bfcf-11eb-8053-468f36fd4f84.png) 14 | ![2](https://user-images.githubusercontent.com/38988286/119952573-bde57880-bfcf-11eb-8eee-53767f2de435.png) 15 | ![3](https://user-images.githubusercontent.com/38988286/119952591-c2aa2c80-bfcf-11eb-9d65-72a9b1843286.png) 16 | ![4](https://user-images.githubusercontent.com/38988286/119952608-c76ee080-bfcf-11eb-9ada-951d72da453e.png) 17 | ![5](https://user-images.githubusercontent.com/38988286/119952630-ce95ee80-bfcf-11eb-82fc-ce3592b447b5.png) 18 | ![6](https://user-images.githubusercontent.com/38988286/119952650-d48bcf80-bfcf-11eb-864a-b10352d0b087.png) 19 | ![7](https://user-images.githubusercontent.com/38988286/132382614-8b3c1b01-c008-49c7-8fbd-2e521311181a.JPG) 20 | ![8](https://user-images.githubusercontent.com/38988286/132382620-0717c025-5c70-4f37-b6da-08d26811743d.JPG) 21 | ![9](https://user-images.githubusercontent.com/38988286/132382627-51d53ba2-d337-4de4-bd8e-dcb5dbb45c4a.JPG) 22 | 23 | 24 | ## 访问我的博客获取更多信息 25 | 26 | [博客链接](http://yuanfangblog.xyz) | 27 | -------------------------------------------------------------------------------- /Ubooquity .jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uparrows/ubooquity_cn/196b49c43c24a9545ba1b470f024bf80bb47df43/Ubooquity .jar -------------------------------------------------------------------------------- /Ubooquity.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uparrows/ubooquity_cn/196b49c43c24a9545ba1b470f024bf80bb47df43/Ubooquity.jar -------------------------------------------------------------------------------- /startup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec java -jar /app/ubooquity/Ubooquity.jar \ 3 | --headless --host 0.0.0.0 --remoteadmin \ 4 | --workdir /config --------------------------------------------------------------------------------